@orq-ai/node 4.17.5 → 4.17.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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdeploymentversions.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +3 -3
- package/packages/orq-rc/src/funcs/feedbackCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/feedbackRemove.ts +3 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +1 -1
- package/packages/orq-rc/src/models/components/autorouterconfig.ts +21 -0
- package/packages/orq-rc/src/models/components/autorouterv2config.ts +54 -0
- package/packages/orq-rc/src/models/components/autorouterv2creatorconfig.ts +9 -0
- package/packages/orq-rc/src/models/components/autorouterv2effortconfig.ts +18 -0
- package/packages/orq-rc/src/models/components/budgetmatch.ts +1 -1
- package/packages/orq-rc/src/models/components/classifyretryconfig.ts +5 -5
- package/packages/orq-rc/src/models/components/createmcpgatewayrequest.ts +18 -0
- package/packages/orq-rc/src/models/components/createmcpserverrequest.ts +11 -0
- package/packages/orq-rc/src/models/components/creatememorystorerequest.ts +1 -1
- package/packages/orq-rc/src/models/components/embeddingretryconfig.ts +5 -5
- package/packages/orq-rc/src/models/components/evaluatorcalltimeout.ts +42 -0
- package/packages/orq-rc/src/models/components/evaluatorretryconfig.ts +45 -0
- package/packages/orq-rc/src/models/components/index.ts +5 -0
- package/packages/orq-rc/src/models/components/invokeevaluatorrequest.ts +19 -0
- package/packages/orq-rc/src/models/components/loadbalancerconfig.ts +24 -2
- package/packages/orq-rc/src/models/components/mcpconnectiontype.ts +1 -0
- package/packages/orq-rc/src/models/components/mcpgateway.ts +12 -0
- package/packages/orq-rc/src/models/components/mcpgatewaytool.ts +6 -0
- package/packages/orq-rc/src/models/components/mcpicon.ts +77 -0
- package/packages/orq-rc/src/models/components/mcpopenapiconfig.ts +54 -0
- package/packages/orq-rc/src/models/components/mcpopenapiconfiginput.ts +51 -0
- package/packages/orq-rc/src/models/components/mcpserver.ts +21 -0
- package/packages/orq-rc/src/models/components/mcptool.ts +46 -0
- package/packages/orq-rc/src/models/components/memorystore.ts +1 -1
- package/packages/orq-rc/src/models/components/modelmetadata.ts +6 -0
- package/packages/orq-rc/src/models/components/reasoning.ts +14 -0
- package/packages/orq-rc/src/models/components/reasoningparam.ts +14 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/responseretryconfig.ts +5 -5
- package/packages/orq-rc/src/models/components/updatemcpgatewayrequest.ts +25 -0
- package/packages/orq-rc/src/models/components/updatemcpserverrequest.ts +11 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +2 -2
- package/packages/orq-rc/src/models/operations/createprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +1 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +2 -1
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +1 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -0
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/listagents.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +3 -1
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +1 -0
- package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +6 -0
- package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +6 -0
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +2 -2
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/sdk/feedback.ts +6 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdeploymentversions.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
|
@@ -155,6 +155,7 @@ export type ModelMetadata = {
|
|
|
155
155
|
supportsThinkingLevelMinimal?: boolean | undefined;
|
|
156
156
|
supportsToolCalling?: boolean | undefined;
|
|
157
157
|
supportsToolChoice?: boolean | undefined;
|
|
158
|
+
supportsTranscription?: boolean | undefined;
|
|
158
159
|
supportsUrlContext?: boolean | undefined;
|
|
159
160
|
supportsUrlResponseFormat?: boolean | undefined;
|
|
160
161
|
supportsVideoInput?: boolean | undefined;
|
|
@@ -295,6 +296,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
295
296
|
supports_thinking_level_minimal: z.boolean().optional(),
|
|
296
297
|
supports_tool_calling: z.boolean().optional(),
|
|
297
298
|
supports_tool_choice: z.boolean().optional(),
|
|
299
|
+
supports_transcription: z.boolean().optional(),
|
|
298
300
|
supports_url_context: z.boolean().optional(),
|
|
299
301
|
supports_url_response_format: z.boolean().optional(),
|
|
300
302
|
supports_video_input: z.boolean().optional(),
|
|
@@ -426,6 +428,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
426
428
|
"supports_thinking_level_minimal": "supportsThinkingLevelMinimal",
|
|
427
429
|
"supports_tool_calling": "supportsToolCalling",
|
|
428
430
|
"supports_tool_choice": "supportsToolChoice",
|
|
431
|
+
"supports_transcription": "supportsTranscription",
|
|
429
432
|
"supports_url_context": "supportsUrlContext",
|
|
430
433
|
"supports_url_response_format": "supportsUrlResponseFormat",
|
|
431
434
|
"supports_video_input": "supportsVideoInput",
|
|
@@ -563,6 +566,7 @@ export type ModelMetadata$Outbound = {
|
|
|
563
566
|
supports_thinking_level_minimal?: boolean | undefined;
|
|
564
567
|
supports_tool_calling?: boolean | undefined;
|
|
565
568
|
supports_tool_choice?: boolean | undefined;
|
|
569
|
+
supports_transcription?: boolean | undefined;
|
|
566
570
|
supports_url_context?: boolean | undefined;
|
|
567
571
|
supports_url_response_format?: boolean | undefined;
|
|
568
572
|
supports_video_input?: boolean | undefined;
|
|
@@ -703,6 +707,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
703
707
|
supportsThinkingLevelMinimal: z.boolean().optional(),
|
|
704
708
|
supportsToolCalling: z.boolean().optional(),
|
|
705
709
|
supportsToolChoice: z.boolean().optional(),
|
|
710
|
+
supportsTranscription: z.boolean().optional(),
|
|
706
711
|
supportsUrlContext: z.boolean().optional(),
|
|
707
712
|
supportsUrlResponseFormat: z.boolean().optional(),
|
|
708
713
|
supportsVideoInput: z.boolean().optional(),
|
|
@@ -834,6 +839,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
834
839
|
supportsThinkingLevelMinimal: "supports_thinking_level_minimal",
|
|
835
840
|
supportsToolCalling: "supports_tool_calling",
|
|
836
841
|
supportsToolChoice: "supports_tool_choice",
|
|
842
|
+
supportsTranscription: "supports_transcription",
|
|
837
843
|
supportsUrlContext: "supports_url_context",
|
|
838
844
|
supportsUrlResponseFormat: "supports_url_response_format",
|
|
839
845
|
supportsVideoInput: "supports_video_input",
|
|
@@ -8,6 +8,13 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
+
export const ReasoningContext = {
|
|
12
|
+
Auto: "auto",
|
|
13
|
+
CurrentTurn: "current_turn",
|
|
14
|
+
AllTurns: "all_turns",
|
|
15
|
+
} as const;
|
|
16
|
+
export type ReasoningContext = ClosedEnum<typeof ReasoningContext>;
|
|
17
|
+
|
|
11
18
|
/**
|
|
12
19
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
13
20
|
*/
|
|
@@ -40,6 +47,7 @@ export const ReasoningSummary = {
|
|
|
40
47
|
export type ReasoningSummary = ClosedEnum<typeof ReasoningSummary>;
|
|
41
48
|
|
|
42
49
|
export type Reasoning = {
|
|
50
|
+
context?: ReasoningContext | undefined;
|
|
43
51
|
/**
|
|
44
52
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
45
53
|
*/
|
|
@@ -50,6 +58,11 @@ export type Reasoning = {
|
|
|
50
58
|
summary?: ReasoningSummary | null | undefined;
|
|
51
59
|
};
|
|
52
60
|
|
|
61
|
+
/** @internal */
|
|
62
|
+
export const ReasoningContext$inboundSchema: z.ZodNativeEnum<
|
|
63
|
+
typeof ReasoningContext
|
|
64
|
+
> = z.nativeEnum(ReasoningContext);
|
|
65
|
+
|
|
53
66
|
/** @internal */
|
|
54
67
|
export const ReasoningEffort1$inboundSchema: z.ZodNativeEnum<
|
|
55
68
|
typeof ReasoningEffort1
|
|
@@ -66,6 +79,7 @@ export const Reasoning$inboundSchema: z.ZodType<
|
|
|
66
79
|
z.ZodTypeDef,
|
|
67
80
|
unknown
|
|
68
81
|
> = z.object({
|
|
82
|
+
context: ReasoningContext$inboundSchema.optional(),
|
|
69
83
|
effort: ReasoningEffort1$inboundSchema.optional(),
|
|
70
84
|
summary: z.nullable(ReasoningSummary$inboundSchema).optional(),
|
|
71
85
|
});
|
|
@@ -5,6 +5,13 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
|
+
export const Context = {
|
|
9
|
+
Auto: "auto",
|
|
10
|
+
CurrentTurn: "current_turn",
|
|
11
|
+
AllTurns: "all_turns",
|
|
12
|
+
} as const;
|
|
13
|
+
export type Context = ClosedEnum<typeof Context>;
|
|
14
|
+
|
|
8
15
|
/**
|
|
9
16
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
10
17
|
*/
|
|
@@ -37,6 +44,7 @@ export const Summary = {
|
|
|
37
44
|
export type Summary = ClosedEnum<typeof Summary>;
|
|
38
45
|
|
|
39
46
|
export type ReasoningParam = {
|
|
47
|
+
context?: Context | undefined;
|
|
40
48
|
/**
|
|
41
49
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
42
50
|
*/
|
|
@@ -47,6 +55,10 @@ export type ReasoningParam = {
|
|
|
47
55
|
summary?: Summary | undefined;
|
|
48
56
|
};
|
|
49
57
|
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const Context$outboundSchema: z.ZodNativeEnum<typeof Context> = z
|
|
60
|
+
.nativeEnum(Context);
|
|
61
|
+
|
|
50
62
|
/** @internal */
|
|
51
63
|
export const Effort$outboundSchema: z.ZodNativeEnum<typeof Effort> = z
|
|
52
64
|
.nativeEnum(Effort);
|
|
@@ -57,6 +69,7 @@ export const Summary$outboundSchema: z.ZodNativeEnum<typeof Summary> = z
|
|
|
57
69
|
|
|
58
70
|
/** @internal */
|
|
59
71
|
export type ReasoningParam$Outbound = {
|
|
72
|
+
context?: string | undefined;
|
|
60
73
|
effort?: string | undefined;
|
|
61
74
|
summary?: string | undefined;
|
|
62
75
|
};
|
|
@@ -67,6 +80,7 @@ export const ReasoningParam$outboundSchema: z.ZodType<
|
|
|
67
80
|
z.ZodTypeDef,
|
|
68
81
|
ReasoningParam
|
|
69
82
|
> = z.object({
|
|
83
|
+
context: Context$outboundSchema.optional(),
|
|
70
84
|
effort: Effort$outboundSchema.optional(),
|
|
71
85
|
summary: Summary$outboundSchema.optional(),
|
|
72
86
|
});
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01m5vrfsn891ncytmy7x3hx50y"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -7,19 +7,19 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
|
|
8
8
|
export type ResponseRetryConfig = {
|
|
9
9
|
/**
|
|
10
|
-
* Number of retries (
|
|
10
|
+
* Number of retries per model after the initial attempt (0-5). Set 0 to disable retries. When retry is omitted, the gateway retries twice.
|
|
11
11
|
*/
|
|
12
12
|
count: number;
|
|
13
13
|
/**
|
|
14
|
-
* HTTP status codes that trigger a retry
|
|
14
|
+
* HTTP status codes that trigger a retry. Defaults to [408, 429, 500, 502, 503, 504, 529].
|
|
15
15
|
*/
|
|
16
|
-
onCodes
|
|
16
|
+
onCodes?: Array<number> | null | undefined;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
/** @internal */
|
|
20
20
|
export type ResponseRetryConfig$Outbound = {
|
|
21
21
|
count: number;
|
|
22
|
-
on_codes
|
|
22
|
+
on_codes?: Array<number> | null | undefined;
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
/** @internal */
|
|
@@ -29,7 +29,7 @@ export const ResponseRetryConfig$outboundSchema: z.ZodType<
|
|
|
29
29
|
ResponseRetryConfig
|
|
30
30
|
> = z.object({
|
|
31
31
|
count: z.number().int(),
|
|
32
|
-
onCodes: z.nullable(z.array(z.number().int())),
|
|
32
|
+
onCodes: z.nullable(z.array(z.number().int())).optional(),
|
|
33
33
|
}).transform((v) => {
|
|
34
34
|
return remap$(v, {
|
|
35
35
|
onCodes: "on_codes",
|
|
@@ -18,6 +18,11 @@ import {
|
|
|
18
18
|
McpGatewayServerLink$Outbound,
|
|
19
19
|
McpGatewayServerLink$outboundSchema,
|
|
20
20
|
} from "./mcpgatewayserverlink.js";
|
|
21
|
+
import {
|
|
22
|
+
McpIcon,
|
|
23
|
+
McpIcon$Outbound,
|
|
24
|
+
McpIcon$outboundSchema,
|
|
25
|
+
} from "./mcpicon.js";
|
|
21
26
|
import {
|
|
22
27
|
McpToolNaming,
|
|
23
28
|
McpToolNaming$outboundSchema,
|
|
@@ -71,6 +76,18 @@ export type UpdateMcpGatewayRequest = {
|
|
|
71
76
|
* Set true to stop serving every workspace skill; cannot be combined with `skill_ids`.
|
|
72
77
|
*/
|
|
73
78
|
clearSkillIds?: boolean | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* Replaces the advertised icons when nonempty or when replace_icons is true.
|
|
81
|
+
*/
|
|
82
|
+
icons?: Array<McpIcon> | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* Set true with an empty icons list to restore default ORQ branding.
|
|
85
|
+
*/
|
|
86
|
+
replaceIcons?: boolean | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* Empty restores the default ORQ documentation website.
|
|
89
|
+
*/
|
|
90
|
+
websiteUrl?: string | undefined;
|
|
74
91
|
};
|
|
75
92
|
|
|
76
93
|
/** @internal */
|
|
@@ -86,6 +103,9 @@ export type UpdateMcpGatewayRequest$Outbound = {
|
|
|
86
103
|
plugins?: Array<McpGatewayPlugin$Outbound> | undefined;
|
|
87
104
|
skill_ids?: Array<string> | undefined;
|
|
88
105
|
clear_skill_ids?: boolean | undefined;
|
|
106
|
+
icons?: Array<McpIcon$Outbound> | undefined;
|
|
107
|
+
replace_icons?: boolean | undefined;
|
|
108
|
+
website_url?: string | undefined;
|
|
89
109
|
};
|
|
90
110
|
|
|
91
111
|
/** @internal */
|
|
@@ -105,6 +125,9 @@ export const UpdateMcpGatewayRequest$outboundSchema: z.ZodType<
|
|
|
105
125
|
plugins: z.array(McpGatewayPlugin$outboundSchema).optional(),
|
|
106
126
|
skillIds: z.array(z.string()).optional(),
|
|
107
127
|
clearSkillIds: z.boolean().optional(),
|
|
128
|
+
icons: z.array(McpIcon$outboundSchema).optional(),
|
|
129
|
+
replaceIcons: z.boolean().optional(),
|
|
130
|
+
websiteUrl: z.string().optional(),
|
|
108
131
|
}).transform((v) => {
|
|
109
132
|
return remap$(v, {
|
|
110
133
|
displayName: "display_name",
|
|
@@ -113,6 +136,8 @@ export const UpdateMcpGatewayRequest$outboundSchema: z.ZodType<
|
|
|
113
136
|
clearServerLinks: "clear_server_links",
|
|
114
137
|
skillIds: "skill_ids",
|
|
115
138
|
clearSkillIds: "clear_skill_ids",
|
|
139
|
+
replaceIcons: "replace_icons",
|
|
140
|
+
websiteUrl: "website_url",
|
|
116
141
|
});
|
|
117
142
|
});
|
|
118
143
|
|
|
@@ -14,6 +14,11 @@ import {
|
|
|
14
14
|
McpConnection$Outbound,
|
|
15
15
|
McpConnection$outboundSchema,
|
|
16
16
|
} from "./mcpconnection.js";
|
|
17
|
+
import {
|
|
18
|
+
McpOpenApiConfigInput,
|
|
19
|
+
McpOpenApiConfigInput$Outbound,
|
|
20
|
+
McpOpenApiConfigInput$outboundSchema,
|
|
21
|
+
} from "./mcpopenapiconfiginput.js";
|
|
17
22
|
import {
|
|
18
23
|
McpToolExposure,
|
|
19
24
|
McpToolExposure$Outbound,
|
|
@@ -58,6 +63,10 @@ export type UpdateMcpServerRequest = {
|
|
|
58
63
|
* Which projects in the workspace may use this server. Defaults to every project.
|
|
59
64
|
*/
|
|
60
65
|
sharing?: Sharing | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Recompiles the tools of an OpenAPI server; without `document` the stored `document_url` is fetched again.
|
|
68
|
+
*/
|
|
69
|
+
openapi?: McpOpenApiConfigInput | undefined;
|
|
61
70
|
};
|
|
62
71
|
|
|
63
72
|
/** @internal */
|
|
@@ -69,6 +78,7 @@ export type UpdateMcpServerRequest$Outbound = {
|
|
|
69
78
|
auth?: McpAuthConfig$Outbound | undefined;
|
|
70
79
|
default_tool_exposure?: McpToolExposure$Outbound | undefined;
|
|
71
80
|
sharing?: Sharing$Outbound | undefined;
|
|
81
|
+
openapi?: McpOpenApiConfigInput$Outbound | undefined;
|
|
72
82
|
};
|
|
73
83
|
|
|
74
84
|
/** @internal */
|
|
@@ -84,6 +94,7 @@ export const UpdateMcpServerRequest$outboundSchema: z.ZodType<
|
|
|
84
94
|
auth: McpAuthConfig$outboundSchema.optional(),
|
|
85
95
|
defaultToolExposure: McpToolExposure$outboundSchema.optional(),
|
|
86
96
|
sharing: Sharing$outboundSchema.optional(),
|
|
97
|
+
openapi: McpOpenApiConfigInput$outboundSchema.optional(),
|
|
87
98
|
}).transform((v) => {
|
|
88
99
|
return remap$(v, {
|
|
89
100
|
displayName: "display_name",
|
|
@@ -1063,7 +1063,7 @@ export type CreateAgentRequestGuardrails = {
|
|
|
1063
1063
|
*/
|
|
1064
1064
|
export type Settings = {
|
|
1065
1065
|
/**
|
|
1066
|
-
* Maximum iterations(
|
|
1066
|
+
* Maximum iterations (LLM calls) before the agent will stop executing.
|
|
1067
1067
|
*/
|
|
1068
1068
|
maxIterations?: number | undefined;
|
|
1069
1069
|
/**
|
|
@@ -1400,7 +1400,7 @@ export type CreateAgentRequestAgentsGuardrails = {
|
|
|
1400
1400
|
|
|
1401
1401
|
export type CreateAgentRequestSettings = {
|
|
1402
1402
|
/**
|
|
1403
|
-
* Maximum iterations(
|
|
1403
|
+
* Maximum iterations (LLM calls) before the agent will stop executing.
|
|
1404
1404
|
*/
|
|
1405
1405
|
maxIterations: number;
|
|
1406
1406
|
/**
|
|
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1575
1575
|
z.ZodTypeDef,
|
|
1576
1576
|
unknown
|
|
1577
1577
|
> = z.object({
|
|
1578
|
-
_id: z.string().default("
|
|
1578
|
+
_id: z.string().default("tool_01M5VRFSS31TWEXZNJC5GEMY82"),
|
|
1579
1579
|
path: z.string(),
|
|
1580
1580
|
key: z.string(),
|
|
1581
1581
|
display_name: z.string().optional(),
|
|
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1761
1761
|
z.ZodTypeDef,
|
|
1762
1762
|
unknown
|
|
1763
1763
|
> = z.object({
|
|
1764
|
-
_id: z.string().default("
|
|
1764
|
+
_id: z.string().default("tool_01M5VRFSS22VV9V7N8BF6F3SDS"),
|
|
1765
1765
|
path: z.string(),
|
|
1766
1766
|
key: z.string(),
|
|
1767
1767
|
display_name: z.string().optional(),
|
|
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1854
1854
|
z.ZodTypeDef,
|
|
1855
1855
|
unknown
|
|
1856
1856
|
> = z.object({
|
|
1857
|
-
_id: z.string().default("
|
|
1857
|
+
_id: z.string().default("tool_01M5VRFSS26YC3WX23QR4KDWXG"),
|
|
1858
1858
|
path: z.string(),
|
|
1859
1859
|
key: z.string(),
|
|
1860
1860
|
display_name: z.string().optional(),
|
|
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1955
1955
|
z.ZodTypeDef,
|
|
1956
1956
|
unknown
|
|
1957
1957
|
> = z.object({
|
|
1958
|
-
_id: z.string().default("
|
|
1958
|
+
_id: z.string().default("tool_01M5VRFSS2YMR11DXW5QQP8M1S"),
|
|
1959
1959
|
path: z.string(),
|
|
1960
1960
|
key: z.string(),
|
|
1961
1961
|
display_name: z.string().optional(),
|
|
@@ -489,6 +489,7 @@ export const DeploymentsProvider = {
|
|
|
489
489
|
Scaleway: "scaleway",
|
|
490
490
|
Hcompany: "hcompany",
|
|
491
491
|
Inception: "inception",
|
|
492
|
+
Munito: "munito",
|
|
492
493
|
Inceptron: "inceptron",
|
|
493
494
|
Wafer: "wafer",
|
|
494
495
|
Poolside: "poolside",
|
|
@@ -667,7 +668,7 @@ export type DeploymentsData = {
|
|
|
667
668
|
description: string;
|
|
668
669
|
promptConfig: DeploymentsPromptConfig;
|
|
669
670
|
/**
|
|
670
|
-
*
|
|
671
|
+
* The version of the deployment
|
|
671
672
|
*/
|
|
672
673
|
version: string;
|
|
673
674
|
};
|
|
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
639
639
|
z.ZodTypeDef,
|
|
640
640
|
unknown
|
|
641
641
|
> = z.object({
|
|
642
|
-
_id: z.string().default("
|
|
642
|
+
_id: z.string().default("tool_01M5VRFSRWNJ2ZDT2904SYT9BA"),
|
|
643
643
|
path: z.string(),
|
|
644
644
|
key: z.string(),
|
|
645
645
|
display_name: z.string().optional(),
|
|
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
821
821
|
z.ZodTypeDef,
|
|
822
822
|
unknown
|
|
823
823
|
> = z.object({
|
|
824
|
-
_id: z.string().default("
|
|
824
|
+
_id: z.string().default("tool_01M5VRFSRVDG2BB1ZKWJAJ06JN"),
|
|
825
825
|
path: z.string(),
|
|
826
826
|
key: z.string(),
|
|
827
827
|
display_name: z.string().optional(),
|
|
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
914
914
|
z.ZodTypeDef,
|
|
915
915
|
unknown
|
|
916
916
|
> = z.object({
|
|
917
|
-
_id: z.string().default("
|
|
917
|
+
_id: z.string().default("tool_01M5VRFSRVST90H1PWH80V6H1X"),
|
|
918
918
|
path: z.string(),
|
|
919
919
|
key: z.string(),
|
|
920
920
|
display_name: z.string().optional(),
|
|
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1012
1012
|
z.ZodTypeDef,
|
|
1013
1013
|
unknown
|
|
1014
1014
|
> = z.object({
|
|
1015
|
-
_id: z.string().default("
|
|
1015
|
+
_id: z.string().default("tool_01M5VRFSRTRQ6E5HC2N7Y63XQX"),
|
|
1016
1016
|
path: z.string(),
|
|
1017
1017
|
key: z.string(),
|
|
1018
1018
|
display_name: z.string().optional(),
|
|
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
140
140
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
141
|
.optional(),
|
|
142
142
|
updated: z.string().datetime({ offset: true }).default(
|
|
143
|
-
"2026-10-
|
|
143
|
+
"2026-10-26T09:25:48.817Z",
|
|
144
144
|
).transform(v => new Date(v)),
|
|
145
145
|
filter_type: z.literal("name"),
|
|
146
146
|
filter_value: z.string(),
|
|
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
185
185
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
186
186
|
.optional(),
|
|
187
187
|
updated: z.string().datetime({ offset: true }).default(
|
|
188
|
-
"2026-10-
|
|
188
|
+
"2026-10-26T09:25:48.817Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-10-
|
|
144
|
+
"2026-10-26T09:25:48.817Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-10-
|
|
189
|
+
"2026-10-26T09:25:48.817Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -243,7 +243,7 @@ export type ListAgentsGuardrails = {
|
|
|
243
243
|
|
|
244
244
|
export type ListAgentsSettings = {
|
|
245
245
|
/**
|
|
246
|
-
* Maximum iterations(
|
|
246
|
+
* Maximum iterations (LLM calls) before the agent will stop executing.
|
|
247
247
|
*/
|
|
248
248
|
maxIterations: number;
|
|
249
249
|
/**
|
|
@@ -446,6 +446,7 @@ export const ListDeploymentVersionsProvider = {
|
|
|
446
446
|
Scaleway: "scaleway",
|
|
447
447
|
Hcompany: "hcompany",
|
|
448
448
|
Inception: "inception",
|
|
449
|
+
Munito: "munito",
|
|
449
450
|
Inceptron: "inceptron",
|
|
450
451
|
Wafer: "wafer",
|
|
451
452
|
Poolside: "poolside",
|
|
@@ -1048,6 +1049,7 @@ export const ListDeploymentVersionsDeploymentsProvider = {
|
|
|
1048
1049
|
Scaleway: "scaleway",
|
|
1049
1050
|
Hcompany: "hcompany",
|
|
1050
1051
|
Inception: "inception",
|
|
1052
|
+
Munito: "munito",
|
|
1051
1053
|
Inceptron: "inceptron",
|
|
1052
1054
|
Wafer: "wafer",
|
|
1053
1055
|
Poolside: "poolside",
|
|
@@ -2527,7 +2529,7 @@ export const ListDeploymentVersionsKnowledgeBases$inboundSchema: z.ZodType<
|
|
|
2527
2529
|
z.ZodTypeDef,
|
|
2528
2530
|
unknown
|
|
2529
2531
|
> = z.object({
|
|
2530
|
-
id: z.string().default("
|
|
2532
|
+
id: z.string().default("01M5VRFSM0DWBYJ4KAXGZY1ZDX"),
|
|
2531
2533
|
knowledge_id: z.string(),
|
|
2532
2534
|
configuration: z.union([
|
|
2533
2535
|
z.lazy(() => KnowledgeBaseLastUserMessage$inboundSchema),
|
|
@@ -13,7 +13,13 @@ export type ModelCreateAwsBedrockRequestBody = {
|
|
|
13
13
|
assumeRoleArn?: string | undefined;
|
|
14
14
|
assumeRoleExternalId?: string | undefined;
|
|
15
15
|
authMode: string;
|
|
16
|
+
/**
|
|
17
|
+
* Smart Router catalog identifier of the model. Set it together with autorouter_version to make the private model eligible for Smart Router pools.
|
|
18
|
+
*/
|
|
16
19
|
autorouterId?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Version of the Smart Router catalog entry, set with autorouter_id.
|
|
22
|
+
*/
|
|
17
23
|
autorouterVersion?: string | undefined;
|
|
18
24
|
benchmarkModel?: string | undefined;
|
|
19
25
|
cacheReadCost?: number | undefined;
|
|
@@ -12,7 +12,13 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
export type ModelUpdateAwsBedrockRequestBody = {
|
|
13
13
|
assumeRoleArn?: string | undefined;
|
|
14
14
|
assumeRoleExternalId?: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Smart Router catalog identifier of the model. Set it together with autorouter_version to make the private model eligible for Smart Router pools.
|
|
17
|
+
*/
|
|
15
18
|
autorouterId?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Version of the Smart Router catalog entry, set with autorouter_id.
|
|
21
|
+
*/
|
|
16
22
|
autorouterVersion?: string | undefined;
|
|
17
23
|
benchmarkModel?: string | undefined;
|
|
18
24
|
cacheReadCost?: number | undefined;
|
|
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
318
318
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
319
319
|
.optional(),
|
|
320
320
|
updated: z.string().datetime({ offset: true }).default(
|
|
321
|
-
"2026-10-
|
|
321
|
+
"2026-10-26T09:25:48.817Z",
|
|
322
322
|
).transform(v => new Date(v)),
|
|
323
323
|
filter_type: z.literal("name"),
|
|
324
324
|
filter_value: z.string(),
|
|
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
364
364
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
365
365
|
.optional(),
|
|
366
366
|
updated: z.string().datetime({ offset: true }).default(
|
|
367
|
-
"2026-10-
|
|
367
|
+
"2026-10-26T09:25:48.817Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -257,7 +257,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
257
257
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
258
258
|
.optional(),
|
|
259
259
|
updated: z.string().datetime({ offset: true }).default(
|
|
260
|
-
"2026-10-
|
|
260
|
+
"2026-10-26T09:25:48.817Z",
|
|
261
261
|
).transform(v => new Date(v)),
|
|
262
262
|
filter_type: z.literal("name"),
|
|
263
263
|
filter_value: z.string(),
|
|
@@ -302,7 +302,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
302
302
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
303
303
|
.optional(),
|
|
304
304
|
updated: z.string().datetime({ offset: true }).default(
|
|
305
|
-
"2026-10-
|
|
305
|
+
"2026-10-26T09:25:48.817Z",
|
|
306
306
|
).transform(v => new Date(v)),
|
|
307
307
|
filter_type: z.literal("span_type"),
|
|
308
308
|
filter_values: z.array(z.string()),
|
|
@@ -225,7 +225,7 @@ export type RetrieveAgentRequestGuardrails = {
|
|
|
225
225
|
|
|
226
226
|
export type RetrieveAgentRequestSettings = {
|
|
227
227
|
/**
|
|
228
|
-
* Maximum iterations(
|
|
228
|
+
* Maximum iterations (LLM calls) before the agent will stop executing.
|
|
229
229
|
*/
|
|
230
230
|
maxIterations: number;
|
|
231
231
|
/**
|
|
@@ -624,7 +624,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
624
624
|
z.ZodTypeDef,
|
|
625
625
|
unknown
|
|
626
626
|
> = z.object({
|
|
627
|
-
_id: z.string().default("
|
|
627
|
+
_id: z.string().default("tool_01M5VRFSSACXH0GHDS2GQ5MC12"),
|
|
628
628
|
path: z.string(),
|
|
629
629
|
key: z.string(),
|
|
630
630
|
display_name: z.string().optional(),
|
|
@@ -820,7 +820,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
820
820
|
z.ZodTypeDef,
|
|
821
821
|
unknown
|
|
822
822
|
> = z.object({
|
|
823
|
-
_id: z.string().default("
|
|
823
|
+
_id: z.string().default("tool_01M5VRFSSAGFEA36Y5CSYFR8Z1"),
|
|
824
824
|
path: z.string(),
|
|
825
825
|
key: z.string(),
|
|
826
826
|
display_name: z.string().optional(),
|
|
@@ -916,7 +916,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
916
916
|
z.ZodTypeDef,
|
|
917
917
|
unknown
|
|
918
918
|
> = z.object({
|
|
919
|
-
_id: z.string().default("
|
|
919
|
+
_id: z.string().default("tool_01M5VRFSS9YSQE910XHQJK8J3P"),
|
|
920
920
|
path: z.string(),
|
|
921
921
|
key: z.string(),
|
|
922
922
|
display_name: z.string().optional(),
|
|
@@ -1022,7 +1022,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1022
1022
|
z.ZodTypeDef,
|
|
1023
1023
|
unknown
|
|
1024
1024
|
> = z.object({
|
|
1025
|
-
_id: z.string().default("
|
|
1025
|
+
_id: z.string().default("tool_01M5VRFSS9C0F45BQC7SR3EM6H"),
|
|
1026
1026
|
path: z.string(),
|
|
1027
1027
|
key: z.string(),
|
|
1028
1028
|
display_name: z.string().optional(),
|
|
@@ -1705,7 +1705,7 @@ export type RunAgentSettings = {
|
|
|
1705
1705
|
*/
|
|
1706
1706
|
toolApprovalRequired?: RunAgentToolApprovalRequired | undefined;
|
|
1707
1707
|
/**
|
|
1708
|
-
* Maximum iterations(
|
|
1708
|
+
* Maximum iterations (LLM calls) before the agent will stop executing.
|
|
1709
1709
|
*/
|
|
1710
1710
|
maxIterations?: number | undefined;
|
|
1711
1711
|
/**
|
|
@@ -3906,7 +3906,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3906
3906
|
z.ZodTypeDef,
|
|
3907
3907
|
Tools
|
|
3908
3908
|
> = z.object({
|
|
3909
|
-
id: z.string().default("
|
|
3909
|
+
id: z.string().default("01M5VRFSPWMDGXKRKTK271SQ3K"),
|
|
3910
3910
|
name: z.string(),
|
|
3911
3911
|
description: z.string().optional(),
|
|
3912
3912
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|