vellum-ai 0.0.31 → 0.0.33
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/Client.js +1 -1
- package/api/types/WorkflowExecutionEventErrorCode.d.ts +5 -3
- package/api/types/WorkflowExecutionEventErrorCode.js +2 -1
- package/dist/Client.js +1 -1
- package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +5 -3
- package/dist/api/types/WorkflowExecutionEventErrorCode.js +2 -1
- package/dist/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
- package/dist/serialization/types/WorkflowExecutionEventErrorCode.js +6 -1
- package/package.json +1 -1
- package/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
- package/serialization/types/WorkflowExecutionEventErrorCode.js +6 -1
package/Client.js
CHANGED
|
@@ -198,7 +198,7 @@ class VellumClient {
|
|
|
198
198
|
*/
|
|
199
199
|
async search(request) {
|
|
200
200
|
const _response = await core.fetcher({
|
|
201
|
-
url: (0, url_join_1.default)((this.options.environment ?? environments.VellumEnvironment.Production).
|
|
201
|
+
url: (0, url_join_1.default)((this.options.environment ?? environments.VellumEnvironment.Production).predict, "v1/search"),
|
|
202
202
|
method: "POST",
|
|
203
203
|
headers: {
|
|
204
204
|
X_API_KEY: await core.Supplier.get(this.options.apiKey),
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* * `WORKFLOW_INITIALIZATION` - WORKFLOW_INITIALIZATION
|
|
6
|
-
* * `NODE_EXECUTION` - NODE_EXECUTION
|
|
7
6
|
* * `NODE_EXECUTION_COUNT_LIMIT_REACHED` - NODE_EXECUTION_COUNT_LIMIT_REACHED
|
|
7
|
+
* * `NODE_EXECUTION` - NODE_EXECUTION
|
|
8
|
+
* * `LLM_PROVIDER` - LLM_PROVIDER
|
|
8
9
|
*/
|
|
9
|
-
export declare type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION" | "
|
|
10
|
+
export declare type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "NODE_EXECUTION" | "LLM_PROVIDER";
|
|
10
11
|
export declare const WorkflowExecutionEventErrorCode: {
|
|
11
12
|
readonly WorkflowInitialization: "WORKFLOW_INITIALIZATION";
|
|
12
|
-
readonly NodeExecution: "NODE_EXECUTION";
|
|
13
13
|
readonly NodeExecutionCountLimitReached: "NODE_EXECUTION_COUNT_LIMIT_REACHED";
|
|
14
|
+
readonly NodeExecution: "NODE_EXECUTION";
|
|
15
|
+
readonly LlmProvider: "LLM_PROVIDER";
|
|
14
16
|
};
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.WorkflowExecutionEventErrorCode = void 0;
|
|
7
7
|
exports.WorkflowExecutionEventErrorCode = {
|
|
8
8
|
WorkflowInitialization: "WORKFLOW_INITIALIZATION",
|
|
9
|
-
NodeExecution: "NODE_EXECUTION",
|
|
10
9
|
NodeExecutionCountLimitReached: "NODE_EXECUTION_COUNT_LIMIT_REACHED",
|
|
10
|
+
NodeExecution: "NODE_EXECUTION",
|
|
11
|
+
LlmProvider: "LLM_PROVIDER",
|
|
11
12
|
};
|
package/dist/Client.js
CHANGED
|
@@ -198,7 +198,7 @@ class VellumClient {
|
|
|
198
198
|
*/
|
|
199
199
|
async search(request) {
|
|
200
200
|
const _response = await core.fetcher({
|
|
201
|
-
url: (0, url_join_1.default)((this.options.environment ?? environments.VellumEnvironment.Production).
|
|
201
|
+
url: (0, url_join_1.default)((this.options.environment ?? environments.VellumEnvironment.Production).predict, "v1/search"),
|
|
202
202
|
method: "POST",
|
|
203
203
|
headers: {
|
|
204
204
|
X_API_KEY: await core.Supplier.get(this.options.apiKey),
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* * `WORKFLOW_INITIALIZATION` - WORKFLOW_INITIALIZATION
|
|
6
|
-
* * `NODE_EXECUTION` - NODE_EXECUTION
|
|
7
6
|
* * `NODE_EXECUTION_COUNT_LIMIT_REACHED` - NODE_EXECUTION_COUNT_LIMIT_REACHED
|
|
7
|
+
* * `NODE_EXECUTION` - NODE_EXECUTION
|
|
8
|
+
* * `LLM_PROVIDER` - LLM_PROVIDER
|
|
8
9
|
*/
|
|
9
|
-
export declare type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION" | "
|
|
10
|
+
export declare type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "NODE_EXECUTION" | "LLM_PROVIDER";
|
|
10
11
|
export declare const WorkflowExecutionEventErrorCode: {
|
|
11
12
|
readonly WorkflowInitialization: "WORKFLOW_INITIALIZATION";
|
|
12
|
-
readonly NodeExecution: "NODE_EXECUTION";
|
|
13
13
|
readonly NodeExecutionCountLimitReached: "NODE_EXECUTION_COUNT_LIMIT_REACHED";
|
|
14
|
+
readonly NodeExecution: "NODE_EXECUTION";
|
|
15
|
+
readonly LlmProvider: "LLM_PROVIDER";
|
|
14
16
|
};
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.WorkflowExecutionEventErrorCode = void 0;
|
|
7
7
|
exports.WorkflowExecutionEventErrorCode = {
|
|
8
8
|
WorkflowInitialization: "WORKFLOW_INITIALIZATION",
|
|
9
|
-
NodeExecution: "NODE_EXECUTION",
|
|
10
9
|
NodeExecutionCountLimitReached: "NODE_EXECUTION_COUNT_LIMIT_REACHED",
|
|
10
|
+
NodeExecution: "NODE_EXECUTION",
|
|
11
|
+
LlmProvider: "LLM_PROVIDER",
|
|
11
12
|
};
|
|
@@ -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_COUNT_LIMIT_REACHED" | "NODE_EXECUTION" | "LLM_PROVIDER";
|
|
10
10
|
}
|
|
@@ -28,4 +28,9 @@ 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_([
|
|
31
|
+
exports.WorkflowExecutionEventErrorCode = core.serialization.enum_([
|
|
32
|
+
"WORKFLOW_INITIALIZATION",
|
|
33
|
+
"NODE_EXECUTION_COUNT_LIMIT_REACHED",
|
|
34
|
+
"NODE_EXECUTION",
|
|
35
|
+
"LLM_PROVIDER",
|
|
36
|
+
]);
|
package/package.json
CHANGED
|
@@ -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_COUNT_LIMIT_REACHED" | "NODE_EXECUTION" | "LLM_PROVIDER";
|
|
10
10
|
}
|
|
@@ -28,4 +28,9 @@ 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_([
|
|
31
|
+
exports.WorkflowExecutionEventErrorCode = core.serialization.enum_([
|
|
32
|
+
"WORKFLOW_INITIALIZATION",
|
|
33
|
+
"NODE_EXECUTION_COUNT_LIMIT_REACHED",
|
|
34
|
+
"NODE_EXECUTION",
|
|
35
|
+
"LLM_PROVIDER",
|
|
36
|
+
]);
|