@orq-ai/node 4.10.0-rc.45 → 4.10.0-rc.47
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/README.md +36 -41
- package/funcs/annotationsCreate.d.ts +3 -0
- package/funcs/annotationsCreate.d.ts.map +1 -1
- package/funcs/annotationsCreate.js +3 -0
- package/funcs/annotationsCreate.js.map +1 -1
- package/funcs/annotationsDelete.d.ts +3 -0
- package/funcs/annotationsDelete.d.ts.map +1 -1
- package/funcs/annotationsDelete.js +3 -0
- package/funcs/annotationsDelete.js.map +1 -1
- package/funcs/deploymentsInvoke.d.ts +1 -2
- package/funcs/deploymentsInvoke.d.ts.map +1 -1
- package/funcs/deploymentsInvoke.js +1 -2
- package/funcs/deploymentsInvoke.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/agentthoughtstreamingevent.d.ts +12 -12
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
- package/models/components/agentthoughtstreamingevent.js +17 -17
- package/models/components/agentthoughtstreamingevent.js.map +1 -1
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/models/components/modelmetadata.d.ts +38 -0
- package/models/components/modelmetadata.d.ts.map +1 -1
- package/models/components/modelmetadata.js +72 -0
- package/models/components/modelmetadata.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.d.ts +67 -210
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +84 -201
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.d.ts +10 -10
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +15 -15
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +440 -440
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +479 -484
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +1568 -8
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +1137 -12
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +56 -56
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +72 -73
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.d.ts +8 -8
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +26 -26
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +5 -5
- package/sdk/annotations.d.ts +6 -0
- package/sdk/annotations.d.ts.map +1 -1
- package/sdk/annotations.js +6 -0
- package/sdk/annotations.js.map +1 -1
- package/sdk/deployments.d.ts +1 -5
- package/sdk/deployments.d.ts.map +1 -1
- package/sdk/deployments.js +0 -4
- package/sdk/deployments.js.map +1 -1
- package/src/funcs/annotationsCreate.ts +3 -0
- package/src/funcs/annotationsDelete.ts +3 -0
- package/src/funcs/deploymentsInvoke.ts +4 -4
- package/src/lib/config.ts +3 -3
- package/src/models/components/agentthoughtstreamingevent.ts +43 -55
- package/src/models/components/index.ts +0 -1
- package/src/models/components/modelmetadata.ts +110 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +214 -543
- package/src/models/operations/createtool.ts +24 -28
- package/src/models/operations/deploymentgetconfig.ts +1606 -1156
- package/src/models/operations/deploymentinvoke.ts +3763 -317
- package/src/models/operations/deploymentstream.ts +285 -244
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +0 -1
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +32 -34
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/annotations.ts +6 -0
- package/src/sdk/deployments.ts +1 -8
- package/funcs/deploymentsMetricsCreate.d.ts +0 -19
- package/funcs/deploymentsMetricsCreate.d.ts.map +0 -1
- package/funcs/deploymentsMetricsCreate.js +0 -123
- package/funcs/deploymentsMetricsCreate.js.map +0 -1
- package/models/components/invokedeploymentrequest.d.ts +0 -1573
- package/models/components/invokedeploymentrequest.d.ts.map +0 -1
- package/models/components/invokedeploymentrequest.js +0 -1137
- package/models/components/invokedeploymentrequest.js.map +0 -1
- package/models/operations/deploymentcreatemetric.d.ts +0 -1032
- package/models/operations/deploymentcreatemetric.d.ts.map +0 -1
- package/models/operations/deploymentcreatemetric.js +0 -749
- package/models/operations/deploymentcreatemetric.js.map +0 -1
- package/sdk/metrics.d.ts +0 -14
- package/sdk/metrics.d.ts.map +0 -1
- package/sdk/metrics.js +0 -24
- package/sdk/metrics.js.map +0 -1
- package/src/funcs/deploymentsMetricsCreate.ts +0 -171
- package/src/models/components/invokedeploymentrequest.ts +0 -3457
- package/src/models/operations/deploymentcreatemetric.ts +0 -2370
- package/src/sdk/metrics.ts +0 -29
|
@@ -83,7 +83,7 @@ export type AgentThoughtStreamingEventFunction = {
|
|
|
83
83
|
arguments?: string | undefined;
|
|
84
84
|
};
|
|
85
85
|
|
|
86
|
-
export type
|
|
86
|
+
export type ToolCalls = {
|
|
87
87
|
index?: number | undefined;
|
|
88
88
|
id?: string | undefined;
|
|
89
89
|
type?: AgentThoughtStreamingEventDataType | undefined;
|
|
@@ -104,7 +104,7 @@ export type AgentThoughtStreamingEventDataRole = ClosedEnum<
|
|
|
104
104
|
/**
|
|
105
105
|
* If the audio output modality is requested, this object contains data about the audio response from the model.
|
|
106
106
|
*/
|
|
107
|
-
export type
|
|
107
|
+
export type Audio = {
|
|
108
108
|
id: string;
|
|
109
109
|
expiresAt: number;
|
|
110
110
|
data: string;
|
|
@@ -117,7 +117,7 @@ export type AgentThoughtStreamingEventAudio = {
|
|
|
117
117
|
export type AgentThoughtStreamingEventMessage = {
|
|
118
118
|
content?: string | null | undefined;
|
|
119
119
|
refusal?: string | null | undefined;
|
|
120
|
-
toolCalls?: Array<
|
|
120
|
+
toolCalls?: Array<ToolCalls> | undefined;
|
|
121
121
|
role?: AgentThoughtStreamingEventDataRole | undefined;
|
|
122
122
|
/**
|
|
123
123
|
* Internal thought process of the model
|
|
@@ -134,7 +134,7 @@ export type AgentThoughtStreamingEventMessage = {
|
|
|
134
134
|
/**
|
|
135
135
|
* If the audio output modality is requested, this object contains data about the audio response from the model.
|
|
136
136
|
*/
|
|
137
|
-
audio?:
|
|
137
|
+
audio?: Audio | null | undefined;
|
|
138
138
|
};
|
|
139
139
|
|
|
140
140
|
export type TopLogprobs = {
|
|
@@ -152,7 +152,7 @@ export type TopLogprobs = {
|
|
|
152
152
|
bytes: Array<number> | null;
|
|
153
153
|
};
|
|
154
154
|
|
|
155
|
-
export type
|
|
155
|
+
export type Content = {
|
|
156
156
|
/**
|
|
157
157
|
* The token.
|
|
158
158
|
*/
|
|
@@ -212,7 +212,7 @@ export type Logprobs = {
|
|
|
212
212
|
/**
|
|
213
213
|
* A list of message content tokens with log probability information.
|
|
214
214
|
*/
|
|
215
|
-
content: Array<
|
|
215
|
+
content: Array<Content> | null;
|
|
216
216
|
/**
|
|
217
217
|
* A list of message refusal tokens with log probability information.
|
|
218
218
|
*/
|
|
@@ -411,8 +411,8 @@ export function agentThoughtStreamingEventFunctionFromJSON(
|
|
|
411
411
|
}
|
|
412
412
|
|
|
413
413
|
/** @internal */
|
|
414
|
-
export const
|
|
415
|
-
|
|
414
|
+
export const ToolCalls$inboundSchema: z.ZodType<
|
|
415
|
+
ToolCalls,
|
|
416
416
|
z.ZodTypeDef,
|
|
417
417
|
unknown
|
|
418
418
|
> = z.object({
|
|
@@ -428,14 +428,13 @@ export const AgentThoughtStreamingEventToolCalls$inboundSchema: z.ZodType<
|
|
|
428
428
|
});
|
|
429
429
|
});
|
|
430
430
|
|
|
431
|
-
export function
|
|
431
|
+
export function toolCallsFromJSON(
|
|
432
432
|
jsonString: string,
|
|
433
|
-
): SafeParseResult<
|
|
433
|
+
): SafeParseResult<ToolCalls, SDKValidationError> {
|
|
434
434
|
return safeParse(
|
|
435
435
|
jsonString,
|
|
436
|
-
(x) =>
|
|
437
|
-
|
|
438
|
-
`Failed to parse 'AgentThoughtStreamingEventToolCalls' from JSON`,
|
|
436
|
+
(x) => ToolCalls$inboundSchema.parse(JSON.parse(x)),
|
|
437
|
+
`Failed to parse 'ToolCalls' from JSON`,
|
|
439
438
|
);
|
|
440
439
|
}
|
|
441
440
|
|
|
@@ -445,28 +444,25 @@ export const AgentThoughtStreamingEventDataRole$inboundSchema: z.ZodNativeEnum<
|
|
|
445
444
|
> = z.nativeEnum(AgentThoughtStreamingEventDataRole);
|
|
446
445
|
|
|
447
446
|
/** @internal */
|
|
448
|
-
export const
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
})
|
|
458
|
-
return remap$(v, {
|
|
459
|
-
"expires_at": "expiresAt",
|
|
447
|
+
export const Audio$inboundSchema: z.ZodType<Audio, z.ZodTypeDef, unknown> = z
|
|
448
|
+
.object({
|
|
449
|
+
id: z.string(),
|
|
450
|
+
expires_at: z.number().int(),
|
|
451
|
+
data: z.string(),
|
|
452
|
+
transcript: z.string(),
|
|
453
|
+
}).transform((v) => {
|
|
454
|
+
return remap$(v, {
|
|
455
|
+
"expires_at": "expiresAt",
|
|
456
|
+
});
|
|
460
457
|
});
|
|
461
|
-
});
|
|
462
458
|
|
|
463
|
-
export function
|
|
459
|
+
export function audioFromJSON(
|
|
464
460
|
jsonString: string,
|
|
465
|
-
): SafeParseResult<
|
|
461
|
+
): SafeParseResult<Audio, SDKValidationError> {
|
|
466
462
|
return safeParse(
|
|
467
463
|
jsonString,
|
|
468
|
-
(x) =>
|
|
469
|
-
`Failed to parse '
|
|
464
|
+
(x) => Audio$inboundSchema.parse(JSON.parse(x)),
|
|
465
|
+
`Failed to parse 'Audio' from JSON`,
|
|
470
466
|
);
|
|
471
467
|
}
|
|
472
468
|
|
|
@@ -478,15 +474,12 @@ export const AgentThoughtStreamingEventMessage$inboundSchema: z.ZodType<
|
|
|
478
474
|
> = z.object({
|
|
479
475
|
content: z.nullable(z.string()).optional(),
|
|
480
476
|
refusal: z.nullable(z.string()).optional(),
|
|
481
|
-
tool_calls: z.array(
|
|
482
|
-
z.lazy(() => AgentThoughtStreamingEventToolCalls$inboundSchema),
|
|
483
|
-
).optional(),
|
|
477
|
+
tool_calls: z.array(z.lazy(() => ToolCalls$inboundSchema)).optional(),
|
|
484
478
|
role: AgentThoughtStreamingEventDataRole$inboundSchema.optional(),
|
|
485
479
|
reasoning: z.nullable(z.string()).optional(),
|
|
486
480
|
reasoning_signature: z.nullable(z.string()).optional(),
|
|
487
481
|
redacted_reasoning: z.string().optional(),
|
|
488
|
-
audio: z.nullable(z.lazy(() =>
|
|
489
|
-
.optional(),
|
|
482
|
+
audio: z.nullable(z.lazy(() => Audio$inboundSchema)).optional(),
|
|
490
483
|
}).transform((v) => {
|
|
491
484
|
return remap$(v, {
|
|
492
485
|
"tool_calls": "toolCalls",
|
|
@@ -527,28 +520,25 @@ export function topLogprobsFromJSON(
|
|
|
527
520
|
}
|
|
528
521
|
|
|
529
522
|
/** @internal */
|
|
530
|
-
export const
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
})
|
|
540
|
-
return remap$(v, {
|
|
541
|
-
"top_logprobs": "topLogprobs",
|
|
523
|
+
export const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown> =
|
|
524
|
+
z.object({
|
|
525
|
+
token: z.string(),
|
|
526
|
+
logprob: z.number(),
|
|
527
|
+
bytes: z.nullable(z.array(z.number())),
|
|
528
|
+
top_logprobs: z.array(z.lazy(() => TopLogprobs$inboundSchema)),
|
|
529
|
+
}).transform((v) => {
|
|
530
|
+
return remap$(v, {
|
|
531
|
+
"top_logprobs": "topLogprobs",
|
|
532
|
+
});
|
|
542
533
|
});
|
|
543
|
-
});
|
|
544
534
|
|
|
545
|
-
export function
|
|
535
|
+
export function contentFromJSON(
|
|
546
536
|
jsonString: string,
|
|
547
|
-
): SafeParseResult<
|
|
537
|
+
): SafeParseResult<Content, SDKValidationError> {
|
|
548
538
|
return safeParse(
|
|
549
539
|
jsonString,
|
|
550
|
-
(x) =>
|
|
551
|
-
`Failed to parse '
|
|
540
|
+
(x) => Content$inboundSchema.parse(JSON.parse(x)),
|
|
541
|
+
`Failed to parse 'Content' from JSON`,
|
|
552
542
|
);
|
|
553
543
|
}
|
|
554
544
|
|
|
@@ -605,9 +595,7 @@ export const Logprobs$inboundSchema: z.ZodType<
|
|
|
605
595
|
z.ZodTypeDef,
|
|
606
596
|
unknown
|
|
607
597
|
> = z.object({
|
|
608
|
-
content: z.nullable(
|
|
609
|
-
z.array(z.lazy(() => AgentThoughtStreamingEventContent$inboundSchema)),
|
|
610
|
-
),
|
|
598
|
+
content: z.nullable(z.array(z.lazy(() => Content$inboundSchema))),
|
|
611
599
|
refusal: z.nullable(z.array(z.lazy(() => Refusal$inboundSchema))),
|
|
612
600
|
});
|
|
613
601
|
|
|
@@ -71,7 +71,6 @@ export * from "./identitymetrics.js";
|
|
|
71
71
|
export * from "./imagecontentpartschema.js";
|
|
72
72
|
export * from "./incompletedetails.js";
|
|
73
73
|
export * from "./inputtokensdetails.js";
|
|
74
|
-
export * from "./invokedeploymentrequest.js";
|
|
75
74
|
export * from "./legacytokenfamily.js";
|
|
76
75
|
export * from "./limits.js";
|
|
77
76
|
export * from "./listapikeysresponse.js";
|
|
@@ -23,16 +23,26 @@ import {
|
|
|
23
23
|
export type ModelMetadata = {
|
|
24
24
|
allowedPassthroughParameters?: Array<string> | null | undefined;
|
|
25
25
|
autorouter?: AutoRouterConfig | undefined;
|
|
26
|
+
cachedImageInputCost?: number | undefined;
|
|
27
|
+
cachedInputCost?: number | undefined;
|
|
28
|
+
chainOfThought?: boolean | undefined;
|
|
29
|
+
contextLength?: number | undefined;
|
|
26
30
|
contextWindow?: number | undefined;
|
|
27
31
|
costEfficiencyRating?: number | undefined;
|
|
28
32
|
costPerImage?: number | undefined;
|
|
33
|
+
deprecationDate?: string | undefined;
|
|
34
|
+
embeddingDimensions?: number | undefined;
|
|
29
35
|
extendedContextPricingMode?: string | undefined;
|
|
30
36
|
extendedContextThreshold?: number | undefined;
|
|
31
37
|
generateAudio?: boolean | undefined;
|
|
38
|
+
imageInputCost?: number | undefined;
|
|
39
|
+
imageOutputCost?: number | undefined;
|
|
32
40
|
imageTokenCost?: number | undefined;
|
|
33
41
|
intelligenceRating?: number | undefined;
|
|
34
42
|
isPrivate: boolean;
|
|
43
|
+
isRealtime?: boolean | undefined;
|
|
35
44
|
knowledgeCutoff?: string | undefined;
|
|
45
|
+
maxImagesPerRequest?: number | undefined;
|
|
36
46
|
maxInputTokens?: number | undefined;
|
|
37
47
|
maxOutputTokens?: number | undefined;
|
|
38
48
|
millionSearchesCost?: number | undefined;
|
|
@@ -55,9 +65,13 @@ export type ModelMetadata = {
|
|
|
55
65
|
millionTokensInputCost?: number | undefined;
|
|
56
66
|
millionTokensOutputCost?: number | undefined;
|
|
57
67
|
millionTokensReasoningCost?: number | undefined;
|
|
68
|
+
multilingual?: boolean | undefined;
|
|
69
|
+
offline?: boolean | undefined;
|
|
58
70
|
perVideoSecondCost?: number | undefined;
|
|
59
71
|
perVideoSecondCost1080p?: number | undefined;
|
|
60
72
|
pricing?: Pricing | undefined;
|
|
73
|
+
reasoningCost?: number | undefined;
|
|
74
|
+
reasoningTokens?: number | undefined;
|
|
61
75
|
region?: string | undefined;
|
|
62
76
|
speedRating?: number | undefined;
|
|
63
77
|
supportedVideoAspectRatios?: Array<string> | null | undefined;
|
|
@@ -71,6 +85,7 @@ export type ModelMetadata = {
|
|
|
71
85
|
supportsB64JsonResponseFormat?: boolean | undefined;
|
|
72
86
|
supportsBatchApi?: boolean | undefined;
|
|
73
87
|
supportsCodeExecution?: boolean | undefined;
|
|
88
|
+
supportsCommercialUse?: boolean | undefined;
|
|
74
89
|
supportsComputerUse?: boolean | undefined;
|
|
75
90
|
supportsDeveloperMessage?: boolean | undefined;
|
|
76
91
|
supportsDirectCost?: boolean | undefined;
|
|
@@ -80,6 +95,7 @@ export type ModelMetadata = {
|
|
|
80
95
|
supportsImageEdit?: boolean | undefined;
|
|
81
96
|
supportsImageInput?: boolean | undefined;
|
|
82
97
|
supportsImageOutput?: boolean | undefined;
|
|
98
|
+
supportsImages?: boolean | undefined;
|
|
83
99
|
supportsJsonModeResponseFormat?: boolean | undefined;
|
|
84
100
|
supportsJsonSchemaResponseFormat?: boolean | undefined;
|
|
85
101
|
supportsMaxCompletionTokens?: boolean | undefined;
|
|
@@ -99,7 +115,9 @@ export type ModelMetadata = {
|
|
|
99
115
|
supportsSamplingParams?: boolean | undefined;
|
|
100
116
|
supportsStreaming?: boolean | undefined;
|
|
101
117
|
supportsStrictTool?: boolean | undefined;
|
|
118
|
+
supportsStructuredOutputs?: boolean | undefined;
|
|
102
119
|
supportsSystemMessage?: boolean | undefined;
|
|
120
|
+
supportsText?: boolean | undefined;
|
|
103
121
|
supportsTextInput?: boolean | undefined;
|
|
104
122
|
supportsTextOutput?: boolean | undefined;
|
|
105
123
|
supportsToolCalling?: boolean | undefined;
|
|
@@ -111,6 +129,7 @@ export type ModelMetadata = {
|
|
|
111
129
|
supportsVideoSeed?: boolean | undefined;
|
|
112
130
|
supportsVision?: boolean | undefined;
|
|
113
131
|
supportsWebSearch?: boolean | undefined;
|
|
132
|
+
supportsZdr?: boolean | undefined;
|
|
114
133
|
thinkingEnforced?: boolean | undefined;
|
|
115
134
|
};
|
|
116
135
|
|
|
@@ -122,16 +141,26 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
122
141
|
> = z.object({
|
|
123
142
|
allowed_passthrough_parameters: z.nullable(z.array(z.string())).optional(),
|
|
124
143
|
autorouter: AutoRouterConfig$inboundSchema.optional(),
|
|
144
|
+
cached_image_input_cost: z.number().optional(),
|
|
145
|
+
cached_input_cost: z.number().optional(),
|
|
146
|
+
chain_of_thought: z.boolean().optional(),
|
|
147
|
+
context_length: z.number().int().optional(),
|
|
125
148
|
context_window: z.number().int().optional(),
|
|
126
149
|
cost_efficiency_rating: z.number().int().optional(),
|
|
127
150
|
cost_per_image: z.number().optional(),
|
|
151
|
+
deprecation_date: z.string().optional(),
|
|
152
|
+
embedding_dimensions: z.number().int().optional(),
|
|
128
153
|
extended_context_pricing_mode: z.string().optional(),
|
|
129
154
|
extended_context_threshold: z.number().int().optional(),
|
|
130
155
|
generate_audio: z.boolean().optional(),
|
|
156
|
+
image_input_cost: z.number().optional(),
|
|
157
|
+
image_output_cost: z.number().optional(),
|
|
131
158
|
image_token_cost: z.number().optional(),
|
|
132
159
|
intelligence_rating: z.number().int().optional(),
|
|
133
160
|
is_private: z.boolean(),
|
|
161
|
+
is_realtime: z.boolean().optional(),
|
|
134
162
|
knowledge_cutoff: z.string().optional(),
|
|
163
|
+
max_images_per_request: z.number().int().optional(),
|
|
135
164
|
max_input_tokens: z.number().int().optional(),
|
|
136
165
|
max_output_tokens: z.number().int().optional(),
|
|
137
166
|
million_searches_cost: z.number().optional(),
|
|
@@ -154,9 +183,13 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
154
183
|
million_tokens_input_cost: z.number().optional(),
|
|
155
184
|
million_tokens_output_cost: z.number().optional(),
|
|
156
185
|
million_tokens_reasoning_cost: z.number().optional(),
|
|
186
|
+
multilingual: z.boolean().optional(),
|
|
187
|
+
offline: z.boolean().optional(),
|
|
157
188
|
per_video_second_cost: z.number().optional(),
|
|
158
189
|
per_video_second_cost_1080p: z.number().optional(),
|
|
159
190
|
pricing: Pricing$inboundSchema.optional(),
|
|
191
|
+
reasoning_cost: z.number().optional(),
|
|
192
|
+
reasoning_tokens: z.number().int().optional(),
|
|
160
193
|
region: z.string().optional(),
|
|
161
194
|
speed_rating: z.number().int().optional(),
|
|
162
195
|
supported_video_aspect_ratios: z.nullable(z.array(z.string())).optional(),
|
|
@@ -170,6 +203,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
170
203
|
supports_b64_json_response_format: z.boolean().optional(),
|
|
171
204
|
supports_batch_api: z.boolean().optional(),
|
|
172
205
|
supports_code_execution: z.boolean().optional(),
|
|
206
|
+
supports_commercial_use: z.boolean().optional(),
|
|
173
207
|
supports_computer_use: z.boolean().optional(),
|
|
174
208
|
supports_developer_message: z.boolean().optional(),
|
|
175
209
|
supports_direct_cost: z.boolean().optional(),
|
|
@@ -179,6 +213,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
179
213
|
supports_image_edit: z.boolean().optional(),
|
|
180
214
|
supports_image_input: z.boolean().optional(),
|
|
181
215
|
supports_image_output: z.boolean().optional(),
|
|
216
|
+
supports_images: z.boolean().optional(),
|
|
182
217
|
supports_json_mode_response_format: z.boolean().optional(),
|
|
183
218
|
supports_json_schema_response_format: z.boolean().optional(),
|
|
184
219
|
supports_max_completion_tokens: z.boolean().optional(),
|
|
@@ -198,7 +233,9 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
198
233
|
supports_sampling_params: z.boolean().optional(),
|
|
199
234
|
supports_streaming: z.boolean().optional(),
|
|
200
235
|
supports_strict_tool: z.boolean().optional(),
|
|
236
|
+
supports_structured_outputs: z.boolean().optional(),
|
|
201
237
|
supports_system_message: z.boolean().optional(),
|
|
238
|
+
supports_text: z.boolean().optional(),
|
|
202
239
|
supports_text_input: z.boolean().optional(),
|
|
203
240
|
supports_text_output: z.boolean().optional(),
|
|
204
241
|
supports_tool_calling: z.boolean().optional(),
|
|
@@ -210,20 +247,31 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
210
247
|
supports_video_seed: z.boolean().optional(),
|
|
211
248
|
supports_vision: z.boolean().optional(),
|
|
212
249
|
supports_web_search: z.boolean().optional(),
|
|
250
|
+
supports_zdr: z.boolean().optional(),
|
|
213
251
|
thinking_enforced: z.boolean().optional(),
|
|
214
252
|
}).transform((v) => {
|
|
215
253
|
return remap$(v, {
|
|
216
254
|
"allowed_passthrough_parameters": "allowedPassthroughParameters",
|
|
255
|
+
"cached_image_input_cost": "cachedImageInputCost",
|
|
256
|
+
"cached_input_cost": "cachedInputCost",
|
|
257
|
+
"chain_of_thought": "chainOfThought",
|
|
258
|
+
"context_length": "contextLength",
|
|
217
259
|
"context_window": "contextWindow",
|
|
218
260
|
"cost_efficiency_rating": "costEfficiencyRating",
|
|
219
261
|
"cost_per_image": "costPerImage",
|
|
262
|
+
"deprecation_date": "deprecationDate",
|
|
263
|
+
"embedding_dimensions": "embeddingDimensions",
|
|
220
264
|
"extended_context_pricing_mode": "extendedContextPricingMode",
|
|
221
265
|
"extended_context_threshold": "extendedContextThreshold",
|
|
222
266
|
"generate_audio": "generateAudio",
|
|
267
|
+
"image_input_cost": "imageInputCost",
|
|
268
|
+
"image_output_cost": "imageOutputCost",
|
|
223
269
|
"image_token_cost": "imageTokenCost",
|
|
224
270
|
"intelligence_rating": "intelligenceRating",
|
|
225
271
|
"is_private": "isPrivate",
|
|
272
|
+
"is_realtime": "isRealtime",
|
|
226
273
|
"knowledge_cutoff": "knowledgeCutoff",
|
|
274
|
+
"max_images_per_request": "maxImagesPerRequest",
|
|
227
275
|
"max_input_tokens": "maxInputTokens",
|
|
228
276
|
"max_output_tokens": "maxOutputTokens",
|
|
229
277
|
"million_searches_cost": "millionSearchesCost",
|
|
@@ -252,6 +300,8 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
252
300
|
"million_tokens_reasoning_cost": "millionTokensReasoningCost",
|
|
253
301
|
"per_video_second_cost": "perVideoSecondCost",
|
|
254
302
|
"per_video_second_cost_1080p": "perVideoSecondCost1080p",
|
|
303
|
+
"reasoning_cost": "reasoningCost",
|
|
304
|
+
"reasoning_tokens": "reasoningTokens",
|
|
255
305
|
"speed_rating": "speedRating",
|
|
256
306
|
"supported_video_aspect_ratios": "supportedVideoAspectRatios",
|
|
257
307
|
"supported_video_durations": "supportedVideoDurations",
|
|
@@ -264,6 +314,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
264
314
|
"supports_b64_json_response_format": "supportsB64JsonResponseFormat",
|
|
265
315
|
"supports_batch_api": "supportsBatchApi",
|
|
266
316
|
"supports_code_execution": "supportsCodeExecution",
|
|
317
|
+
"supports_commercial_use": "supportsCommercialUse",
|
|
267
318
|
"supports_computer_use": "supportsComputerUse",
|
|
268
319
|
"supports_developer_message": "supportsDeveloperMessage",
|
|
269
320
|
"supports_direct_cost": "supportsDirectCost",
|
|
@@ -273,6 +324,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
273
324
|
"supports_image_edit": "supportsImageEdit",
|
|
274
325
|
"supports_image_input": "supportsImageInput",
|
|
275
326
|
"supports_image_output": "supportsImageOutput",
|
|
327
|
+
"supports_images": "supportsImages",
|
|
276
328
|
"supports_json_mode_response_format": "supportsJsonModeResponseFormat",
|
|
277
329
|
"supports_json_schema_response_format": "supportsJsonSchemaResponseFormat",
|
|
278
330
|
"supports_max_completion_tokens": "supportsMaxCompletionTokens",
|
|
@@ -292,7 +344,9 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
292
344
|
"supports_sampling_params": "supportsSamplingParams",
|
|
293
345
|
"supports_streaming": "supportsStreaming",
|
|
294
346
|
"supports_strict_tool": "supportsStrictTool",
|
|
347
|
+
"supports_structured_outputs": "supportsStructuredOutputs",
|
|
295
348
|
"supports_system_message": "supportsSystemMessage",
|
|
349
|
+
"supports_text": "supportsText",
|
|
296
350
|
"supports_text_input": "supportsTextInput",
|
|
297
351
|
"supports_text_output": "supportsTextOutput",
|
|
298
352
|
"supports_tool_calling": "supportsToolCalling",
|
|
@@ -304,6 +358,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
304
358
|
"supports_video_seed": "supportsVideoSeed",
|
|
305
359
|
"supports_vision": "supportsVision",
|
|
306
360
|
"supports_web_search": "supportsWebSearch",
|
|
361
|
+
"supports_zdr": "supportsZdr",
|
|
307
362
|
"thinking_enforced": "thinkingEnforced",
|
|
308
363
|
});
|
|
309
364
|
});
|
|
@@ -311,16 +366,26 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
311
366
|
export type ModelMetadata$Outbound = {
|
|
312
367
|
allowed_passthrough_parameters?: Array<string> | null | undefined;
|
|
313
368
|
autorouter?: AutoRouterConfig$Outbound | undefined;
|
|
369
|
+
cached_image_input_cost?: number | undefined;
|
|
370
|
+
cached_input_cost?: number | undefined;
|
|
371
|
+
chain_of_thought?: boolean | undefined;
|
|
372
|
+
context_length?: number | undefined;
|
|
314
373
|
context_window?: number | undefined;
|
|
315
374
|
cost_efficiency_rating?: number | undefined;
|
|
316
375
|
cost_per_image?: number | undefined;
|
|
376
|
+
deprecation_date?: string | undefined;
|
|
377
|
+
embedding_dimensions?: number | undefined;
|
|
317
378
|
extended_context_pricing_mode?: string | undefined;
|
|
318
379
|
extended_context_threshold?: number | undefined;
|
|
319
380
|
generate_audio?: boolean | undefined;
|
|
381
|
+
image_input_cost?: number | undefined;
|
|
382
|
+
image_output_cost?: number | undefined;
|
|
320
383
|
image_token_cost?: number | undefined;
|
|
321
384
|
intelligence_rating?: number | undefined;
|
|
322
385
|
is_private: boolean;
|
|
386
|
+
is_realtime?: boolean | undefined;
|
|
323
387
|
knowledge_cutoff?: string | undefined;
|
|
388
|
+
max_images_per_request?: number | undefined;
|
|
324
389
|
max_input_tokens?: number | undefined;
|
|
325
390
|
max_output_tokens?: number | undefined;
|
|
326
391
|
million_searches_cost?: number | undefined;
|
|
@@ -343,9 +408,13 @@ export type ModelMetadata$Outbound = {
|
|
|
343
408
|
million_tokens_input_cost?: number | undefined;
|
|
344
409
|
million_tokens_output_cost?: number | undefined;
|
|
345
410
|
million_tokens_reasoning_cost?: number | undefined;
|
|
411
|
+
multilingual?: boolean | undefined;
|
|
412
|
+
offline?: boolean | undefined;
|
|
346
413
|
per_video_second_cost?: number | undefined;
|
|
347
414
|
per_video_second_cost_1080p?: number | undefined;
|
|
348
415
|
pricing?: Pricing$Outbound | undefined;
|
|
416
|
+
reasoning_cost?: number | undefined;
|
|
417
|
+
reasoning_tokens?: number | undefined;
|
|
349
418
|
region?: string | undefined;
|
|
350
419
|
speed_rating?: number | undefined;
|
|
351
420
|
supported_video_aspect_ratios?: Array<string> | null | undefined;
|
|
@@ -359,6 +428,7 @@ export type ModelMetadata$Outbound = {
|
|
|
359
428
|
supports_b64_json_response_format?: boolean | undefined;
|
|
360
429
|
supports_batch_api?: boolean | undefined;
|
|
361
430
|
supports_code_execution?: boolean | undefined;
|
|
431
|
+
supports_commercial_use?: boolean | undefined;
|
|
362
432
|
supports_computer_use?: boolean | undefined;
|
|
363
433
|
supports_developer_message?: boolean | undefined;
|
|
364
434
|
supports_direct_cost?: boolean | undefined;
|
|
@@ -368,6 +438,7 @@ export type ModelMetadata$Outbound = {
|
|
|
368
438
|
supports_image_edit?: boolean | undefined;
|
|
369
439
|
supports_image_input?: boolean | undefined;
|
|
370
440
|
supports_image_output?: boolean | undefined;
|
|
441
|
+
supports_images?: boolean | undefined;
|
|
371
442
|
supports_json_mode_response_format?: boolean | undefined;
|
|
372
443
|
supports_json_schema_response_format?: boolean | undefined;
|
|
373
444
|
supports_max_completion_tokens?: boolean | undefined;
|
|
@@ -387,7 +458,9 @@ export type ModelMetadata$Outbound = {
|
|
|
387
458
|
supports_sampling_params?: boolean | undefined;
|
|
388
459
|
supports_streaming?: boolean | undefined;
|
|
389
460
|
supports_strict_tool?: boolean | undefined;
|
|
461
|
+
supports_structured_outputs?: boolean | undefined;
|
|
390
462
|
supports_system_message?: boolean | undefined;
|
|
463
|
+
supports_text?: boolean | undefined;
|
|
391
464
|
supports_text_input?: boolean | undefined;
|
|
392
465
|
supports_text_output?: boolean | undefined;
|
|
393
466
|
supports_tool_calling?: boolean | undefined;
|
|
@@ -399,6 +472,7 @@ export type ModelMetadata$Outbound = {
|
|
|
399
472
|
supports_video_seed?: boolean | undefined;
|
|
400
473
|
supports_vision?: boolean | undefined;
|
|
401
474
|
supports_web_search?: boolean | undefined;
|
|
475
|
+
supports_zdr?: boolean | undefined;
|
|
402
476
|
thinking_enforced?: boolean | undefined;
|
|
403
477
|
};
|
|
404
478
|
|
|
@@ -410,16 +484,26 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
410
484
|
> = z.object({
|
|
411
485
|
allowedPassthroughParameters: z.nullable(z.array(z.string())).optional(),
|
|
412
486
|
autorouter: AutoRouterConfig$outboundSchema.optional(),
|
|
487
|
+
cachedImageInputCost: z.number().optional(),
|
|
488
|
+
cachedInputCost: z.number().optional(),
|
|
489
|
+
chainOfThought: z.boolean().optional(),
|
|
490
|
+
contextLength: z.number().int().optional(),
|
|
413
491
|
contextWindow: z.number().int().optional(),
|
|
414
492
|
costEfficiencyRating: z.number().int().optional(),
|
|
415
493
|
costPerImage: z.number().optional(),
|
|
494
|
+
deprecationDate: z.string().optional(),
|
|
495
|
+
embeddingDimensions: z.number().int().optional(),
|
|
416
496
|
extendedContextPricingMode: z.string().optional(),
|
|
417
497
|
extendedContextThreshold: z.number().int().optional(),
|
|
418
498
|
generateAudio: z.boolean().optional(),
|
|
499
|
+
imageInputCost: z.number().optional(),
|
|
500
|
+
imageOutputCost: z.number().optional(),
|
|
419
501
|
imageTokenCost: z.number().optional(),
|
|
420
502
|
intelligenceRating: z.number().int().optional(),
|
|
421
503
|
isPrivate: z.boolean(),
|
|
504
|
+
isRealtime: z.boolean().optional(),
|
|
422
505
|
knowledgeCutoff: z.string().optional(),
|
|
506
|
+
maxImagesPerRequest: z.number().int().optional(),
|
|
423
507
|
maxInputTokens: z.number().int().optional(),
|
|
424
508
|
maxOutputTokens: z.number().int().optional(),
|
|
425
509
|
millionSearchesCost: z.number().optional(),
|
|
@@ -442,9 +526,13 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
442
526
|
millionTokensInputCost: z.number().optional(),
|
|
443
527
|
millionTokensOutputCost: z.number().optional(),
|
|
444
528
|
millionTokensReasoningCost: z.number().optional(),
|
|
529
|
+
multilingual: z.boolean().optional(),
|
|
530
|
+
offline: z.boolean().optional(),
|
|
445
531
|
perVideoSecondCost: z.number().optional(),
|
|
446
532
|
perVideoSecondCost1080p: z.number().optional(),
|
|
447
533
|
pricing: Pricing$outboundSchema.optional(),
|
|
534
|
+
reasoningCost: z.number().optional(),
|
|
535
|
+
reasoningTokens: z.number().int().optional(),
|
|
448
536
|
region: z.string().optional(),
|
|
449
537
|
speedRating: z.number().int().optional(),
|
|
450
538
|
supportedVideoAspectRatios: z.nullable(z.array(z.string())).optional(),
|
|
@@ -458,6 +546,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
458
546
|
supportsB64JsonResponseFormat: z.boolean().optional(),
|
|
459
547
|
supportsBatchApi: z.boolean().optional(),
|
|
460
548
|
supportsCodeExecution: z.boolean().optional(),
|
|
549
|
+
supportsCommercialUse: z.boolean().optional(),
|
|
461
550
|
supportsComputerUse: z.boolean().optional(),
|
|
462
551
|
supportsDeveloperMessage: z.boolean().optional(),
|
|
463
552
|
supportsDirectCost: z.boolean().optional(),
|
|
@@ -467,6 +556,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
467
556
|
supportsImageEdit: z.boolean().optional(),
|
|
468
557
|
supportsImageInput: z.boolean().optional(),
|
|
469
558
|
supportsImageOutput: z.boolean().optional(),
|
|
559
|
+
supportsImages: z.boolean().optional(),
|
|
470
560
|
supportsJsonModeResponseFormat: z.boolean().optional(),
|
|
471
561
|
supportsJsonSchemaResponseFormat: z.boolean().optional(),
|
|
472
562
|
supportsMaxCompletionTokens: z.boolean().optional(),
|
|
@@ -486,7 +576,9 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
486
576
|
supportsSamplingParams: z.boolean().optional(),
|
|
487
577
|
supportsStreaming: z.boolean().optional(),
|
|
488
578
|
supportsStrictTool: z.boolean().optional(),
|
|
579
|
+
supportsStructuredOutputs: z.boolean().optional(),
|
|
489
580
|
supportsSystemMessage: z.boolean().optional(),
|
|
581
|
+
supportsText: z.boolean().optional(),
|
|
490
582
|
supportsTextInput: z.boolean().optional(),
|
|
491
583
|
supportsTextOutput: z.boolean().optional(),
|
|
492
584
|
supportsToolCalling: z.boolean().optional(),
|
|
@@ -498,20 +590,31 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
498
590
|
supportsVideoSeed: z.boolean().optional(),
|
|
499
591
|
supportsVision: z.boolean().optional(),
|
|
500
592
|
supportsWebSearch: z.boolean().optional(),
|
|
593
|
+
supportsZdr: z.boolean().optional(),
|
|
501
594
|
thinkingEnforced: z.boolean().optional(),
|
|
502
595
|
}).transform((v) => {
|
|
503
596
|
return remap$(v, {
|
|
504
597
|
allowedPassthroughParameters: "allowed_passthrough_parameters",
|
|
598
|
+
cachedImageInputCost: "cached_image_input_cost",
|
|
599
|
+
cachedInputCost: "cached_input_cost",
|
|
600
|
+
chainOfThought: "chain_of_thought",
|
|
601
|
+
contextLength: "context_length",
|
|
505
602
|
contextWindow: "context_window",
|
|
506
603
|
costEfficiencyRating: "cost_efficiency_rating",
|
|
507
604
|
costPerImage: "cost_per_image",
|
|
605
|
+
deprecationDate: "deprecation_date",
|
|
606
|
+
embeddingDimensions: "embedding_dimensions",
|
|
508
607
|
extendedContextPricingMode: "extended_context_pricing_mode",
|
|
509
608
|
extendedContextThreshold: "extended_context_threshold",
|
|
510
609
|
generateAudio: "generate_audio",
|
|
610
|
+
imageInputCost: "image_input_cost",
|
|
611
|
+
imageOutputCost: "image_output_cost",
|
|
511
612
|
imageTokenCost: "image_token_cost",
|
|
512
613
|
intelligenceRating: "intelligence_rating",
|
|
513
614
|
isPrivate: "is_private",
|
|
615
|
+
isRealtime: "is_realtime",
|
|
514
616
|
knowledgeCutoff: "knowledge_cutoff",
|
|
617
|
+
maxImagesPerRequest: "max_images_per_request",
|
|
515
618
|
maxInputTokens: "max_input_tokens",
|
|
516
619
|
maxOutputTokens: "max_output_tokens",
|
|
517
620
|
millionSearchesCost: "million_searches_cost",
|
|
@@ -540,6 +643,8 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
540
643
|
millionTokensReasoningCost: "million_tokens_reasoning_cost",
|
|
541
644
|
perVideoSecondCost: "per_video_second_cost",
|
|
542
645
|
perVideoSecondCost1080p: "per_video_second_cost_1080p",
|
|
646
|
+
reasoningCost: "reasoning_cost",
|
|
647
|
+
reasoningTokens: "reasoning_tokens",
|
|
543
648
|
speedRating: "speed_rating",
|
|
544
649
|
supportedVideoAspectRatios: "supported_video_aspect_ratios",
|
|
545
650
|
supportedVideoDurations: "supported_video_durations",
|
|
@@ -552,6 +657,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
552
657
|
supportsB64JsonResponseFormat: "supports_b64_json_response_format",
|
|
553
658
|
supportsBatchApi: "supports_batch_api",
|
|
554
659
|
supportsCodeExecution: "supports_code_execution",
|
|
660
|
+
supportsCommercialUse: "supports_commercial_use",
|
|
555
661
|
supportsComputerUse: "supports_computer_use",
|
|
556
662
|
supportsDeveloperMessage: "supports_developer_message",
|
|
557
663
|
supportsDirectCost: "supports_direct_cost",
|
|
@@ -561,6 +667,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
561
667
|
supportsImageEdit: "supports_image_edit",
|
|
562
668
|
supportsImageInput: "supports_image_input",
|
|
563
669
|
supportsImageOutput: "supports_image_output",
|
|
670
|
+
supportsImages: "supports_images",
|
|
564
671
|
supportsJsonModeResponseFormat: "supports_json_mode_response_format",
|
|
565
672
|
supportsJsonSchemaResponseFormat: "supports_json_schema_response_format",
|
|
566
673
|
supportsMaxCompletionTokens: "supports_max_completion_tokens",
|
|
@@ -580,7 +687,9 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
580
687
|
supportsSamplingParams: "supports_sampling_params",
|
|
581
688
|
supportsStreaming: "supports_streaming",
|
|
582
689
|
supportsStrictTool: "supports_strict_tool",
|
|
690
|
+
supportsStructuredOutputs: "supports_structured_outputs",
|
|
583
691
|
supportsSystemMessage: "supports_system_message",
|
|
692
|
+
supportsText: "supports_text",
|
|
584
693
|
supportsTextInput: "supports_text_input",
|
|
585
694
|
supportsTextOutput: "supports_text_output",
|
|
586
695
|
supportsToolCalling: "supports_tool_calling",
|
|
@@ -592,6 +701,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
592
701
|
supportsVideoSeed: "supports_video_seed",
|
|
593
702
|
supportsVision: "supports_vision",
|
|
594
703
|
supportsWebSearch: "supports_web_search",
|
|
704
|
+
supportsZdr: "supports_zdr",
|
|
595
705
|
thinkingEnforced: "thinking_enforced",
|
|
596
706
|
});
|
|
597
707
|
});
|
|
@@ -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_01kspgezvfxqccsa03520gp6xa"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-05-
|
|
141
|
+
"2026-05-28T05:20:54.122Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|