@promptbook/browser 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
@@ -5,7 +5,7 @@ import { isRunningInBrowser } from 'openai/core';
5
5
  /**
6
6
  * The version of the Promptbook library
7
7
  */
8
- var PROMPTBOOK_VERSION = '0.65.0-4';
8
+ var PROMPTBOOK_VERSION = '0.65.0-6';
9
9
  // TODO: !!!! List here all the versions and annotate + put into script
10
10
 
11
11
  /*! *****************************************************************************
@@ -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/browser",
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,
@@ -47,7 +47,7 @@
47
47
  "module": "./esm/index.es.js",
48
48
  "typings": "./esm/typings/src/_packages/browser.index.d.ts",
49
49
  "peerDependencies": {
50
- "@promptbook/core": "0.65.0-5"
50
+ "@promptbook/core": "0.65.0-7"
51
51
  },
52
52
  "dependencies": {
53
53
  "spacetrim": "0.11.39"
package/umd/index.umd.js CHANGED
@@ -8,7 +8,7 @@
8
8
  /**
9
9
  * The version of the Promptbook library
10
10
  */
11
- var PROMPTBOOK_VERSION = '0.65.0-4';
11
+ var PROMPTBOOK_VERSION = '0.65.0-6';
12
12
  // TODO: !!!! List here all the versions and annotate + put into script
13
13
 
14
14
  /*! *****************************************************************************