vellum-ai 0.0.24 → 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.
- package/api/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
- package/api/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/dist/api/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/dist/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
- package/dist/api/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/dist/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/dist/serialization/types/PromptTemplateBlockProperties.js +1 -0
- package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
- package/dist/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
- package/dist/serialization/types/WorkflowExecutionEventErrorCode.js +1 -1
- package/package.json +1 -1
- package/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/serialization/types/PromptTemplateBlockProperties.js +1 -0
- package/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
- package/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
- package/serialization/types/WorkflowExecutionEventErrorCode.js +1 -1
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -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"]);
|
package/package.json
CHANGED
|
@@ -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"]);
|