@promptbook/openai 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
@@ -20,7 +20,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
20
20
  * @generated
21
21
  * @see https://github.com/webgptorg/promptbook
22
22
  */
23
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-119';
23
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-121';
24
24
  /**
25
25
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
26
26
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -8456,7 +8456,9 @@ class OpenAiAgentKitExecutionToolsToolBuilder {
8456
8456
  if (!executionTools || !executionTools.script) {
8457
8457
  throw new PipelineExecutionError(`Model requested tools but no executionTools.script were provided in OpenAiAgentKitExecutionTools options`);
8458
8458
  }
8459
- return Array.isArray(executionTools.script) ? executionTools.script : [executionTools.script];
8459
+ return Array.isArray(executionTools.script)
8460
+ ? executionTools.script
8461
+ : [executionTools.script];
8460
8462
  }
8461
8463
  /**
8462
8464
  * Resolves the assistant-visible AgentKit tool response while preserving structured tool result data.