@promptbook/remote-server 0.14.0 → 0.15.0

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,3 +1,4 @@
1
+ import { ExecutionType } from './ExecutionTypes';
1
2
  import { string_name, string_title } from './typeAliases';
2
3
  /**
3
4
  * TaskProgress represents the progress of a PromptTemplatePipeline execution.
@@ -25,6 +26,11 @@ export interface TaskProgress {
25
26
  * Is task done?
26
27
  */
27
28
  readonly isDone: boolean;
29
+ /**
30
+ * The type of the execution.
31
+ * Note: The Promptbook library reports everything, in the app level you can filter out the execution types that you don't want to show to the user.
32
+ */
33
+ readonly executionType: ExecutionType;
28
34
  /**
29
35
  * The parameter name that is being processed.
30
36
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/remote-server",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "Library to supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -38,7 +38,7 @@
38
38
  "spacetrim": "0.9.2"
39
39
  },
40
40
  "peerDependencies": {
41
- "@promptbook/core": "0.14.0"
41
+ "@promptbook/core": "0.15.0"
42
42
  },
43
43
  "main": "./umd/index.umd.js",
44
44
  "module": "./esm/index.es.js",
@@ -1,3 +1,4 @@
1
+ import { ExecutionType } from './ExecutionTypes';
1
2
  import { string_name, string_title } from './typeAliases';
2
3
  /**
3
4
  * TaskProgress represents the progress of a PromptTemplatePipeline execution.
@@ -25,6 +26,11 @@ export interface TaskProgress {
25
26
  * Is task done?
26
27
  */
27
28
  readonly isDone: boolean;
29
+ /**
30
+ * The type of the execution.
31
+ * Note: The Promptbook library reports everything, in the app level you can filter out the execution types that you don't want to show to the user.
32
+ */
33
+ readonly executionType: ExecutionType;
28
34
  /**
29
35
  * The parameter name that is being processed.
30
36
  */