vellum-ai 0.0.23 → 0.0.25

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.
Files changed (41) hide show
  1. package/Client.d.ts +2 -0
  2. package/Client.js +2 -0
  3. package/api/types/ExecuteWorkflowStreamErrorResponse.d.ts +7 -0
  4. package/api/types/ExecuteWorkflowStreamErrorResponse.js +5 -0
  5. package/api/types/PromptTemplateBlockProperties.d.ts +1 -0
  6. package/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
  7. package/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
  8. package/api/types/WorkflowExecutionEventErrorCode.js +1 -0
  9. package/api/types/index.d.ts +1 -0
  10. package/api/types/index.js +1 -0
  11. package/dist/Client.d.ts +2 -0
  12. package/dist/Client.js +2 -0
  13. package/dist/api/types/ExecuteWorkflowStreamErrorResponse.d.ts +7 -0
  14. package/dist/api/types/ExecuteWorkflowStreamErrorResponse.js +5 -0
  15. package/dist/api/types/PromptTemplateBlockProperties.d.ts +1 -0
  16. package/dist/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
  17. package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
  18. package/dist/api/types/WorkflowExecutionEventErrorCode.js +1 -0
  19. package/dist/api/types/index.d.ts +1 -0
  20. package/dist/api/types/index.js +1 -0
  21. package/dist/serialization/types/ExecuteWorkflowStreamErrorResponse.d.ts +12 -0
  22. package/dist/serialization/types/ExecuteWorkflowStreamErrorResponse.js +33 -0
  23. package/dist/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
  24. package/dist/serialization/types/PromptTemplateBlockProperties.js +1 -0
  25. package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
  26. package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
  27. package/dist/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
  28. package/dist/serialization/types/WorkflowExecutionEventErrorCode.js +1 -1
  29. package/dist/serialization/types/index.d.ts +1 -0
  30. package/dist/serialization/types/index.js +1 -0
  31. package/package.json +1 -1
  32. package/serialization/types/ExecuteWorkflowStreamErrorResponse.d.ts +12 -0
  33. package/serialization/types/ExecuteWorkflowStreamErrorResponse.js +33 -0
  34. package/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
  35. package/serialization/types/PromptTemplateBlockProperties.js +1 -0
  36. package/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
  37. package/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
  38. package/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
  39. package/serialization/types/WorkflowExecutionEventErrorCode.js +1 -1
  40. package/serialization/types/index.d.ts +1 -0
  41. package/serialization/types/index.js +1 -0
