@promptbook/openai 0.29.0-0 → 0.29.0-2

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.
@@ -15,7 +15,7 @@ export type JavascriptExecutionToolsOptions = CommonExecutionToolsOptions & {
15
15
  * Note: There are also some built-in functions available:
16
16
  * @see ./JavascriptEvalExecutionTools.ts
17
17
  */
18
- functions?: Record<string_javascript_name, (value: string) => Promisable<string> | Function>;
18
+ functions?: Record<string_javascript_name, ((value: string) => Promisable<string>) | Function>;
19
19
  };
20
20
  /**
21
21
  * TODO: [🧠][💙] Distinct between options passed into ExecutionTools and to ExecutionTools.execute
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/openai",
3
- "version": "0.29.0-0",
3
+ "version": "0.29.0-2",
4
4
  "description": "Library to supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -37,7 +37,7 @@
37
37
  "openai": "4.2.0"
38
38
  },
39
39
  "peerDependencies": {
40
- "@promptbook/core": "0.29.0-0"
40
+ "@promptbook/core": "0.29.0-2"
41
41
  },
42
42
  "main": "./umd/index.umd.js",
43
43
  "module": "./esm/index.es.js",
@@ -15,7 +15,7 @@ export type JavascriptExecutionToolsOptions = CommonExecutionToolsOptions & {
15
15
  * Note: There are also some built-in functions available:
16
16
  * @see ./JavascriptEvalExecutionTools.ts
17
17
  */
18
- functions?: Record<string_javascript_name, (value: string) => Promisable<string> | Function>;
18
+ functions?: Record<string_javascript_name, ((value: string) => Promisable<string>) | Function>;
19
19
  };
20
20
  /**
21
21
  * TODO: [🧠][💙] Distinct between options passed into ExecutionTools and to ExecutionTools.execute