@promptbook/remote-client
Advanced tools
Comparing version 0.50.0-9 to 0.50.0-10
@@ -23,4 +23,6 @@ import type { LlmExecutionTools } from './LlmExecutionTools'; | ||
* Tools for interacting with the user | ||
* | ||
* Note: When undefined, the user interface is disabled and promptbook which requires user interaction will fail | ||
*/ | ||
userInterface: UserInterfaceTools; | ||
userInterface?: UserInterfaceTools; | ||
}; | ||
@@ -27,0 +29,0 @@ /** |
@@ -14,3 +14,3 @@ import type { Promisable } from 'type-fest'; | ||
export type PromptbookExecutor = { | ||
(inputParameters: Record<string_name, string>, onProgress: (taskProgress: TaskProgress) => Promisable<void>): Promise<{ | ||
(inputParameters: Record<string_name, string>, onProgress?: (taskProgress: TaskProgress) => Promisable<void>): Promise<{ | ||
/** | ||
@@ -17,0 +17,0 @@ * Whether the execution was successful |
{ | ||
"name": "@promptbook/remote-client", | ||
"version": "0.50.0-9", | ||
"version": "0.50.0-10", | ||
"description": "Library to supercharge your use of large language models", | ||
@@ -50,3 +50,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.50.0-9" | ||
"@promptbook/core": "0.50.0-10" | ||
}, | ||
@@ -53,0 +53,0 @@ "main": "./umd/index.umd.js", |
@@ -23,4 +23,6 @@ import type { LlmExecutionTools } from './LlmExecutionTools'; | ||
* Tools for interacting with the user | ||
* | ||
* Note: When undefined, the user interface is disabled and promptbook which requires user interaction will fail | ||
*/ | ||
userInterface: UserInterfaceTools; | ||
userInterface?: UserInterfaceTools; | ||
}; | ||
@@ -27,0 +29,0 @@ /** |
@@ -14,3 +14,3 @@ import type { Promisable } from 'type-fest'; | ||
export type PromptbookExecutor = { | ||
(inputParameters: Record<string_name, string>, onProgress: (taskProgress: TaskProgress) => Promisable<void>): Promise<{ | ||
(inputParameters: Record<string_name, string>, onProgress?: (taskProgress: TaskProgress) => Promisable<void>): Promise<{ | ||
/** | ||
@@ -17,0 +17,0 @@ * Whether the execution was successful |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
415272
6876