@promptbook/remote-server 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
@@ -39,7 +39,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
39
39
  * @generated
40
40
  * @see https://github.com/webgptorg/promptbook
41
41
  */
42
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-119';
42
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-121';
43
43
  /**
44
44
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
45
45
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -35011,7 +35011,9 @@ class OpenAiAgentKitExecutionToolsToolBuilder {
35011
35011
  if (!executionTools || !executionTools.script) {
35012
35012
  throw new PipelineExecutionError(`Model requested tools but no executionTools.script were provided in OpenAiAgentKitExecutionTools options`);
35013
35013
  }
35014
- return Array.isArray(executionTools.script) ? executionTools.script : [executionTools.script];
35014
+ return Array.isArray(executionTools.script)
35015
+ ? executionTools.script
35016
+ : [executionTools.script];
35015
35017
  }
35016
35018
  /**
35017
35019
  * Resolves the assistant-visible AgentKit tool response while preserving structured tool result data.