@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
|
@@ -21,6 +21,7 @@ export type ModelConfigurationResponse = {
|
|
|
21
21
|
isOpenaiCompatible?: boolean | undefined;
|
|
22
22
|
isTunedModel?: boolean | undefined;
|
|
23
23
|
location?: string | undefined;
|
|
24
|
+
modelId?: string | undefined;
|
|
24
25
|
projectId?: string | undefined;
|
|
25
26
|
provider: string;
|
|
26
27
|
region?: string | undefined;
|
|
@@ -47,6 +48,7 @@ export const ModelConfigurationResponse$inboundSchema: z.ZodType<
|
|
|
47
48
|
is_openai_compatible: z.boolean().optional(),
|
|
48
49
|
is_tuned_model: z.boolean().optional(),
|
|
49
50
|
location: z.string().optional(),
|
|
51
|
+
model_id: z.string().optional(),
|
|
50
52
|
project_id: z.string().optional(),
|
|
51
53
|
provider: z.string(),
|
|
52
54
|
region: z.string().optional(),
|
|
@@ -65,6 +67,7 @@ export const ModelConfigurationResponse$inboundSchema: z.ZodType<
|
|
|
65
67
|
"integration_id": "integrationId",
|
|
66
68
|
"is_openai_compatible": "isOpenaiCompatible",
|
|
67
69
|
"is_tuned_model": "isTunedModel",
|
|
70
|
+
"model_id": "modelId",
|
|
68
71
|
"project_id": "projectId",
|
|
69
72
|
"should_use_beta_features": "shouldUseBetaFeatures",
|
|
70
73
|
"workspace_id": "workspaceId",
|
|
@@ -43,6 +43,7 @@ export type ModelMetadata = {
|
|
|
43
43
|
contextWindow?: number | undefined;
|
|
44
44
|
costEfficiencyRating?: number | undefined;
|
|
45
45
|
costPerImage?: number | undefined;
|
|
46
|
+
defaultSpeechResponseFormat?: string | undefined;
|
|
46
47
|
deprecationDate?: string | undefined;
|
|
47
48
|
embeddingDimensions?: number | undefined;
|
|
48
49
|
extendedContextPricingMode?: string | undefined;
|
|
@@ -130,6 +131,7 @@ export type ModelMetadata = {
|
|
|
130
131
|
supportsReasoning?: boolean | undefined;
|
|
131
132
|
supportsReasoningEffortDefault?: boolean | undefined;
|
|
132
133
|
supportsReasoningEffortHigh?: boolean | undefined;
|
|
134
|
+
supportsReasoningEffortInstant?: boolean | undefined;
|
|
133
135
|
supportsReasoningEffortLow?: boolean | undefined;
|
|
134
136
|
supportsReasoningEffortMax?: boolean | undefined;
|
|
135
137
|
supportsReasoningEffortMedium?: boolean | undefined;
|
|
@@ -179,6 +181,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
179
181
|
context_window: z.number().int().optional(),
|
|
180
182
|
cost_efficiency_rating: z.number().int().optional(),
|
|
181
183
|
cost_per_image: z.number().optional(),
|
|
184
|
+
default_speech_response_format: z.string().optional(),
|
|
182
185
|
deprecation_date: z.string().optional(),
|
|
183
186
|
embedding_dimensions: z.number().int().optional(),
|
|
184
187
|
extended_context_pricing_mode: z.string().optional(),
|
|
@@ -267,6 +270,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
267
270
|
supports_reasoning: z.boolean().optional(),
|
|
268
271
|
supports_reasoning_effort_default: z.boolean().optional(),
|
|
269
272
|
supports_reasoning_effort_high: z.boolean().optional(),
|
|
273
|
+
supports_reasoning_effort_instant: z.boolean().optional(),
|
|
270
274
|
supports_reasoning_effort_low: z.boolean().optional(),
|
|
271
275
|
supports_reasoning_effort_max: z.boolean().optional(),
|
|
272
276
|
supports_reasoning_effort_medium: z.boolean().optional(),
|
|
@@ -309,6 +313,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
309
313
|
"context_window": "contextWindow",
|
|
310
314
|
"cost_efficiency_rating": "costEfficiencyRating",
|
|
311
315
|
"cost_per_image": "costPerImage",
|
|
316
|
+
"default_speech_response_format": "defaultSpeechResponseFormat",
|
|
312
317
|
"deprecation_date": "deprecationDate",
|
|
313
318
|
"embedding_dimensions": "embeddingDimensions",
|
|
314
319
|
"extended_context_pricing_mode": "extendedContextPricingMode",
|
|
@@ -395,6 +400,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
395
400
|
"supports_reasoning": "supportsReasoning",
|
|
396
401
|
"supports_reasoning_effort_default": "supportsReasoningEffortDefault",
|
|
397
402
|
"supports_reasoning_effort_high": "supportsReasoningEffortHigh",
|
|
403
|
+
"supports_reasoning_effort_instant": "supportsReasoningEffortInstant",
|
|
398
404
|
"supports_reasoning_effort_low": "supportsReasoningEffortLow",
|
|
399
405
|
"supports_reasoning_effort_max": "supportsReasoningEffortMax",
|
|
400
406
|
"supports_reasoning_effort_medium": "supportsReasoningEffortMedium",
|
|
@@ -440,6 +446,7 @@ export type ModelMetadata$Outbound = {
|
|
|
440
446
|
context_window?: number | undefined;
|
|
441
447
|
cost_efficiency_rating?: number | undefined;
|
|
442
448
|
cost_per_image?: number | undefined;
|
|
449
|
+
default_speech_response_format?: string | undefined;
|
|
443
450
|
deprecation_date?: string | undefined;
|
|
444
451
|
embedding_dimensions?: number | undefined;
|
|
445
452
|
extended_context_pricing_mode?: string | undefined;
|
|
@@ -529,6 +536,7 @@ export type ModelMetadata$Outbound = {
|
|
|
529
536
|
supports_reasoning?: boolean | undefined;
|
|
530
537
|
supports_reasoning_effort_default?: boolean | undefined;
|
|
531
538
|
supports_reasoning_effort_high?: boolean | undefined;
|
|
539
|
+
supports_reasoning_effort_instant?: boolean | undefined;
|
|
532
540
|
supports_reasoning_effort_low?: boolean | undefined;
|
|
533
541
|
supports_reasoning_effort_max?: boolean | undefined;
|
|
534
542
|
supports_reasoning_effort_medium?: boolean | undefined;
|
|
@@ -578,6 +586,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
578
586
|
contextWindow: z.number().int().optional(),
|
|
579
587
|
costEfficiencyRating: z.number().int().optional(),
|
|
580
588
|
costPerImage: z.number().optional(),
|
|
589
|
+
defaultSpeechResponseFormat: z.string().optional(),
|
|
581
590
|
deprecationDate: z.string().optional(),
|
|
582
591
|
embeddingDimensions: z.number().int().optional(),
|
|
583
592
|
extendedContextPricingMode: z.string().optional(),
|
|
@@ -666,6 +675,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
666
675
|
supportsReasoning: z.boolean().optional(),
|
|
667
676
|
supportsReasoningEffortDefault: z.boolean().optional(),
|
|
668
677
|
supportsReasoningEffortHigh: z.boolean().optional(),
|
|
678
|
+
supportsReasoningEffortInstant: z.boolean().optional(),
|
|
669
679
|
supportsReasoningEffortLow: z.boolean().optional(),
|
|
670
680
|
supportsReasoningEffortMax: z.boolean().optional(),
|
|
671
681
|
supportsReasoningEffortMedium: z.boolean().optional(),
|
|
@@ -708,6 +718,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
708
718
|
contextWindow: "context_window",
|
|
709
719
|
costEfficiencyRating: "cost_efficiency_rating",
|
|
710
720
|
costPerImage: "cost_per_image",
|
|
721
|
+
defaultSpeechResponseFormat: "default_speech_response_format",
|
|
711
722
|
deprecationDate: "deprecation_date",
|
|
712
723
|
embeddingDimensions: "embedding_dimensions",
|
|
713
724
|
extendedContextPricingMode: "extended_context_pricing_mode",
|
|
@@ -794,6 +805,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
794
805
|
supportsReasoning: "supports_reasoning",
|
|
795
806
|
supportsReasoningEffortDefault: "supports_reasoning_effort_default",
|
|
796
807
|
supportsReasoningEffortHigh: "supports_reasoning_effort_high",
|
|
808
|
+
supportsReasoningEffortInstant: "supports_reasoning_effort_instant",
|
|
797
809
|
supportsReasoningEffortLow: "supports_reasoning_effort_low",
|
|
798
810
|
supportsReasoningEffortMax: "supports_reasoning_effort_max",
|
|
799
811
|
supportsReasoningEffortMedium: "supports_reasoning_effort_medium",
|
|
@@ -25,6 +25,7 @@ export type Pricing = {
|
|
|
25
25
|
audioOutput?: Price | undefined;
|
|
26
26
|
audioSession?: Price | undefined;
|
|
27
27
|
cacheRead?: Price | undefined;
|
|
28
|
+
cacheWrite12h?: Price | undefined;
|
|
28
29
|
cacheWrite1h?: Price | undefined;
|
|
29
30
|
cacheWrite30m?: Price | undefined;
|
|
30
31
|
cacheWrite5m?: Price | undefined;
|
|
@@ -44,6 +45,7 @@ export const Pricing$inboundSchema: z.ZodType<Pricing, z.ZodTypeDef, unknown> =
|
|
|
44
45
|
audio_output: Price$inboundSchema.optional(),
|
|
45
46
|
audio_session: Price$inboundSchema.optional(),
|
|
46
47
|
cache_read: Price$inboundSchema.optional(),
|
|
48
|
+
cache_write_12h: Price$inboundSchema.optional(),
|
|
47
49
|
cache_write_1h: Price$inboundSchema.optional(),
|
|
48
50
|
cache_write_30m: Price$inboundSchema.optional(),
|
|
49
51
|
cache_write_5m: Price$inboundSchema.optional(),
|
|
@@ -60,6 +62,7 @@ export const Pricing$inboundSchema: z.ZodType<Pricing, z.ZodTypeDef, unknown> =
|
|
|
60
62
|
"audio_output": "audioOutput",
|
|
61
63
|
"audio_session": "audioSession",
|
|
62
64
|
"cache_read": "cacheRead",
|
|
65
|
+
"cache_write_12h": "cacheWrite12h",
|
|
63
66
|
"cache_write_1h": "cacheWrite1h",
|
|
64
67
|
"cache_write_30m": "cacheWrite30m",
|
|
65
68
|
"cache_write_5m": "cacheWrite5m",
|
|
@@ -72,6 +75,7 @@ export type Pricing$Outbound = {
|
|
|
72
75
|
audio_output?: Price$Outbound | undefined;
|
|
73
76
|
audio_session?: Price$Outbound | undefined;
|
|
74
77
|
cache_read?: Price$Outbound | undefined;
|
|
78
|
+
cache_write_12h?: Price$Outbound | undefined;
|
|
75
79
|
cache_write_1h?: Price$Outbound | undefined;
|
|
76
80
|
cache_write_30m?: Price$Outbound | undefined;
|
|
77
81
|
cache_write_5m?: Price$Outbound | undefined;
|
|
@@ -94,6 +98,7 @@ export const Pricing$outboundSchema: z.ZodType<
|
|
|
94
98
|
audioOutput: Price$outboundSchema.optional(),
|
|
95
99
|
audioSession: Price$outboundSchema.optional(),
|
|
96
100
|
cacheRead: Price$outboundSchema.optional(),
|
|
101
|
+
cacheWrite12h: Price$outboundSchema.optional(),
|
|
97
102
|
cacheWrite1h: Price$outboundSchema.optional(),
|
|
98
103
|
cacheWrite30m: Price$outboundSchema.optional(),
|
|
99
104
|
cacheWrite5m: Price$outboundSchema.optional(),
|
|
@@ -110,6 +115,7 @@ export const Pricing$outboundSchema: z.ZodType<
|
|
|
110
115
|
audioOutput: "audio_output",
|
|
111
116
|
audioSession: "audio_session",
|
|
112
117
|
cacheRead: "cache_read",
|
|
118
|
+
cacheWrite12h: "cache_write_12h",
|
|
113
119
|
cacheWrite1h: "cache_write_1h",
|
|
114
120
|
cacheWrite30m: "cache_write_30m",
|
|
115
121
|
cacheWrite5m: "cache_write_5m",
|
|
@@ -19,6 +19,7 @@ export type PricingVariant = {
|
|
|
19
19
|
audioOutput?: Price | undefined;
|
|
20
20
|
audioSession?: Price | undefined;
|
|
21
21
|
cacheRead?: Price | undefined;
|
|
22
|
+
cacheWrite12h?: Price | undefined;
|
|
22
23
|
cacheWrite1h?: Price | undefined;
|
|
23
24
|
cacheWrite30m?: Price | undefined;
|
|
24
25
|
cacheWrite5m?: Price | undefined;
|
|
@@ -41,6 +42,7 @@ export const PricingVariant$inboundSchema: z.ZodType<
|
|
|
41
42
|
audio_output: Price$inboundSchema.optional(),
|
|
42
43
|
audio_session: Price$inboundSchema.optional(),
|
|
43
44
|
cache_read: Price$inboundSchema.optional(),
|
|
45
|
+
cache_write_12h: Price$inboundSchema.optional(),
|
|
44
46
|
cache_write_1h: Price$inboundSchema.optional(),
|
|
45
47
|
cache_write_30m: Price$inboundSchema.optional(),
|
|
46
48
|
cache_write_5m: Price$inboundSchema.optional(),
|
|
@@ -57,6 +59,7 @@ export const PricingVariant$inboundSchema: z.ZodType<
|
|
|
57
59
|
"audio_output": "audioOutput",
|
|
58
60
|
"audio_session": "audioSession",
|
|
59
61
|
"cache_read": "cacheRead",
|
|
62
|
+
"cache_write_12h": "cacheWrite12h",
|
|
60
63
|
"cache_write_1h": "cacheWrite1h",
|
|
61
64
|
"cache_write_30m": "cacheWrite30m",
|
|
62
65
|
"cache_write_5m": "cacheWrite5m",
|
|
@@ -69,6 +72,7 @@ export type PricingVariant$Outbound = {
|
|
|
69
72
|
audio_output?: Price$Outbound | undefined;
|
|
70
73
|
audio_session?: Price$Outbound | undefined;
|
|
71
74
|
cache_read?: Price$Outbound | undefined;
|
|
75
|
+
cache_write_12h?: Price$Outbound | undefined;
|
|
72
76
|
cache_write_1h?: Price$Outbound | undefined;
|
|
73
77
|
cache_write_30m?: Price$Outbound | undefined;
|
|
74
78
|
cache_write_5m?: Price$Outbound | undefined;
|
|
@@ -91,6 +95,7 @@ export const PricingVariant$outboundSchema: z.ZodType<
|
|
|
91
95
|
audioOutput: Price$outboundSchema.optional(),
|
|
92
96
|
audioSession: Price$outboundSchema.optional(),
|
|
93
97
|
cacheRead: Price$outboundSchema.optional(),
|
|
98
|
+
cacheWrite12h: Price$outboundSchema.optional(),
|
|
94
99
|
cacheWrite1h: Price$outboundSchema.optional(),
|
|
95
100
|
cacheWrite30m: Price$outboundSchema.optional(),
|
|
96
101
|
cacheWrite5m: Price$outboundSchema.optional(),
|
|
@@ -107,6 +112,7 @@ export const PricingVariant$outboundSchema: z.ZodType<
|
|
|
107
112
|
audioOutput: "audio_output",
|
|
108
113
|
audioSession: "audio_session",
|
|
109
114
|
cacheRead: "cache_read",
|
|
115
|
+
cacheWrite12h: "cache_write_12h",
|
|
110
116
|
cacheWrite1h: "cache_write_1h",
|
|
111
117
|
cacheWrite30m: "cache_write_30m",
|
|
112
118
|
cacheWrite5m: "cache_write_5m",
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type PrivateModelConfiguration = {
|
|
9
|
+
/**
|
|
10
|
+
* Model identifier sent to the provider.
|
|
11
|
+
*/
|
|
12
|
+
modelId: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type PrivateModelConfiguration$Outbound = {
|
|
17
|
+
model_id: string;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const PrivateModelConfiguration$outboundSchema: z.ZodType<
|
|
22
|
+
PrivateModelConfiguration$Outbound,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
PrivateModelConfiguration
|
|
25
|
+
> = z.object({
|
|
26
|
+
modelId: z.string(),
|
|
27
|
+
}).transform((v) => {
|
|
28
|
+
return remap$(v, {
|
|
29
|
+
modelId: "model_id",
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export function privateModelConfigurationToJSON(
|
|
34
|
+
privateModelConfiguration: PrivateModelConfiguration,
|
|
35
|
+
): string {
|
|
36
|
+
return JSON.stringify(
|
|
37
|
+
PrivateModelConfiguration$outboundSchema.parse(privateModelConfiguration),
|
|
38
|
+
);
|
|
39
|
+
}
|
|
@@ -75,7 +75,7 @@ export type PublicResponseResource = {
|
|
|
75
75
|
maxToolCalls: number | null;
|
|
76
76
|
memory?: MemoryParam | undefined;
|
|
77
77
|
/**
|
|
78
|
-
* Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string
|
|
78
|
+
* Developer-defined key-value pairs attached to the response (OpenAI spec: `Map<string, string>`).
|
|
79
79
|
*/
|
|
80
80
|
metadata: { [k: string]: string };
|
|
81
81
|
model: string;
|
|
@@ -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_01m5hjm4rfb92rndsshrjjm2y2"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
export type RedactResponse = {
|
|
12
12
|
redactedText?: string | undefined;
|
|
13
13
|
/**
|
|
14
|
-
* Maps each placeholder (e.g.
|
|
14
|
+
* Maps each placeholder (e.g. `<PERSON_1>`) to the original value it replaced.
|
|
15
15
|
*/
|
|
16
16
|
mappings?: { [k: string]: string } | undefined;
|
|
17
17
|
};
|
|
@@ -18,10 +18,6 @@ import {
|
|
|
18
18
|
McpGatewayServerLink$Outbound,
|
|
19
19
|
McpGatewayServerLink$outboundSchema,
|
|
20
20
|
} from "./mcpgatewayserverlink.js";
|
|
21
|
-
import {
|
|
22
|
-
McpGatewayStatus,
|
|
23
|
-
McpGatewayStatus$outboundSchema,
|
|
24
|
-
} from "./mcpgatewaystatus.js";
|
|
25
21
|
import {
|
|
26
22
|
McpToolNaming,
|
|
27
23
|
McpToolNaming$outboundSchema,
|
|
@@ -54,7 +50,6 @@ export type UpdateMcpGatewayRequest = {
|
|
|
54
50
|
*/
|
|
55
51
|
serverLinks?: Array<McpGatewayServerLink> | undefined;
|
|
56
52
|
toolNaming?: McpToolNaming | undefined;
|
|
57
|
-
status?: McpGatewayStatus | undefined;
|
|
58
53
|
mode?: McpGatewayMode | undefined;
|
|
59
54
|
/**
|
|
60
55
|
* Which projects in the workspace may use this gateway. Defaults to every project.
|
|
@@ -85,7 +80,6 @@ export type UpdateMcpGatewayRequest$Outbound = {
|
|
|
85
80
|
description?: string | undefined;
|
|
86
81
|
server_links?: Array<McpGatewayServerLink$Outbound> | undefined;
|
|
87
82
|
tool_naming?: string | undefined;
|
|
88
|
-
status?: string | undefined;
|
|
89
83
|
mode?: string | undefined;
|
|
90
84
|
sharing?: Sharing$Outbound | undefined;
|
|
91
85
|
clear_server_links?: boolean | undefined;
|
|
@@ -105,7 +99,6 @@ export const UpdateMcpGatewayRequest$outboundSchema: z.ZodType<
|
|
|
105
99
|
description: z.string().optional(),
|
|
106
100
|
serverLinks: z.array(McpGatewayServerLink$outboundSchema).optional(),
|
|
107
101
|
toolNaming: McpToolNaming$outboundSchema.optional(),
|
|
108
|
-
status: McpGatewayStatus$outboundSchema.optional(),
|
|
109
102
|
mode: McpGatewayMode$outboundSchema.optional(),
|
|
110
103
|
sharing: Sharing$outboundSchema.optional(),
|
|
111
104
|
clearServerLinks: z.boolean().optional(),
|
|
@@ -63,7 +63,7 @@ export type Text = {
|
|
|
63
63
|
export type ResponseFormat = Text | JSONObject | JSONSchema;
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
* 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.
|
|
66
|
+
* 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.
|
|
67
67
|
*
|
|
68
68
|
* @remarks
|
|
69
69
|
*
|
|
@@ -72,10 +72,11 @@ export type ResponseFormat = Text | JSONObject | JSONSchema;
|
|
|
72
72
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
73
73
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
74
74
|
*
|
|
75
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
75
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
76
76
|
*/
|
|
77
77
|
export const ReasoningEffort = {
|
|
78
78
|
None: "none",
|
|
79
|
+
Instant: "instant",
|
|
79
80
|
Minimal: "minimal",
|
|
80
81
|
Low: "low",
|
|
81
82
|
Medium: "medium",
|
|
@@ -84,7 +85,7 @@ export const ReasoningEffort = {
|
|
|
84
85
|
Max: "max",
|
|
85
86
|
} as const;
|
|
86
87
|
/**
|
|
87
|
-
* 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.
|
|
88
|
+
* 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.
|
|
88
89
|
*
|
|
89
90
|
* @remarks
|
|
90
91
|
*
|
|
@@ -93,7 +94,7 @@ export const ReasoningEffort = {
|
|
|
93
94
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
94
95
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
95
96
|
*
|
|
96
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
97
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
97
98
|
*/
|
|
98
99
|
export type ReasoningEffort = ClosedEnum<typeof ReasoningEffort>;
|
|
99
100
|
|
|
@@ -344,7 +345,7 @@ export type ParametersT = {
|
|
|
344
345
|
*/
|
|
345
346
|
responseFormat?: Text | JSONObject | JSONSchema | undefined;
|
|
346
347
|
/**
|
|
347
|
-
* 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.
|
|
348
|
+
* 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.
|
|
348
349
|
*
|
|
349
350
|
* @remarks
|
|
350
351
|
*
|
|
@@ -353,7 +354,7 @@ export type ParametersT = {
|
|
|
353
354
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
354
355
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
355
356
|
*
|
|
356
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
357
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
357
358
|
*/
|
|
358
359
|
reasoningEffort?: ReasoningEffort | undefined;
|
|
359
360
|
/**
|
|
@@ -536,7 +537,7 @@ export type FallbackModelConfigurationResponseFormat =
|
|
|
536
537
|
| CreateAgentRequestResponseFormatJSONSchema;
|
|
537
538
|
|
|
538
539
|
/**
|
|
539
|
-
* 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.
|
|
540
|
+
* 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.
|
|
540
541
|
*
|
|
541
542
|
* @remarks
|
|
542
543
|
*
|
|
@@ -545,10 +546,11 @@ export type FallbackModelConfigurationResponseFormat =
|
|
|
545
546
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
546
547
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
547
548
|
*
|
|
548
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
549
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
549
550
|
*/
|
|
550
551
|
export const FallbackModelConfigurationReasoningEffort = {
|
|
551
552
|
None: "none",
|
|
553
|
+
Instant: "instant",
|
|
552
554
|
Minimal: "minimal",
|
|
553
555
|
Low: "low",
|
|
554
556
|
Medium: "medium",
|
|
@@ -557,7 +559,7 @@ export const FallbackModelConfigurationReasoningEffort = {
|
|
|
557
559
|
Max: "max",
|
|
558
560
|
} as const;
|
|
559
561
|
/**
|
|
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.
|
|
562
|
+
* 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
563
|
*
|
|
562
564
|
* @remarks
|
|
563
565
|
*
|
|
@@ -566,7 +568,7 @@ export const FallbackModelConfigurationReasoningEffort = {
|
|
|
566
568
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
567
569
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
568
570
|
*
|
|
569
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
571
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
570
572
|
*/
|
|
571
573
|
export type FallbackModelConfigurationReasoningEffort = ClosedEnum<
|
|
572
574
|
typeof FallbackModelConfigurationReasoningEffort
|
|
@@ -840,7 +842,7 @@ export type FallbackModelConfigurationParameters = {
|
|
|
840
842
|
| CreateAgentRequestResponseFormatJSONSchema
|
|
841
843
|
| undefined;
|
|
842
844
|
/**
|
|
843
|
-
* 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.
|
|
845
|
+
* 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.
|
|
844
846
|
*
|
|
845
847
|
* @remarks
|
|
846
848
|
*
|
|
@@ -849,7 +851,7 @@ export type FallbackModelConfigurationParameters = {
|
|
|
849
851
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
850
852
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
851
853
|
*
|
|
852
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
854
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
853
855
|
*/
|
|
854
856
|
reasoningEffort?: FallbackModelConfigurationReasoningEffort | undefined;
|
|
855
857
|
/**
|
|
@@ -1319,6 +1321,10 @@ export type CreateAgentRequestTools = {
|
|
|
1319
1321
|
* Nested tool ID for MCP tools (identifies specific tool within MCP server)
|
|
1320
1322
|
*/
|
|
1321
1323
|
toolId?: string | undefined;
|
|
1324
|
+
/**
|
|
1325
|
+
* Set by the API on MCP tools resolved from a whole MCP server or gateway; they are resolved again on every save.
|
|
1326
|
+
*/
|
|
1327
|
+
wholeServer?: boolean | undefined;
|
|
1322
1328
|
conditions?: Array<Conditions> | undefined;
|
|
1323
1329
|
/**
|
|
1324
1330
|
* Tool execution timeout in seconds for this agent (max: 10 minutes). Overrides the timeout configured on the tool definition.
|
|
@@ -1480,7 +1486,7 @@ export type CreateAgentRequestResponseFormat =
|
|
|
1480
1486
|
| CreateAgentRequestResponseFormatAgentsResponse201JSONSchema;
|
|
1481
1487
|
|
|
1482
1488
|
/**
|
|
1483
|
-
* 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.
|
|
1489
|
+
* 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.
|
|
1484
1490
|
*
|
|
1485
1491
|
* @remarks
|
|
1486
1492
|
*
|
|
@@ -1489,10 +1495,11 @@ export type CreateAgentRequestResponseFormat =
|
|
|
1489
1495
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1490
1496
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1491
1497
|
*
|
|
1492
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1498
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1493
1499
|
*/
|
|
1494
1500
|
export const CreateAgentRequestReasoningEffort = {
|
|
1495
1501
|
None: "none",
|
|
1502
|
+
Instant: "instant",
|
|
1496
1503
|
Minimal: "minimal",
|
|
1497
1504
|
Low: "low",
|
|
1498
1505
|
Medium: "medium",
|
|
@@ -1501,7 +1508,7 @@ export const CreateAgentRequestReasoningEffort = {
|
|
|
1501
1508
|
Max: "max",
|
|
1502
1509
|
} as const;
|
|
1503
1510
|
/**
|
|
1504
|
-
* 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.
|
|
1511
|
+
* 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.
|
|
1505
1512
|
*
|
|
1506
1513
|
* @remarks
|
|
1507
1514
|
*
|
|
@@ -1510,7 +1517,7 @@ export const CreateAgentRequestReasoningEffort = {
|
|
|
1510
1517
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1511
1518
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1512
1519
|
*
|
|
1513
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1520
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1514
1521
|
*/
|
|
1515
1522
|
export type CreateAgentRequestReasoningEffort = ClosedEnum<
|
|
1516
1523
|
typeof CreateAgentRequestReasoningEffort
|
|
@@ -1785,7 +1792,7 @@ export type CreateAgentRequestParameters = {
|
|
|
1785
1792
|
| CreateAgentRequestResponseFormatAgentsResponse201JSONSchema
|
|
1786
1793
|
| undefined;
|
|
1787
1794
|
/**
|
|
1788
|
-
* 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.
|
|
1795
|
+
* 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.
|
|
1789
1796
|
*
|
|
1790
1797
|
* @remarks
|
|
1791
1798
|
*
|
|
@@ -1794,7 +1801,7 @@ export type CreateAgentRequestParameters = {
|
|
|
1794
1801
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1795
1802
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1796
1803
|
*
|
|
1797
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1804
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1798
1805
|
*/
|
|
1799
1806
|
reasoningEffort?: CreateAgentRequestReasoningEffort | undefined;
|
|
1800
1807
|
/**
|
|
@@ -1958,7 +1965,7 @@ export type CreateAgentRequestFallbackModelConfigurationResponseFormat =
|
|
|
1958
1965
|
| CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONResponseBodyJSONSchema;
|
|
1959
1966
|
|
|
1960
1967
|
/**
|
|
1961
|
-
* 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.
|
|
1968
|
+
* 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.
|
|
1962
1969
|
*
|
|
1963
1970
|
* @remarks
|
|
1964
1971
|
*
|
|
@@ -1967,10 +1974,11 @@ export type CreateAgentRequestFallbackModelConfigurationResponseFormat =
|
|
|
1967
1974
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1968
1975
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1969
1976
|
*
|
|
1970
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1977
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1971
1978
|
*/
|
|
1972
1979
|
export const CreateAgentRequestFallbackModelConfigurationReasoningEffort = {
|
|
1973
1980
|
None: "none",
|
|
1981
|
+
Instant: "instant",
|
|
1974
1982
|
Minimal: "minimal",
|
|
1975
1983
|
Low: "low",
|
|
1976
1984
|
Medium: "medium",
|
|
@@ -1979,7 +1987,7 @@ export const CreateAgentRequestFallbackModelConfigurationReasoningEffort = {
|
|
|
1979
1987
|
Max: "max",
|
|
1980
1988
|
} as const;
|
|
1981
1989
|
/**
|
|
1982
|
-
* 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.
|
|
1990
|
+
* 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.
|
|
1983
1991
|
*
|
|
1984
1992
|
* @remarks
|
|
1985
1993
|
*
|
|
@@ -1988,7 +1996,7 @@ export const CreateAgentRequestFallbackModelConfigurationReasoningEffort = {
|
|
|
1988
1996
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1989
1997
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1990
1998
|
*
|
|
1991
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1999
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
1992
2000
|
*/
|
|
1993
2001
|
export type CreateAgentRequestFallbackModelConfigurationReasoningEffort =
|
|
1994
2002
|
ClosedEnum<
|
|
@@ -2270,7 +2278,7 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
|
|
|
2270
2278
|
| CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONResponseBodyJSONSchema
|
|
2271
2279
|
| undefined;
|
|
2272
2280
|
/**
|
|
2273
|
-
* 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.
|
|
2281
|
+
* 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.
|
|
2274
2282
|
*
|
|
2275
2283
|
* @remarks
|
|
2276
2284
|
*
|
|
@@ -2279,7 +2287,7 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
|
|
|
2279
2287
|
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
2280
2288
|
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
2281
2289
|
*
|
|
2282
|
-
* Any of "none", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
2290
|
+
* Any of "none", "instant", "minimal", "low", "medium", "high", "xhigh", "max".
|
|
2283
2291
|
*/
|
|
2284
2292
|
reasoningEffort?:
|
|
2285
2293
|
| CreateAgentRequestFallbackModelConfigurationReasoningEffort
|
|
@@ -4325,6 +4333,7 @@ export const CreateAgentRequestTools$inboundSchema: z.ZodType<
|
|
|
4325
4333
|
configuration: z.record(z.any()).optional(),
|
|
4326
4334
|
requires_approval: z.boolean().default(false),
|
|
4327
4335
|
tool_id: z.string().optional(),
|
|
4336
|
+
whole_server: z.boolean().optional(),
|
|
4328
4337
|
conditions: z.array(z.lazy(() => Conditions$inboundSchema)).optional(),
|
|
4329
4338
|
timeout: z.number().optional(),
|
|
4330
4339
|
}).transform((v) => {
|
|
@@ -4333,6 +4342,7 @@ export const CreateAgentRequestTools$inboundSchema: z.ZodType<
|
|
|
4333
4342
|
"display_name": "displayName",
|
|
4334
4343
|
"requires_approval": "requiresApproval",
|
|
4335
4344
|
"tool_id": "toolId",
|
|
4345
|
+
"whole_server": "wholeServer",
|
|
4336
4346
|
});
|
|
4337
4347
|
});
|
|
4338
4348
|
|