@promptbook/browser 0.112.0-119 → 0.112.0-121

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/esm/index.es.js CHANGED
@@ -28,7 +28,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
28
28
  * @generated
29
29
  * @see https://github.com/webgptorg/promptbook
30
30
  */
31
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-119';
31
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-121';
32
32
  /**
33
33
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
34
34
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -30367,7 +30367,9 @@ class OpenAiAgentKitExecutionToolsToolBuilder {
30367
30367
  if (!executionTools || !executionTools.script) {
30368
30368
  throw new PipelineExecutionError(`Model requested tools but no executionTools.script were provided in OpenAiAgentKitExecutionTools options`);
30369
30369
  }
30370
- return Array.isArray(executionTools.script) ? executionTools.script : [executionTools.script];
30370
+ return Array.isArray(executionTools.script)
30371
+ ? executionTools.script
30372
+ : [executionTools.script];
30371
30373
  }
30372
30374
  /**
30373
30375
  * Resolves the assistant-visible AgentKit tool response while preserving structured tool result data.