@promptbook/openai 0.65.0-4 → 0.65.0-6

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
@@ -6,7 +6,7 @@ import spaceTrim$1, { spaceTrim } from 'spacetrim';
6
6
  /**
7
7
  * The version of the Promptbook library
8
8
  */
9
- var PROMPTBOOK_VERSION = '0.65.0-3';
9
+ var PROMPTBOOK_VERSION = '0.65.0-5';
10
10
  // TODO: !!!! List here all the versions and annotate + put into script
11
11
 
12
12
  /*! *****************************************************************************
@@ -1,4 +1,5 @@
1
1
  import type { CommonExecutionToolsOptions } from '../../../execution/CommonExecutionToolsOptions';
2
+ import type { AvailableModel } from '../../../execution/LlmExecutionTools';
2
3
  import type { client_id } from '../../../types/typeAliases';
3
4
  import type { string_base_url } from '../../../types/typeAliases';
4
5
  import type { string_uri } from '../../../types/typeAliases';
@@ -21,6 +22,12 @@ export type RemoteLlmExecutionToolsOptions = CommonExecutionToolsOptions & {
21
22
  * @example '/promptbook/socket.io'
22
23
  */
23
24
  readonly path: string_uri;
25
+ /**
26
+ * If set, only these models will be listed as available
27
+ *
28
+ * TODO: [🧠] !!!! Figure out better solution
29
+ */
30
+ readonly models?: Array<AvailableModel>;
24
31
  /**
25
32
  * Mode of the server to connect to
26
33
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/openai",
3
- "version": "0.65.0-4",
3
+ "version": "0.65.0-6",
4
4
  "description": "Supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -47,7 +47,7 @@
47
47
  "module": "./esm/index.es.js",
48
48
  "typings": "./esm/typings/src/_packages/openai.index.d.ts",
49
49
  "peerDependencies": {
50
- "@promptbook/core": "0.65.0-4"
50
+ "@promptbook/core": "0.65.0-6"
51
51
  },
52
52
  "dependencies": {
53
53
  "colors": "1.4.0",
package/umd/index.umd.js CHANGED
@@ -14,7 +14,7 @@
14
14
  /**
15
15
  * The version of the Promptbook library
16
16
  */
17
- var PROMPTBOOK_VERSION = '0.65.0-3';
17
+ var PROMPTBOOK_VERSION = '0.65.0-5';
18
18
  // TODO: !!!! List here all the versions and annotate + put into script
19
19
 
20
20
  /*! *****************************************************************************