@promptbook/utils 0.65.0-5 → 0.65.0-7

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
@@ -4,7 +4,7 @@ import spaceTrim$1, { spaceTrim } from 'spacetrim';
4
4
  /**
5
5
  * The version of the Promptbook library
6
6
  */
7
- var PROMPTBOOK_VERSION = '0.65.0-4';
7
+ var PROMPTBOOK_VERSION = '0.65.0-6';
8
8
  // TODO: !!!! List here all the versions and annotate + put into script
9
9
 
10
10
  /*! *****************************************************************************
@@ -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/utils",
3
- "version": "0.65.0-5",
3
+ "version": "0.65.0-7",
4
4
  "description": "Supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
package/umd/index.umd.js CHANGED
@@ -12,7 +12,7 @@
12
12
  /**
13
13
  * The version of the Promptbook library
14
14
  */
15
- var PROMPTBOOK_VERSION = '0.65.0-4';
15
+ var PROMPTBOOK_VERSION = '0.65.0-6';
16
16
  // TODO: !!!! List here all the versions and annotate + put into script
17
17
 
18
18
  /*! *****************************************************************************