@orq-ai/node 4.16.14 → 4.16.16
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/postv2feedbackevaluation.js +4 -4
- 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 +8 -8
- package/packages/orq-rc/src/funcs/mcpGatewaysList.ts +0 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +6 -0
- package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +6 -0
- package/packages/orq-rc/src/models/components/cachewritetokensdetails.ts +39 -0
- package/packages/orq-rc/src/models/components/filecontentpartschema.ts +1 -1
- package/packages/orq-rc/src/models/components/index.ts +2 -1
- package/packages/orq-rc/src/models/components/inputtokensdetails.ts +7 -0
- package/packages/orq-rc/src/models/components/litellmmodel.ts +4 -0
- package/packages/orq-rc/src/models/components/mcpgateway.ts +0 -6
- package/packages/orq-rc/src/models/components/mcptoolinput.ts +7 -7
- package/packages/orq-rc/src/models/components/modelconfigurationresponse.ts +3 -0
- package/packages/orq-rc/src/models/components/modelmetadata.ts +12 -0
- package/packages/orq-rc/src/models/components/openaipromptcacheoptions.ts +1 -0
- package/packages/orq-rc/src/models/components/orqadvisortool.ts +1 -0
- package/packages/orq-rc/src/models/components/orqsidekicktool.ts +1 -0
- package/packages/orq-rc/src/models/components/pricing.ts +6 -0
- package/packages/orq-rc/src/models/components/pricingvariant.ts +6 -0
- package/packages/orq-rc/src/models/components/privatemodelconfiguration.ts +39 -0
- package/packages/orq-rc/src/models/components/publicresponseresource.ts +1 -1
- package/packages/orq-rc/src/models/components/reasoning.ts +1 -0
- package/packages/orq-rc/src/models/components/reasoningparam.ts +1 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/redactresponse.ts +1 -1
- package/packages/orq-rc/src/models/components/updatemcpgatewayrequest.ts +0 -7
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +34 -24
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +7 -6
- package/packages/orq-rc/src/models/operations/createprompt.ts +16 -13
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +225 -20
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +1 -1
- 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 +9 -7
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +9 -7
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +9 -7
- 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 +20 -12
- package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +4 -2
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +9 -7
- package/packages/orq-rc/src/models/operations/mcpgatewaylist.ts +0 -7
- package/packages/orq-rc/src/models/operations/modelcreate.ts +3 -0
- package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +6 -0
- package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +6 -0
- package/packages/orq-rc/src/models/operations/modelcreatevertex.ts +7 -0
- package/packages/orq-rc/src/models/operations/modelupdate.ts +7 -0
- package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +3 -0
- package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +3 -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 +20 -12
- package/packages/orq-rc/src/models/operations/retrieveresponse.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +15 -13
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +15 -13
- package/packages/orq-rc/src/models/operations/updateagent.ts +34 -24
- package/packages/orq-rc/src/models/operations/updateprompt.ts +16 -13
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- 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/postv2feedbackevaluation.ts +4 -4
- 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
- package/packages/orq-rc/src/models/components/mcpgatewaystatus.ts +0 -21
|
@@ -18,6 +18,7 @@ export type ModelCreateAwsBedrockRequestBody = {
|
|
|
18
18
|
benchmarkModel?: string | undefined;
|
|
19
19
|
cacheReadCost?: number | undefined;
|
|
20
20
|
cacheWriteCost?: number | undefined;
|
|
21
|
+
configuration?: components.PrivateModelConfiguration | undefined;
|
|
21
22
|
description?: string | undefined;
|
|
22
23
|
displayName: string;
|
|
23
24
|
hasReasoning?: boolean | undefined;
|
|
@@ -26,6 +27,9 @@ export type ModelCreateAwsBedrockRequestBody = {
|
|
|
26
27
|
maxTokens?: number | undefined;
|
|
27
28
|
modelDeveloper: string;
|
|
28
29
|
modelFamily?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Immutable workspace-unique slug when configuration.model_id is supplied.
|
|
32
|
+
*/
|
|
29
33
|
modelId: string;
|
|
30
34
|
modelType?: string | undefined;
|
|
31
35
|
outputCost?: number | undefined;
|
|
@@ -88,6 +92,7 @@ export type ModelCreateAwsBedrockRequestBody$Outbound = {
|
|
|
88
92
|
benchmark_model?: string | undefined;
|
|
89
93
|
cache_read_cost?: number | undefined;
|
|
90
94
|
cache_write_cost?: number | undefined;
|
|
95
|
+
configuration?: components.PrivateModelConfiguration$Outbound | undefined;
|
|
91
96
|
description?: string | undefined;
|
|
92
97
|
display_name: string;
|
|
93
98
|
has_reasoning?: boolean | undefined;
|
|
@@ -124,6 +129,7 @@ export const ModelCreateAwsBedrockRequestBody$outboundSchema: z.ZodType<
|
|
|
124
129
|
benchmarkModel: z.string().optional(),
|
|
125
130
|
cacheReadCost: z.number().optional(),
|
|
126
131
|
cacheWriteCost: z.number().optional(),
|
|
132
|
+
configuration: components.PrivateModelConfiguration$outboundSchema.optional(),
|
|
127
133
|
description: z.string().optional(),
|
|
128
134
|
displayName: z.string(),
|
|
129
135
|
hasReasoning: z.boolean().optional(),
|
|
@@ -15,12 +15,16 @@ export type ModelCreateOpenAILikeRequestBody = {
|
|
|
15
15
|
benchmarkModel?: string | undefined;
|
|
16
16
|
cacheReadCost?: number | undefined;
|
|
17
17
|
cacheWriteCost?: number | undefined;
|
|
18
|
+
configuration?: components.PrivateModelConfiguration | undefined;
|
|
18
19
|
costPerImage?: number | undefined;
|
|
19
20
|
description?: string | undefined;
|
|
20
21
|
displayName: string;
|
|
21
22
|
hasReasoning?: boolean | undefined;
|
|
22
23
|
inputCost?: number | undefined;
|
|
23
24
|
maxTokens?: number | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Immutable workspace-unique slug when configuration.model_id is supplied.
|
|
27
|
+
*/
|
|
24
28
|
modelId: string;
|
|
25
29
|
modelType: string;
|
|
26
30
|
outputCost?: number | undefined;
|
|
@@ -77,6 +81,7 @@ export type ModelCreateOpenAILikeRequestBody$Outbound = {
|
|
|
77
81
|
benchmark_model?: string | undefined;
|
|
78
82
|
cache_read_cost?: number | undefined;
|
|
79
83
|
cache_write_cost?: number | undefined;
|
|
84
|
+
configuration?: components.PrivateModelConfiguration$Outbound | undefined;
|
|
80
85
|
cost_per_image?: number | undefined;
|
|
81
86
|
description?: string | undefined;
|
|
82
87
|
display_name: string;
|
|
@@ -105,6 +110,7 @@ export const ModelCreateOpenAILikeRequestBody$outboundSchema: z.ZodType<
|
|
|
105
110
|
benchmarkModel: z.string().optional(),
|
|
106
111
|
cacheReadCost: z.number().optional(),
|
|
107
112
|
cacheWriteCost: z.number().optional(),
|
|
113
|
+
configuration: components.PrivateModelConfiguration$outboundSchema.optional(),
|
|
108
114
|
costPerImage: z.number().optional(),
|
|
109
115
|
description: z.string().optional(),
|
|
110
116
|
displayName: z.string(),
|
|
@@ -13,6 +13,10 @@ export type ModelCreateVertexRequestBody = {
|
|
|
13
13
|
benchmarkModel?: string | undefined;
|
|
14
14
|
configuration: components.VertexConfiguration;
|
|
15
15
|
displayName: string;
|
|
16
|
+
/**
|
|
17
|
+
* Immutable private-model slug; defaults to display_name.
|
|
18
|
+
*/
|
|
19
|
+
modelId?: string | undefined;
|
|
16
20
|
};
|
|
17
21
|
|
|
18
22
|
/**
|
|
@@ -58,6 +62,7 @@ export type ModelCreateVertexRequestBody$Outbound = {
|
|
|
58
62
|
benchmark_model?: string | undefined;
|
|
59
63
|
configuration: components.VertexConfiguration$Outbound;
|
|
60
64
|
display_name: string;
|
|
65
|
+
model_id?: string | undefined;
|
|
61
66
|
};
|
|
62
67
|
|
|
63
68
|
/** @internal */
|
|
@@ -69,10 +74,12 @@ export const ModelCreateVertexRequestBody$outboundSchema: z.ZodType<
|
|
|
69
74
|
benchmarkModel: z.string().optional(),
|
|
70
75
|
configuration: components.VertexConfiguration$outboundSchema,
|
|
71
76
|
displayName: z.string(),
|
|
77
|
+
modelId: z.string().optional(),
|
|
72
78
|
}).transform((v) => {
|
|
73
79
|
return remap$(v, {
|
|
74
80
|
benchmarkModel: "benchmark_model",
|
|
75
81
|
displayName: "display_name",
|
|
82
|
+
modelId: "model_id",
|
|
76
83
|
});
|
|
77
84
|
});
|
|
78
85
|
|
|
@@ -15,6 +15,10 @@ export type ModelUpdateRequestBody = {
|
|
|
15
15
|
hasFunctions?: boolean | undefined;
|
|
16
16
|
inputCost?: number | undefined;
|
|
17
17
|
metadata?: components.ModelMetadata | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Immutable private-model slug.
|
|
20
|
+
*/
|
|
21
|
+
modelId?: string | undefined;
|
|
18
22
|
modelType?: string | undefined;
|
|
19
23
|
outputCost?: number | undefined;
|
|
20
24
|
parameters?: Array<components.UpdateModelParameter> | undefined;
|
|
@@ -73,6 +77,7 @@ export type ModelUpdateRequestBody$Outbound = {
|
|
|
73
77
|
has_functions?: boolean | undefined;
|
|
74
78
|
input_cost?: number | undefined;
|
|
75
79
|
metadata?: components.ModelMetadata$Outbound | undefined;
|
|
80
|
+
model_id?: string | undefined;
|
|
76
81
|
model_type?: string | undefined;
|
|
77
82
|
output_cost?: number | undefined;
|
|
78
83
|
parameters?: Array<components.UpdateModelParameter$Outbound> | undefined;
|
|
@@ -89,6 +94,7 @@ export const ModelUpdateRequestBody$outboundSchema: z.ZodType<
|
|
|
89
94
|
hasFunctions: z.boolean().optional(),
|
|
90
95
|
inputCost: z.number().optional(),
|
|
91
96
|
metadata: components.ModelMetadata$outboundSchema.optional(),
|
|
97
|
+
modelId: z.string().optional(),
|
|
92
98
|
modelType: z.string().optional(),
|
|
93
99
|
outputCost: z.number().optional(),
|
|
94
100
|
parameters: z.array(components.UpdateModelParameter$outboundSchema)
|
|
@@ -99,6 +105,7 @@ export const ModelUpdateRequestBody$outboundSchema: z.ZodType<
|
|
|
99
105
|
displayName: "display_name",
|
|
100
106
|
hasFunctions: "has_functions",
|
|
101
107
|
inputCost: "input_cost",
|
|
108
|
+
modelId: "model_id",
|
|
102
109
|
modelType: "model_type",
|
|
103
110
|
outputCost: "output_cost",
|
|
104
111
|
});
|
|
@@ -17,6 +17,7 @@ export type ModelUpdateAwsBedrockRequestBody = {
|
|
|
17
17
|
benchmarkModel?: string | undefined;
|
|
18
18
|
cacheReadCost?: number | undefined;
|
|
19
19
|
cacheWriteCost?: number | undefined;
|
|
20
|
+
configuration?: components.PrivateModelConfiguration | undefined;
|
|
20
21
|
description?: string | undefined;
|
|
21
22
|
displayName?: string | undefined;
|
|
22
23
|
hasReasoning?: boolean | undefined;
|
|
@@ -92,6 +93,7 @@ export type ModelUpdateAwsBedrockRequestBody$Outbound = {
|
|
|
92
93
|
benchmark_model?: string | undefined;
|
|
93
94
|
cache_read_cost?: number | undefined;
|
|
94
95
|
cache_write_cost?: number | undefined;
|
|
96
|
+
configuration?: components.PrivateModelConfiguration$Outbound | undefined;
|
|
95
97
|
description?: string | undefined;
|
|
96
98
|
display_name?: string | undefined;
|
|
97
99
|
has_reasoning?: boolean | undefined;
|
|
@@ -125,6 +127,7 @@ export const ModelUpdateAwsBedrockRequestBody$outboundSchema: z.ZodType<
|
|
|
125
127
|
benchmarkModel: z.string().optional(),
|
|
126
128
|
cacheReadCost: z.number().optional(),
|
|
127
129
|
cacheWriteCost: z.number().optional(),
|
|
130
|
+
configuration: components.PrivateModelConfiguration$outboundSchema.optional(),
|
|
128
131
|
description: z.string().optional(),
|
|
129
132
|
displayName: z.string().optional(),
|
|
130
133
|
hasReasoning: z.boolean().optional(),
|
|
@@ -14,6 +14,7 @@ export type ModelUpdateOpenAILikeRequestBody = {
|
|
|
14
14
|
benchmarkModel?: string | undefined;
|
|
15
15
|
cacheReadCost?: number | undefined;
|
|
16
16
|
cacheWriteCost?: number | undefined;
|
|
17
|
+
configuration?: components.PrivateModelConfiguration | undefined;
|
|
17
18
|
costPerImage?: number | undefined;
|
|
18
19
|
description?: string | undefined;
|
|
19
20
|
displayName: string;
|
|
@@ -83,6 +84,7 @@ export type ModelUpdateOpenAILikeRequestBody$Outbound = {
|
|
|
83
84
|
benchmark_model?: string | undefined;
|
|
84
85
|
cache_read_cost?: number | undefined;
|
|
85
86
|
cache_write_cost?: number | undefined;
|
|
87
|
+
configuration?: components.PrivateModelConfiguration$Outbound | undefined;
|
|
86
88
|
cost_per_image?: number | undefined;
|
|
87
89
|
description?: string | undefined;
|
|
88
90
|
display_name: string;
|
|
@@ -110,6 +112,7 @@ export const ModelUpdateOpenAILikeRequestBody$outboundSchema: z.ZodType<
|
|
|
110
112
|
benchmarkModel: z.string().optional(),
|
|
111
113
|
cacheReadCost: z.number().optional(),
|
|
112
114
|
cacheWriteCost: z.number().optional(),
|
|
115
|
+
configuration: components.PrivateModelConfiguration$outboundSchema.optional(),
|
|
113
116
|
costPerImage: z.number().optional(),
|
|
114
117
|
description: z.string().optional(),
|
|
115
118
|
displayName: z.string(),
|
|
@@ -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-22T10:30:59.385Z",
|
|
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-22T10:30:59.385Z",
|
|
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-22T10:30:59.385Z",
|
|
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-22T10:30:59.385Z",
|
|
306
306
|
).transform(v => new Date(v)),
|
|
307
307
|
filter_type: z.literal("span_type"),
|
|
308
308
|
filter_values: z.array(z.string()),
|
|
@@ -146,6 +146,10 @@ export type RetrieveAgentRequestTools = {
|
|
|
146
146
|
* Nested tool ID for MCP tools (identifies specific tool within MCP server)
|
|
147
147
|
*/
|
|
148
148
|
toolId?: string | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* Set by the API on MCP tools resolved from a whole MCP server or gateway; they are resolved again on every save.
|
|
151
|
+
*/
|
|
152
|
+
wholeServer?: boolean | undefined;
|
|
149
153
|
conditions?: Array<RetrieveAgentRequestConditions> | undefined;
|
|
150
154
|
/**
|
|
151
155
|
* Tool execution timeout in seconds for this agent (max: 10 minutes). Overrides the timeout configured on the tool definition.
|
|
@@ -307,7 +311,7 @@ export type RetrieveAgentRequestResponseFormat =
|
|
|
307
311
|
| RetrieveAgentRequestResponseFormatAgentsJSONSchema;
|
|
308
312
|
|
|
309
313
|
/**
|
|
310
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
314
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `instant`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
311
315
|
*
|
|
312
316
|
* @remarks
|
|
313
317
|
*
|
|
@@ -316,10 +320,11 @@ export type RetrieveAgentRequestResponseFormat =
|
|
|
316
320
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
317
321
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
318
322
|
*
|
|
319
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
323
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
320
324
|
*/
|
|
321
325
|
export const RetrieveAgentRequestReasoningEffort = {
|
|
322
326
|
None: "none",
|
|
327
|
+
Instant: "instant",
|
|
323
328
|
Minimal: "minimal",
|
|
324
329
|
Low: "low",
|
|
325
330
|
Medium: "medium",
|
|
@@ -328,7 +333,7 @@ export const RetrieveAgentRequestReasoningEffort = {
|
|
|
328
333
|
Max: "max",
|
|
329
334
|
} as const;
|
|
330
335
|
/**
|
|
331
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
336
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `instant`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
332
337
|
*
|
|
333
338
|
* @remarks
|
|
334
339
|
*
|
|
@@ -337,7 +342,7 @@ export const RetrieveAgentRequestReasoningEffort = {
|
|
|
337
342
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
338
343
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
339
344
|
*
|
|
340
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
345
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
341
346
|
*/
|
|
342
347
|
export type RetrieveAgentRequestReasoningEffort = ClosedEnum<
|
|
343
348
|
typeof RetrieveAgentRequestReasoningEffort
|
|
@@ -613,7 +618,7 @@ export type RetrieveAgentRequestParameters = {
|
|
|
613
618
|
| RetrieveAgentRequestResponseFormatAgentsJSONSchema
|
|
614
619
|
| undefined;
|
|
615
620
|
/**
|
|
616
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
621
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `instant`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
617
622
|
*
|
|
618
623
|
* @remarks
|
|
619
624
|
*
|
|
@@ -622,7 +627,7 @@ export type RetrieveAgentRequestParameters = {
|
|
|
622
627
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
623
628
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
624
629
|
*
|
|
625
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
630
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
626
631
|
*/
|
|
627
632
|
reasoningEffort?: RetrieveAgentRequestReasoningEffort | undefined;
|
|
628
633
|
/**
|
|
@@ -783,7 +788,7 @@ export type RetrieveAgentRequestFallbackModelConfigurationResponseFormat =
|
|
|
783
788
|
| RetrieveAgentRequestResponseFormatAgentsResponse200JSONSchema;
|
|
784
789
|
|
|
785
790
|
/**
|
|
786
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
791
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `instant`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
787
792
|
*
|
|
788
793
|
* @remarks
|
|
789
794
|
*
|
|
@@ -792,10 +797,11 @@ export type RetrieveAgentRequestFallbackModelConfigurationResponseFormat =
|
|
|
792
797
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
793
798
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
794
799
|
*
|
|
795
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
800
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
796
801
|
*/
|
|
797
802
|
export const RetrieveAgentRequestFallbackModelConfigurationReasoningEffort = {
|
|
798
803
|
None: "none",
|
|
804
|
+
Instant: "instant",
|
|
799
805
|
Minimal: "minimal",
|
|
800
806
|
Low: "low",
|
|
801
807
|
Medium: "medium",
|
|
@@ -804,7 +810,7 @@ export const RetrieveAgentRequestFallbackModelConfigurationReasoningEffort = {
|
|
|
804
810
|
Max: "max",
|
|
805
811
|
} as const;
|
|
806
812
|
/**
|
|
807
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
813
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `instant`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
808
814
|
*
|
|
809
815
|
* @remarks
|
|
810
816
|
*
|
|
@@ -813,7 +819,7 @@ export const RetrieveAgentRequestFallbackModelConfigurationReasoningEffort = {
|
|
|
813
819
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
814
820
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
815
821
|
*
|
|
816
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
822
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
817
823
|
*/
|
|
818
824
|
export type RetrieveAgentRequestFallbackModelConfigurationReasoningEffort =
|
|
819
825
|
ClosedEnum<
|
|
@@ -1091,7 +1097,7 @@ export type RetrieveAgentRequestFallbackModelConfigurationParameters = {
|
|
|
1091
1097
|
| RetrieveAgentRequestResponseFormatAgentsResponse200JSONSchema
|
|
1092
1098
|
| undefined;
|
|
1093
1099
|
/**
|
|
1094
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1100
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `instant`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1095
1101
|
*
|
|
1096
1102
|
* @remarks
|
|
1097
1103
|
*
|
|
@@ -1100,7 +1106,7 @@ export type RetrieveAgentRequestFallbackModelConfigurationParameters = {
|
|
|
1100
1106
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1101
1107
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1102
1108
|
*
|
|
1103
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1109
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1104
1110
|
*/
|
|
1105
1111
|
reasoningEffort?:
|
|
1106
1112
|
| RetrieveAgentRequestFallbackModelConfigurationReasoningEffort
|
|
@@ -1513,6 +1519,7 @@ export const RetrieveAgentRequestTools$inboundSchema: z.ZodType<
|
|
|
1513
1519
|
configuration: z.record(z.any()).optional(),
|
|
1514
1520
|
requires_approval: z.boolean().default(false),
|
|
1515
1521
|
tool_id: z.string().optional(),
|
|
1522
|
+
whole_server: z.boolean().optional(),
|
|
1516
1523
|
conditions: z.array(
|
|
1517
1524
|
z.lazy(() => RetrieveAgentRequestConditions$inboundSchema),
|
|
1518
1525
|
).optional(),
|
|
@@ -1523,6 +1530,7 @@ export const RetrieveAgentRequestTools$inboundSchema: z.ZodType<
|
|
|
1523
1530
|
"display_name": "displayName",
|
|
1524
1531
|
"requires_approval": "requiresApproval",
|
|
1525
1532
|
"tool_id": "toolId",
|
|
1533
|
+
"whole_server": "wholeServer",
|
|
1526
1534
|
});
|
|
1527
1535
|
});
|
|
1528
1536
|
|
|
@@ -68,7 +68,7 @@ export type RetrieveResponseResponseBody = {
|
|
|
68
68
|
maxToolCalls: number | null;
|
|
69
69
|
memory?: components.MemoryParam | undefined;
|
|
70
70
|
/**
|
|
71
|
-
* Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string
|
|
71
|
+
* Developer-defined key-value pairs attached to the response (OpenAI spec: `Map<string, string>`).
|
|
72
72
|
*/
|
|
73
73
|
metadata: { [k: string]: string };
|
|
74
74
|
model: string;
|
|
@@ -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_01M5HJM4V1VYQDFATE6J2MJ9ZB"),
|
|
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_01M5HJM4V15HAHN9K75DNEXQQ6"),
|
|
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_01M5HJM4V00P14HHK1ATR5178C"),
|
|
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_01M5HJM4V0BP337HHVZWYZR1N6"),
|
|
1026
1026
|
path: z.string(),
|
|
1027
1027
|
key: z.string(),
|
|
1028
1028
|
display_name: z.string().optional(),
|
|
@@ -66,7 +66,7 @@ export type RunAgentModelConfigurationResponseFormat =
|
|
|
66
66
|
| RunAgentResponseFormatJSONSchema;
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
69
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `instant`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
70
70
|
*
|
|
71
71
|
* @remarks
|
|
72
72
|
*
|
|
@@ -75,10 +75,11 @@ export type RunAgentModelConfigurationResponseFormat =
|
|
|
75
75
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
76
76
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
77
77
|
*
|
|
78
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
78
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
79
79
|
*/
|
|
80
80
|
export const RunAgentModelConfigurationReasoningEffort = {
|
|
81
81
|
None: "none",
|
|
82
|
+
Instant: "instant",
|
|
82
83
|
Minimal: "minimal",
|
|
83
84
|
Low: "low",
|
|
84
85
|
Medium: "medium",
|
|
@@ -87,7 +88,7 @@ export const RunAgentModelConfigurationReasoningEffort = {
|
|
|
87
88
|
Max: "max",
|
|
88
89
|
} as const;
|
|
89
90
|
/**
|
|
90
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
91
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `instant`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
91
92
|
*
|
|
92
93
|
* @remarks
|
|
93
94
|
*
|
|
@@ -96,7 +97,7 @@ export const RunAgentModelConfigurationReasoningEffort = {
|
|
|
96
97
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
97
98
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
98
99
|
*
|
|
99
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
100
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
100
101
|
*/
|
|
101
102
|
export type RunAgentModelConfigurationReasoningEffort = ClosedEnum<
|
|
102
103
|
typeof RunAgentModelConfigurationReasoningEffort
|
|
@@ -365,7 +366,7 @@ export type RunAgentModelConfigurationParameters = {
|
|
|
365
366
|
| RunAgentResponseFormatJSONSchema
|
|
366
367
|
| undefined;
|
|
367
368
|
/**
|
|
368
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
369
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `instant`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
369
370
|
*
|
|
370
371
|
* @remarks
|
|
371
372
|
*
|
|
@@ -374,7 +375,7 @@ export type RunAgentModelConfigurationParameters = {
|
|
|
374
375
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
375
376
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
376
377
|
*
|
|
377
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
378
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
378
379
|
*/
|
|
379
380
|
reasoningEffort?: RunAgentModelConfigurationReasoningEffort | undefined;
|
|
380
381
|
/**
|
|
@@ -557,7 +558,7 @@ export type RunAgentFallbackModelConfigurationResponseFormat =
|
|
|
557
558
|
| RunAgentResponseFormatAgentsRequestJSONSchema;
|
|
558
559
|
|
|
559
560
|
/**
|
|
560
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
561
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `instant`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
561
562
|
*
|
|
562
563
|
* @remarks
|
|
563
564
|
*
|
|
@@ -566,10 +567,11 @@ export type RunAgentFallbackModelConfigurationResponseFormat =
|
|
|
566
567
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
567
568
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
568
569
|
*
|
|
569
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
570
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
570
571
|
*/
|
|
571
572
|
export const RunAgentFallbackModelConfigurationReasoningEffort = {
|
|
572
573
|
None: "none",
|
|
574
|
+
Instant: "instant",
|
|
573
575
|
Minimal: "minimal",
|
|
574
576
|
Low: "low",
|
|
575
577
|
Medium: "medium",
|
|
@@ -578,7 +580,7 @@ export const RunAgentFallbackModelConfigurationReasoningEffort = {
|
|
|
578
580
|
Max: "max",
|
|
579
581
|
} as const;
|
|
580
582
|
/**
|
|
581
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
583
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `instant`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
582
584
|
*
|
|
583
585
|
* @remarks
|
|
584
586
|
*
|
|
@@ -587,7 +589,7 @@ export const RunAgentFallbackModelConfigurationReasoningEffort = {
|
|
|
587
589
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
588
590
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
589
591
|
*
|
|
590
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
592
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
591
593
|
*/
|
|
592
594
|
export type RunAgentFallbackModelConfigurationReasoningEffort = ClosedEnum<
|
|
593
595
|
typeof RunAgentFallbackModelConfigurationReasoningEffort
|
|
@@ -861,7 +863,7 @@ export type RunAgentFallbackModelConfigurationParameters = {
|
|
|
861
863
|
| RunAgentResponseFormatAgentsRequestJSONSchema
|
|
862
864
|
| undefined;
|
|
863
865
|
/**
|
|
864
|
-
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
866
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `instant`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
865
867
|
*
|
|
866
868
|
* @remarks
|
|
867
869
|
*
|
|
@@ -870,7 +872,7 @@ export type RunAgentFallbackModelConfigurationParameters = {
|
|
|
870
872
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
871
873
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
872
874
|
*
|
|
873
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
875
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
874
876
|
*/
|
|
875
877
|
reasoningEffort?:
|
|
876
878
|
| RunAgentFallbackModelConfigurationReasoningEffort
|
|
@@ -3904,7 +3906,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3904
3906
|
z.ZodTypeDef,
|
|
3905
3907
|
Tools
|
|
3906
3908
|
> = z.object({
|
|
3907
|
-
id: z.string().default("
|
|
3909
|
+
id: z.string().default("01M5HJM4SDATTQ2Z2G7TG3MWDY"),
|
|
3908
3910
|
name: z.string(),
|
|
3909
3911
|
description: z.string().optional(),
|
|
3910
3912
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|