@promptbook/openai 0.112.0-51 → 0.112.0-53

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
@@ -23,7 +23,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
23
23
  * @generated
24
24
  * @see https://github.com/webgptorg/promptbook
25
25
  */
26
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-51';
26
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-53';
27
27
  /**
28
28
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
29
29
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -7581,7 +7581,9 @@ function createDeepSearchAgentInstructions(toolDescription) {
7581
7581
  * @private helper of `OpenAiAgentKitExecutionTools`
7582
7582
  */
7583
7583
  function buildDeepSearchToolInput(rawInput) {
7584
- const input = rawInput && typeof rawInput === 'object' ? rawInput : {};
7584
+ const input = rawInput && typeof rawInput === 'object'
7585
+ ? rawInput
7586
+ : {};
7585
7587
  const query = typeof input.query === 'string' ? input.query.trim() : '';
7586
7588
  const additionalHints = Object.entries(input)
7587
7589
  .filter(([key, value]) => key !== 'query' && value !== undefined && value !== null && String(value).trim() !== '')