@promptbook/types 0.65.0-5 → 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.
@@ -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/types",
3
- "version": "0.65.0-5",
3
+ "version": "0.65.0-6",
4
4
  "description": "Supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -45,6 +45,6 @@
45
45
  ],
46
46
  "typings": "./esm/typings/src/_packages/types.index.d.ts",
47
47
  "peerDependencies": {
48
- "@promptbook/core": "0.65.0-5"
48
+ "@promptbook/core": "0.65.0-6"
49
49
  }
50
50
  }