package/Client.d.ts CHANGED
@@ -24,6 +24,8 @@ export declare class VellumClient {
24
24
  * <strong style="background-color:#ffc107; color:white; padding:4px; border-radius:4px">Unstable</strong>
25
25
  *
26
26
  * Executes a deployed Workflow and streams back its results.
27
+ * @throws {Vellum.NotFoundError}
28
+ * @throws {Vellum.InternalServerError}
27
29
  */
28
30
  executeWorkflowStream(request: Vellum.ExecuteWorkflowStreamRequest, cb: (data: Vellum.WorkflowStreamEvent) => void, opts?: Pick<core.StreamingFetcher.Args, "onError" | "onFinish" | "abortController" | "timeoutMs">): Promise<void>;
29
31
  /**
package/Client.js CHANGED
@@ -52,6 +52,8 @@ class VellumClient {
52
52
  * <strong style="background-color:#ffc107; color:white; padding:4px; border-radius:4px">Unstable</strong>
53
53
  *
54
54
  * Executes a deployed Workflow and streams back its results.
55
+ * @throws {Vellum.NotFoundError}
56
+ * @throws {Vellum.InternalServerError}
55
57
  */
56
58
  async executeWorkflowStream(request, cb, opts) {
57
59
  const _queue = new core.CallbackQueue();
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ExecuteWorkflowStreamErrorResponse {
5
+ /** Details about why the request failed. */
6
+ detail: string;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,5 +10,6 @@ export interface PromptTemplateBlockProperties {
10
10
  functionName?: string;
11
11
  functionDescription?: string;
12
12
  functionParameters?: Record<string, unknown>;
13
+ functionForced?: boolean;
13
14
  blocks?: Vellum.PromptTemplateBlock[];
14
15
  }
@@ -12,5 +12,6 @@ export interface PromptTemplateBlockPropertiesRequest {
12
12
  /** <span style="white-space: nowrap">`non-empty`</span> */
13
13
  functionDescription?: string;
14
14
  functionParameters?: Record<string, unknown>;
15
+ functionForced?: boolean;
15
16
  blocks?: Vellum.PromptTemplateBlockRequest[];
16
17
  }
@@ -4,9 +4,11 @@
4
4
  /**
5
5
  * * `WORKFLOW_INITIALIZATION` - WORKFLOW_INITIALIZATION
6
6
  * * `NODE_EXECUTION` - NODE_EXECUTION
7
+ * * `NODE_EXECUTION_COUNT_LIMIT_REACHED` - NODE_EXECUTION_COUNT_LIMIT_REACHED
7
8
  */
8
- export declare type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION";
9
+ export declare type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION" | "NODE_EXECUTION_COUNT_LIMIT_REACHED";
9
10
  export declare const WorkflowExecutionEventErrorCode: {
10
11
  readonly WorkflowInitialization: "WORKFLOW_INITIALIZATION";
11
12
  readonly NodeExecution: "NODE_EXECUTION";
13
+ readonly NodeExecutionCountLimitReached: "NODE_EXECUTION_COUNT_LIMIT_REACHED";
12
14
  };
@@ -7,4 +7,5 @@ exports.WorkflowExecutionEventErrorCode = void 0;
7
7
  exports.WorkflowExecutionEventErrorCode = {
8
8
  WorkflowInitialization: "WORKFLOW_INITIALIZATION",
9
9
  NodeExecution: "NODE_EXECUTION",
10
+ NodeExecutionCountLimitReached: "NODE_EXECUTION_COUNT_LIMIT_REACHED",
10
11
  };
@@ -17,6 +17,7 @@ export * from "./EnrichedNormalizedCompletion";
17
17
  export * from "./EnvironmentEnum";
18
18
  export * from "./EvaluationParams";
19
19
  export * from "./EvaluationParamsRequest";
20
+ export * from "./ExecuteWorkflowStreamErrorResponse";
20
21
  export * from "./FinishReasonEnum";
21
22
  export * from "./GenerateErrorResponse";
22
23
  export * from "./GenerateOptionsRequest";
@@ -33,6 +33,7 @@ __exportStar(require("./EnrichedNormalizedCompletion"), exports);
33
33
  __exportStar(require("./EnvironmentEnum"), exports);
34
34
  __exportStar(require("./EvaluationParams"), exports);
35
35
  __exportStar(require("./EvaluationParamsRequest"), exports);
36
+ __exportStar(require("./ExecuteWorkflowStreamErrorResponse"), exports);
36
37
  __exportStar(require("./FinishReasonEnum"), exports);
37
38
  __exportStar(require("./GenerateErrorResponse"), exports);
38
39
  __exportStar(require("./GenerateOptionsRequest"), exports);
package/dist/Client.d.ts CHANGED
@@ -24,6 +24,8 @@ export declare class VellumClient {
24
24
  * <strong style="background-color:#ffc107; color:white; padding:4px; border-radius:4px">Unstable</strong>
25
25
  *
26
26
  * Executes a deployed Workflow and streams back its results.
27
+ * @throws {Vellum.NotFoundError}
28
+ * @throws {Vellum.InternalServerError}
27
29
  */
28
30
  executeWorkflowStream(request: Vellum.ExecuteWorkflowStreamRequest, cb: (data: Vellum.WorkflowStreamEvent) => void, opts?: Pick<core.StreamingFetcher.Args, "onError" | "onFinish" | "abortController" | "timeoutMs">): Promise<void>;
29
31
  /**
package/dist/Client.js CHANGED
@@ -52,6 +52,8 @@ class VellumClient {
52
52
  * <strong style="background-color:#ffc107; color:white; padding:4px; border-radius:4px">Unstable</strong>
53
53
  *
54
54
  * Executes a deployed Workflow and streams back its results.
55
+ * @throws {Vellum.NotFoundError}
56
+ * @throws {Vellum.InternalServerError}
55
57
  */
56
58
  async executeWorkflowStream(request, cb, opts) {
57
59
  const _queue = new core.CallbackQueue();
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ExecuteWorkflowStreamErrorResponse {
5
+ /** Details about why the request failed. */
6
+ detail: string;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,5 +10,6 @@ export interface PromptTemplateBlockProperties {
10
10
  functionName?: string;
11
11
  functionDescription?: string;
12
12
  functionParameters?: Record<string, unknown>;
13
+ functionForced?: boolean;
13
14
  blocks?: Vellum.PromptTemplateBlock[];
14
15
  }
@@ -12,5 +12,6 @@ export interface PromptTemplateBlockPropertiesRequest {
12
12
  /** <span style="white-space: nowrap">`non-empty`</span> */
13
13
  functionDescription?: string;
14
14
  functionParameters?: Record<string, unknown>;
15
+ functionForced?: boolean;
15
16
  blocks?: Vellum.PromptTemplateBlockRequest[];
16
17
  }
@@ -4,9 +4,11 @@
4
4
  /**
5
5
  * * `WORKFLOW_INITIALIZATION` - WORKFLOW_INITIALIZATION
6
6
  * * `NODE_EXECUTION` - NODE_EXECUTION
7
+ * * `NODE_EXECUTION_COUNT_LIMIT_REACHED` - NODE_EXECUTION_COUNT_LIMIT_REACHED
7
8
  */
8
- export declare type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION";
9
+ export declare type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION" | "NODE_EXECUTION_COUNT_LIMIT_REACHED";
9
10
  export declare const WorkflowExecutionEventErrorCode: {
10
11
  readonly WorkflowInitialization: "WORKFLOW_INITIALIZATION";
11
12
  readonly NodeExecution: "NODE_EXECUTION";
13
+ readonly NodeExecutionCountLimitReached: "NODE_EXECUTION_COUNT_LIMIT_REACHED";
12
14
  };
@@ -7,4 +7,5 @@ exports.WorkflowExecutionEventErrorCode = void 0;
7
7
  exports.WorkflowExecutionEventErrorCode = {
8
8
  WorkflowInitialization: "WORKFLOW_INITIALIZATION",
9
9
  NodeExecution: "NODE_EXECUTION",
10
+ NodeExecutionCountLimitReached: "NODE_EXECUTION_COUNT_LIMIT_REACHED",
10
11
  };
@@ -17,6 +17,7 @@ export * from "./EnrichedNormalizedCompletion";
17
17
  export * from "./EnvironmentEnum";
18
18
  export * from "./EvaluationParams";
19
19
  export * from "./EvaluationParamsRequest";
20
+ export * from "./ExecuteWorkflowStreamErrorResponse";
20
21
  export * from "./FinishReasonEnum";
21
22
  export * from "./GenerateErrorResponse";
22
23
  export * from "./GenerateOptionsRequest";
@@ -33,6 +33,7 @@ __exportStar(require("./EnrichedNormalizedCompletion"), exports);
33
33
  __exportStar(require("./EnvironmentEnum"), exports);
34
34
  __exportStar(require("./EvaluationParams"), exports);
35
35
  __exportStar(require("./EvaluationParamsRequest"), exports);
36
+ __exportStar(require("./ExecuteWorkflowStreamErrorResponse"), exports);
36
37
  __exportStar(require("./FinishReasonEnum"), exports);
37
38
  __exportStar(require("./GenerateErrorResponse"), exports);
38
39
  __exportStar(require("./GenerateOptionsRequest"), exports);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const ExecuteWorkflowStreamErrorResponse: core.serialization.ObjectSchema<serializers.ExecuteWorkflowStreamErrorResponse.Raw, Vellum.ExecuteWorkflowStreamErrorResponse>;
8
+ export declare namespace ExecuteWorkflowStreamErrorResponse {
9
+ interface Raw {
10
+ detail: string;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ExecuteWorkflowStreamErrorResponse = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.ExecuteWorkflowStreamErrorResponse = core.serialization.object({
32
+ detail: core.serialization.string(),
33
+ });
@@ -14,6 +14,7 @@ export declare namespace PromptTemplateBlockProperties {
14
14
  function_name?: string | null;
15
15
  function_description?: string | null;
16
16
  function_parameters?: Record<string, unknown> | null;
17
+ function_forced?: boolean | null;
17
18
  blocks?: serializers.PromptTemplateBlock.Raw[] | null;
18
19
  }
19
20
  }
@@ -36,6 +36,7 @@ exports.PromptTemplateBlockProperties = core.serialization.object({
36
36
  functionName: core.serialization.property("function_name", core.serialization.string().optional()),
37
37
  functionDescription: core.serialization.property("function_description", core.serialization.string().optional()),
38
38
  functionParameters: core.serialization.property("function_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
39
+ functionForced: core.serialization.property("function_forced", core.serialization.boolean().optional()),
39
40
  blocks: core.serialization
40
41
  .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlock))
41
42
  .optional(),
@@ -14,6 +14,7 @@ export declare namespace PromptTemplateBlockPropertiesRequest {
14
14
  function_name?: string | null;
15
15
  function_description?: string | null;
16
16
  function_parameters?: Record<string, unknown> | null;
17
+ function_forced?: boolean | null;
17
18
  blocks?: serializers.PromptTemplateBlockRequest.Raw[] | null;
18
19
  }
19
20
  }
@@ -36,6 +36,7 @@ exports.PromptTemplateBlockPropertiesRequest = core.serialization.object({
36
36
  functionName: core.serialization.property("function_name", core.serialization.string().optional()),
37
37
  functionDescription: core.serialization.property("function_description", core.serialization.string().optional()),
38
38
  functionParameters: core.serialization.property("function_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
39
+ functionForced: core.serialization.property("function_forced", core.serialization.boolean().optional()),
39
40
  blocks: core.serialization
40
41
  .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlockRequest))
41
42
  .optional(),
@@ -6,5 +6,5 @@ import * as Vellum from "../../api";
6
6
  import * as core from "../../core";
7
7
  export declare const WorkflowExecutionEventErrorCode: core.serialization.Schema<serializers.WorkflowExecutionEventErrorCode.Raw, Vellum.WorkflowExecutionEventErrorCode>;
8
8
  export declare namespace WorkflowExecutionEventErrorCode {
9
- type Raw = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION";
9
+ type Raw = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION" | "NODE_EXECUTION_COUNT_LIMIT_REACHED";
10
10
  }
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.WorkflowExecutionEventErrorCode = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.WorkflowExecutionEventErrorCode = core.serialization.enum_(["WORKFLOW_INITIALIZATION", "NODE_EXECUTION"]);
31
+ exports.WorkflowExecutionEventErrorCode = core.serialization.enum_(["WORKFLOW_INITIALIZATION", "NODE_EXECUTION", "NODE_EXECUTION_COUNT_LIMIT_REACHED"]);
@@ -17,6 +17,7 @@ export * from "./EnrichedNormalizedCompletion";
17
17
  export * from "./EnvironmentEnum";
18
18
  export * from "./EvaluationParams";
19
19
  export * from "./EvaluationParamsRequest";
20
+ export * from "./ExecuteWorkflowStreamErrorResponse";
20
21
  export * from "./FinishReasonEnum";
21
22
  export * from "./GenerateErrorResponse";
22
23
  export * from "./GenerateOptionsRequest";
@@ -33,6 +33,7 @@ __exportStar(require("./EnrichedNormalizedCompletion"), exports);
33
33
  __exportStar(require("./EnvironmentEnum"), exports);
34
34
  __exportStar(require("./EvaluationParams"), exports);
35
35
  __exportStar(require("./EvaluationParamsRequest"), exports);
36
+ __exportStar(require("./ExecuteWorkflowStreamErrorResponse"), exports);
36
37
  __exportStar(require("./FinishReasonEnum"), exports);
37
38
  __exportStar(require("./GenerateErrorResponse"), exports);
38
39
  __exportStar(require("./GenerateOptionsRequest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "v0.0.23",
3
+ "version": "v0.0.25",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "main": "./index.js",
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const ExecuteWorkflowStreamErrorResponse: core.serialization.ObjectSchema<serializers.ExecuteWorkflowStreamErrorResponse.Raw, Vellum.ExecuteWorkflowStreamErrorResponse>;
8
+ export declare namespace ExecuteWorkflowStreamErrorResponse {
9
+ interface Raw {
10
+ detail: string;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ExecuteWorkflowStreamErrorResponse = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.ExecuteWorkflowStreamErrorResponse = core.serialization.object({
32
+ detail: core.serialization.string(),
33
+ });
@@ -14,6 +14,7 @@ export declare namespace PromptTemplateBlockProperties {
14
14
  function_name?: string | null;
15
15
  function_description?: string | null;
16
16
  function_parameters?: Record<string, unknown> | null;
17
+ function_forced?: boolean | null;
17
18
  blocks?: serializers.PromptTemplateBlock.Raw[] | null;
18
19
  }
19
20
  }
@@ -36,6 +36,7 @@ exports.PromptTemplateBlockProperties = core.serialization.object({
36
36
  functionName: core.serialization.property("function_name", core.serialization.string().optional()),
37
37
  functionDescription: core.serialization.property("function_description", core.serialization.string().optional()),
38
38
  functionParameters: core.serialization.property("function_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
39
+ functionForced: core.serialization.property("function_forced", core.serialization.boolean().optional()),
39
40
  blocks: core.serialization
40
41
  .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlock))
41
42
  .optional(),
@@ -14,6 +14,7 @@ export declare namespace PromptTemplateBlockPropertiesRequest {
14
14
  function_name?: string | null;
15
15
  function_description?: string | null;
16
16
  function_parameters?: Record<string, unknown> | null;
17
+ function_forced?: boolean | null;
17
18
  blocks?: serializers.PromptTemplateBlockRequest.Raw[] | null;
18
19
  }
19
20
  }
@@ -36,6 +36,7 @@ exports.PromptTemplateBlockPropertiesRequest = core.serialization.object({
36
36
  functionName: core.serialization.property("function_name", core.serialization.string().optional()),
37
37
  functionDescription: core.serialization.property("function_description", core.serialization.string().optional()),
38
38
  functionParameters: core.serialization.property("function_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
39
+ functionForced: core.serialization.property("function_forced", core.serialization.boolean().optional()),
39
40
  blocks: core.serialization
40
41
  .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlockRequest))
41
42
  .optional(),
@@ -6,5 +6,5 @@ import * as Vellum from "../../api";
6
6
  import * as core from "../../core";
7
7
  export declare const WorkflowExecutionEventErrorCode: core.serialization.Schema<serializers.WorkflowExecutionEventErrorCode.Raw, Vellum.WorkflowExecutionEventErrorCode>;
8
8
  export declare namespace WorkflowExecutionEventErrorCode {
9
- type Raw = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION";
9
+ type Raw = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION" | "NODE_EXECUTION_COUNT_LIMIT_REACHED";
10
10
  }
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.WorkflowExecutionEventErrorCode = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.WorkflowExecutionEventErrorCode = core.serialization.enum_(["WORKFLOW_INITIALIZATION", "NODE_EXECUTION"]);
31
+ exports.WorkflowExecutionEventErrorCode = core.serialization.enum_(["WORKFLOW_INITIALIZATION", "NODE_EXECUTION", "NODE_EXECUTION_COUNT_LIMIT_REACHED"]);
@@ -17,6 +17,7 @@ export * from "./EnrichedNormalizedCompletion";
17
17
  export * from "./EnvironmentEnum";
18
18
  export * from "./EvaluationParams";
19
19
  export * from "./EvaluationParamsRequest";
20
+ export * from "./ExecuteWorkflowStreamErrorResponse";
20
21
  export * from "./FinishReasonEnum";
21
22
  export * from "./GenerateErrorResponse";
22
23
  export * from "./GenerateOptionsRequest";
@@ -33,6 +33,7 @@ __exportStar(require("./EnrichedNormalizedCompletion"), exports);
33
33
  __exportStar(require("./EnvironmentEnum"), exports);
34
34
  __exportStar(require("./EvaluationParams"), exports);
35
35
  __exportStar(require("./EvaluationParamsRequest"), exports);
36
+ __exportStar(require("./ExecuteWorkflowStreamErrorResponse"), exports);
36
37
  __exportStar(require("./FinishReasonEnum"), exports);
37
38
  __exportStar(require("./GenerateErrorResponse"), exports);
38
39
  __exportStar(require("./GenerateOptionsRequest"), exports);