@orq-ai/node 4.16.1 → 4.16.4
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 +5 -3
- package/funcs/routerClassifyCreate.d.ts +10 -2
- package/funcs/routerClassifyCreate.d.ts.map +1 -1
- package/funcs/routerClassifyCreate.js +10 -2
- package/funcs/routerClassifyCreate.js.map +1 -1
- package/funcs/routerDecisionsCreate.d.ts +10 -2
- package/funcs/routerDecisionsCreate.d.ts.map +1 -1
- package/funcs/routerDecisionsCreate.js +11 -2
- package/funcs/routerDecisionsCreate.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/classifycacheconfig.d.ts +33 -0
- package/models/components/classifycacheconfig.d.ts.map +1 -0
- package/models/components/classifycacheconfig.js +58 -0
- package/models/components/classifycacheconfig.js.map +1 -0
- package/models/components/classifytimeoutconfig.d.ts +15 -0
- package/models/components/classifytimeoutconfig.d.ts.map +1 -0
- package/models/components/classifytimeoutconfig.js +54 -0
- package/models/components/classifytimeoutconfig.js.map +1 -0
- package/models/components/environment.d.ts +1 -1
- package/models/components/index.d.ts +7 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +7 -0
- package/models/components/index.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/responsefunctioncallargumentsdonestreamevent.d.ts +4 -0
- package/models/components/responsefunctioncallargumentsdonestreamevent.d.ts.map +1 -1
- package/models/components/responsefunctioncallargumentsdonestreamevent.js +1 -0
- package/models/components/responsefunctioncallargumentsdonestreamevent.js.map +1 -1
- package/models/components/responseimagegenerationcallpartialimagestreamevent.d.ts +16 -0
- package/models/components/responseimagegenerationcallpartialimagestreamevent.d.ts.map +1 -1
- package/models/components/responseimagegenerationcallpartialimagestreamevent.js +5 -0
- package/models/components/responseimagegenerationcallpartialimagestreamevent.js.map +1 -1
- package/models/components/responsereasoningsummarypartaddedstreamevent.d.ts +4 -0
- package/models/components/responsereasoningsummarypartaddedstreamevent.d.ts.map +1 -1
- package/models/components/responsereasoningsummarypartaddedstreamevent.js +1 -0
- package/models/components/responsereasoningsummarypartaddedstreamevent.js.map +1 -1
- package/models/components/responsereasoningsummarypartdonestreamevent.d.ts +4 -0
- package/models/components/responsereasoningsummarypartdonestreamevent.d.ts.map +1 -1
- package/models/components/responsereasoningsummarypartdonestreamevent.js +1 -0
- package/models/components/responsereasoningsummarypartdonestreamevent.js.map +1 -1
- package/models/components/responseshellcallcommandaddedstreamevent.d.ts +35 -0
- package/models/components/responseshellcallcommandaddedstreamevent.d.ts.map +1 -0
- package/models/components/responseshellcallcommandaddedstreamevent.js +61 -0
- package/models/components/responseshellcallcommandaddedstreamevent.js.map +1 -0
- package/models/components/responseshellcallcommanddeltastreamevent.d.ts +39 -0
- package/models/components/responseshellcallcommanddeltastreamevent.d.ts.map +1 -0
- package/models/components/responseshellcallcommanddeltastreamevent.js +62 -0
- package/models/components/responseshellcallcommanddeltastreamevent.js.map +1 -0
- package/models/components/responseshellcallcommanddonestreamevent.d.ts +35 -0
- package/models/components/responseshellcallcommanddonestreamevent.d.ts.map +1 -0
- package/models/components/responseshellcallcommanddonestreamevent.js +61 -0
- package/models/components/responseshellcallcommanddonestreamevent.js.map +1 -0
- package/models/components/responseshellcalloutputcontentdeltastreamevent.d.ts +41 -0
- package/models/components/responseshellcalloutputcontentdeltastreamevent.d.ts.map +1 -0
- package/models/components/responseshellcalloutputcontentdeltastreamevent.js +63 -0
- package/models/components/responseshellcalloutputcontentdeltastreamevent.js.map +1 -0
- package/models/components/responseshellcalloutputcontentdonestreamevent.d.ts +38 -0
- package/models/components/responseshellcalloutputcontentdonestreamevent.d.ts.map +1 -0
- package/models/components/responseshellcalloutputcontentdonestreamevent.js +63 -0
- package/models/components/responseshellcalloutputcontentdonestreamevent.js.map +1 -0
- package/models/components/responsestreamevent.d.ts +6 -1
- package/models/components/responsestreamevent.d.ts.map +1 -1
- package/models/components/responsestreamevent.js +10 -0
- package/models/components/responsestreamevent.js.map +1 -1
- package/models/errors/createclassify.d.ts +23 -2
- package/models/errors/createclassify.d.ts.map +1 -1
- package/models/errors/createclassify.js +30 -2
- package/models/errors/createclassify.js.map +1 -1
- package/models/errors/createdecisions.d.ts +23 -2
- package/models/errors/createdecisions.d.ts.map +1 -1
- package/models/errors/createdecisions.js +30 -2
- package/models/errors/createdecisions.js.map +1 -1
- package/models/operations/createclassify.d.ts +4 -0
- package/models/operations/createclassify.d.ts.map +1 -1
- package/models/operations/createclassify.js +2 -0
- package/models/operations/createclassify.js.map +1 -1
- package/models/operations/createdecisions.d.ts +4 -0
- package/models/operations/createdecisions.d.ts.map +1 -1
- package/models/operations/createdecisions.js +2 -0
- package/models/operations/createdecisions.js.map +1 -1
- package/models/operations/createprompt.d.ts +2 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +2 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/deploymentinvoke.d.ts +2 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +2 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +2 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +2 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +2 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +2 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallprompts.d.ts +2 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +2 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getoneprompt.d.ts +2 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +2 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +2 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +2 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listpromptversions.d.ts +2 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +2 -0
- package/models/operations/listpromptversions.js.map +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/updateprompt.d.ts +2 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +2 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +6 -6
- package/packages/orq-rc/src/funcs/responsesCompact.ts +1 -1
- package/packages/orq-rc/src/funcs/routerAudioTranscriptionsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/routerAudioTranslationsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/routerClassifyCreate.ts +20 -1
- package/packages/orq-rc/src/funcs/routerDecisionsCreate.ts +17 -1
- package/packages/orq-rc/src/funcs/routerImagesEditsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/routerImagesVariationsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/routerModerationsCreate.ts +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/classifycacheconfig.ts +59 -0
- package/packages/orq-rc/src/models/components/classifytimeoutconfig.ts +39 -0
- package/packages/orq-rc/src/models/components/environment.ts +1 -1
- package/packages/orq-rc/src/models/components/filecontentpartschema.ts +12 -3
- package/packages/orq-rc/src/models/components/index.ts +8 -1
- package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +2 -2
- package/packages/orq-rc/src/models/components/mcpgatewayplugin.ts +16 -0
- package/packages/orq-rc/src/models/components/modelsconfig.ts +13 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/responsefunctioncallargumentsdonestreamevent.ts +5 -0
- package/packages/orq-rc/src/models/components/responseimagegenerationcallpartialimagestreamevent.ts +21 -0
- package/packages/orq-rc/src/models/components/responsereasoningsummarypartaddedstreamevent.ts +5 -0
- package/packages/orq-rc/src/models/components/responsereasoningsummarypartdonestreamevent.ts +5 -0
- package/packages/orq-rc/src/models/components/responseshellcallcommandaddedstreamevent.ts +78 -0
- package/packages/orq-rc/src/models/components/responseshellcallcommanddeltastreamevent.ts +83 -0
- package/packages/orq-rc/src/models/components/responseshellcallcommanddonestreamevent.ts +78 -0
- package/packages/orq-rc/src/models/components/responseshellcalloutputcontentdeltastreamevent.ts +85 -0
- package/packages/orq-rc/src/models/components/responseshellcalloutputcontentdonestreamevent.ts +82 -0
- package/packages/orq-rc/src/models/components/responsestreamevent.ts +30 -0
- package/packages/orq-rc/src/models/components/routingrulemodelsconfig.ts +16 -0
- package/packages/orq-rc/src/models/components/routingruleplugin.ts +22 -0
- package/packages/orq-rc/src/models/components/signalscheck.ts +51 -0
- package/packages/orq-rc/src/models/components/updateworkspacerequest.ts +4 -0
- package/packages/orq-rc/src/models/errors/createclassify.ts +54 -2
- package/packages/orq-rc/src/models/errors/createdecisions.ts +54 -2
- package/packages/orq-rc/src/models/errors/createmoderation.ts +2 -2
- package/packages/orq-rc/src/models/operations/compactresponse.ts +4 -4
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +26 -0
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +15 -1
- package/packages/orq-rc/src/models/operations/createclassify.ts +17 -0
- package/packages/orq-rc/src/models/operations/createcompletion.ts +14 -0
- package/packages/orq-rc/src/models/operations/createdecisions.ts +17 -0
- package/packages/orq-rc/src/models/operations/createembedding.ts +7 -0
- package/packages/orq-rc/src/models/operations/createimage.ts +14 -0
- package/packages/orq-rc/src/models/operations/createimageedit.ts +14 -0
- package/packages/orq-rc/src/models/operations/createimagevariation.ts +14 -0
- package/packages/orq-rc/src/models/operations/createmoderation.ts +3 -3
- package/packages/orq-rc/src/models/operations/createprompt.ts +17 -2
- package/packages/orq-rc/src/models/operations/creatererank.ts +14 -0
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +7 -0
- package/packages/orq-rc/src/models/operations/createspeech.ts +14 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/createtranscription.ts +14 -0
- package/packages/orq-rc/src/models/operations/createtranslation.ts +14 -0
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +2 -2
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +2 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +2 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +4 -2
- package/packages/orq-rc/src/models/operations/getallprompts.ts +9 -1
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +9 -1
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +9 -1
- 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 +12 -0
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +9 -1
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +12 -0
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +15 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +15 -1
- package/packages/orq-rc/src/models/operations/tracesgetspan.ts +3 -0
- package/packages/orq-rc/src/models/operations/updateagent.ts +26 -0
- package/packages/orq-rc/src/models/operations/updateprompt.ts +17 -2
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/sdk/classify.ts +13 -1
- package/packages/orq-rc/src/sdk/decisions.ts +9 -1
- package/packages/orq-rc/src/sdk/responses.ts +1 -1
- package/sdk/classify.d.ts +9 -1
- package/sdk/classify.d.ts.map +1 -1
- package/sdk/classify.js +9 -1
- package/sdk/classify.js.map +1 -1
- package/sdk/decisions.d.ts +9 -1
- package/sdk/decisions.d.ts.map +1 -1
- package/sdk/decisions.js +9 -1
- package/sdk/decisions.js.map +1 -1
- package/src/funcs/routerClassifyCreate.ts +16 -1
- package/src/funcs/routerDecisionsCreate.ts +17 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/classifycacheconfig.ts +59 -0
- package/src/models/components/classifytimeoutconfig.ts +39 -0
- package/src/models/components/environment.ts +1 -1
- package/src/models/components/index.ts +7 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/responsefunctioncallargumentsdonestreamevent.ts +5 -0
- package/src/models/components/responseimagegenerationcallpartialimagestreamevent.ts +21 -0
- package/src/models/components/responsereasoningsummarypartaddedstreamevent.ts +5 -0
- package/src/models/components/responsereasoningsummarypartdonestreamevent.ts +5 -0
- package/src/models/components/responseshellcallcommandaddedstreamevent.ts +78 -0
- package/src/models/components/responseshellcallcommanddeltastreamevent.ts +83 -0
- package/src/models/components/responseshellcallcommanddonestreamevent.ts +78 -0
- package/src/models/components/responseshellcalloutputcontentdeltastreamevent.ts +85 -0
- package/src/models/components/responseshellcalloutputcontentdonestreamevent.ts +82 -0
- package/src/models/components/responsestreamevent.ts +30 -0
- package/src/models/errors/createclassify.ts +54 -2
- package/src/models/errors/createdecisions.ts +54 -2
- package/src/models/operations/createclassify.ts +6 -0
- package/src/models/operations/createdecisions.ts +6 -0
- package/src/models/operations/createprompt.ts +2 -0
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/deploymentinvoke.ts +2 -0
- package/src/models/operations/deployments.ts +2 -0
- package/src/models/operations/deploymentstream.ts +2 -0
- package/src/models/operations/getallprompts.ts +2 -0
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getoneprompt.ts +2 -0
- package/src/models/operations/getpromptversion.ts +2 -0
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listpromptversions.ts +2 -0
- 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/updateprompt.ts +2 -0
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/classify.ts +9 -1
- package/src/sdk/decisions.ts +9 -1
- package/packages/orq-rc/src/models/components/publiccompactionitem.ts +0 -79
|
@@ -337,7 +337,7 @@ export type CreatePrompt24 = {
|
|
|
337
337
|
type: "file";
|
|
338
338
|
cacheControl?: CreatePrompt2CacheControl | undefined;
|
|
339
339
|
/**
|
|
340
|
-
* File data for the content part. Must contain
|
|
340
|
+
* File data for the content part. Must contain exactly one of file_data, file_id or uri.
|
|
341
341
|
*/
|
|
342
342
|
file: components.FileContentPartSchema;
|
|
343
343
|
};
|
|
@@ -933,6 +933,10 @@ export type PromptInput = {
|
|
|
933
933
|
| components.TraceScrubbingPlugin
|
|
934
934
|
>
|
|
935
935
|
| undefined;
|
|
936
|
+
/**
|
|
937
|
+
* HTTP status codes that trigger fallback. Enter up to 20 unique integers from 400 to 599. When omitted or empty, defaults to [408, 429, 500, 502, 503, 504, 529].
|
|
938
|
+
*/
|
|
939
|
+
fallbackOnCodes?: Array<number> | undefined;
|
|
936
940
|
/**
|
|
937
941
|
* Array of fallback models to use if primary model fails
|
|
938
942
|
*/
|
|
@@ -1416,8 +1420,10 @@ export const CreatePromptProvider = {
|
|
|
1416
1420
|
Reson8: "reson8",
|
|
1417
1421
|
Meta: "meta",
|
|
1418
1422
|
Greenpt: "greenpt",
|
|
1423
|
+
Liquid: "liquid",
|
|
1419
1424
|
Typesafe: "typesafe",
|
|
1420
1425
|
Berget: "berget",
|
|
1426
|
+
Cloudflare: "cloudflare",
|
|
1421
1427
|
Slack: "slack",
|
|
1422
1428
|
Orq: "orq",
|
|
1423
1429
|
} as const;
|
|
@@ -2249,7 +2255,7 @@ export type CreatePrompt2Prompts4 = {
|
|
|
2249
2255
|
type: "file";
|
|
2250
2256
|
cacheControl?: CreatePrompt2PromptsCacheControl | undefined;
|
|
2251
2257
|
/**
|
|
2252
|
-
* File data for the content part. Must contain
|
|
2258
|
+
* File data for the content part. Must contain exactly one of file_data, file_id or uri.
|
|
2253
2259
|
*/
|
|
2254
2260
|
file: components.FileContentPartSchema;
|
|
2255
2261
|
};
|
|
@@ -2452,6 +2458,10 @@ export type PromptField = {
|
|
|
2452
2458
|
| components.TraceScrubbingPlugin
|
|
2453
2459
|
>
|
|
2454
2460
|
| undefined;
|
|
2461
|
+
/**
|
|
2462
|
+
* HTTP status codes that trigger fallback. Enter up to 20 unique integers from 400 to 599. When omitted or empty, defaults to [408, 429, 500, 502, 503, 504, 529].
|
|
2463
|
+
*/
|
|
2464
|
+
fallbackOnCodes?: Array<number> | undefined;
|
|
2455
2465
|
/**
|
|
2456
2466
|
* Array of fallback models to use if primary model fails
|
|
2457
2467
|
*/
|
|
@@ -3948,6 +3958,7 @@ export type PromptInput$Outbound = {
|
|
|
3948
3958
|
| components.TraceScrubbingPlugin$Outbound
|
|
3949
3959
|
>
|
|
3950
3960
|
| undefined;
|
|
3961
|
+
fallback_on_codes?: Array<number> | undefined;
|
|
3951
3962
|
fallbacks?: Array<CreatePromptFallbacks$Outbound> | undefined;
|
|
3952
3963
|
retry?: CreatePromptRetry$Outbound | undefined;
|
|
3953
3964
|
cache?: CreatePromptCache$Outbound | undefined;
|
|
@@ -4018,6 +4029,7 @@ export const PromptInput$outboundSchema: z.ZodType<
|
|
|
4018
4029
|
components.TraceScrubbingPlugin$outboundSchema,
|
|
4019
4030
|
]),
|
|
4020
4031
|
).optional(),
|
|
4032
|
+
fallbackOnCodes: z.array(z.number().int()).optional(),
|
|
4021
4033
|
fallbacks: z.array(z.lazy(() => CreatePromptFallbacks$outboundSchema))
|
|
4022
4034
|
.optional(),
|
|
4023
4035
|
retry: z.lazy(() => CreatePromptRetry$outboundSchema).optional(),
|
|
@@ -4042,6 +4054,7 @@ export const PromptInput$outboundSchema: z.ZodType<
|
|
|
4042
4054
|
topK: "top_k",
|
|
4043
4055
|
toolChoice: "tool_choice",
|
|
4044
4056
|
parallelToolCalls: "parallel_tool_calls",
|
|
4057
|
+
fallbackOnCodes: "fallback_on_codes",
|
|
4045
4058
|
loadBalancer: "load_balancer",
|
|
4046
4059
|
cacheControl: "cache_control",
|
|
4047
4060
|
promptCacheKey: "prompt_cache_key",
|
|
@@ -5889,6 +5902,7 @@ export const PromptField$inboundSchema: z.ZodType<
|
|
|
5889
5902
|
components.TraceScrubbingPlugin$inboundSchema,
|
|
5890
5903
|
]),
|
|
5891
5904
|
).optional(),
|
|
5905
|
+
fallback_on_codes: z.array(z.number().int()).optional(),
|
|
5892
5906
|
fallbacks: z.array(z.lazy(() => CreatePromptPromptsFallbacks$inboundSchema))
|
|
5893
5907
|
.optional(),
|
|
5894
5908
|
retry: z.lazy(() => CreatePromptPromptsRetry$inboundSchema).optional(),
|
|
@@ -5923,6 +5937,7 @@ export const PromptField$inboundSchema: z.ZodType<
|
|
|
5923
5937
|
"top_k": "topK",
|
|
5924
5938
|
"tool_choice": "toolChoice",
|
|
5925
5939
|
"parallel_tool_calls": "parallelToolCalls",
|
|
5940
|
+
"fallback_on_codes": "fallbackOnCodes",
|
|
5926
5941
|
"load_balancer": "loadBalancer",
|
|
5927
5942
|
"cache_control": "cacheControl",
|
|
5928
5943
|
"prompt_cache_key": "promptCacheKey",
|
|
@@ -172,6 +172,10 @@ export type CreateRerankOrq = {
|
|
|
172
172
|
* Array of fallback models to use if primary model fails
|
|
173
173
|
*/
|
|
174
174
|
fallbacks?: Array<CreateRerankRouterRerankFallbacks> | undefined;
|
|
175
|
+
/**
|
|
176
|
+
* HTTP status codes that trigger fallback. Enter up to 20 unique integers from 400 to 599. When omitted or empty, defaults to [408, 429, 500, 502, 503, 504, 529].
|
|
177
|
+
*/
|
|
178
|
+
fallbackOnCodes?: Array<number> | undefined;
|
|
175
179
|
/**
|
|
176
180
|
* Cache configuration for the request.
|
|
177
181
|
*/
|
|
@@ -232,6 +236,10 @@ export type CreateRerankRequestBody = {
|
|
|
232
236
|
* The name to display on the trace. If not specified, the default system name will be used.
|
|
233
237
|
*/
|
|
234
238
|
name?: string | undefined;
|
|
239
|
+
/**
|
|
240
|
+
* HTTP status codes that trigger fallback. Enter up to 20 unique integers from 400 to 599. When omitted or empty, defaults to [408, 429, 500, 502, 503, 504, 529].
|
|
241
|
+
*/
|
|
242
|
+
fallbackOnCodes?: Array<number> | undefined;
|
|
235
243
|
/**
|
|
236
244
|
* Array of fallback models to use if primary model fails
|
|
237
245
|
*/
|
|
@@ -707,6 +715,7 @@ export function createRerankRouterRerankTimeoutToJSON(
|
|
|
707
715
|
export type CreateRerankOrq$Outbound = {
|
|
708
716
|
name?: string | undefined;
|
|
709
717
|
fallbacks?: Array<CreateRerankRouterRerankFallbacks$Outbound> | undefined;
|
|
718
|
+
fallback_on_codes?: Array<number> | undefined;
|
|
710
719
|
cache?: CreateRerankRouterRerankCache$Outbound | undefined;
|
|
711
720
|
retry?: CreateRerankRouterRerankRetry$Outbound | undefined;
|
|
712
721
|
identity?: components.PublicIdentity$Outbound | undefined;
|
|
@@ -725,6 +734,7 @@ export const CreateRerankOrq$outboundSchema: z.ZodType<
|
|
|
725
734
|
fallbacks: z.array(
|
|
726
735
|
z.lazy(() => CreateRerankRouterRerankFallbacks$outboundSchema),
|
|
727
736
|
).optional(),
|
|
737
|
+
fallbackOnCodes: z.array(z.number().int()).optional(),
|
|
728
738
|
cache: z.lazy(() => CreateRerankRouterRerankCache$outboundSchema).optional(),
|
|
729
739
|
retry: z.lazy(() => CreateRerankRouterRerankRetry$outboundSchema).optional(),
|
|
730
740
|
identity: components.PublicIdentity$outboundSchema.optional(),
|
|
@@ -736,6 +746,7 @@ export const CreateRerankOrq$outboundSchema: z.ZodType<
|
|
|
736
746
|
.optional(),
|
|
737
747
|
}).transform((v) => {
|
|
738
748
|
return remap$(v, {
|
|
749
|
+
fallbackOnCodes: "fallback_on_codes",
|
|
739
750
|
loadBalancer: "load_balancer",
|
|
740
751
|
});
|
|
741
752
|
});
|
|
@@ -755,6 +766,7 @@ export type CreateRerankRequestBody$Outbound = {
|
|
|
755
766
|
return_documents?: boolean | undefined;
|
|
756
767
|
filename?: string | null | undefined;
|
|
757
768
|
name?: string | undefined;
|
|
769
|
+
fallback_on_codes?: Array<number> | undefined;
|
|
758
770
|
fallbacks?: Array<CreateRerankFallbacks$Outbound> | undefined;
|
|
759
771
|
retry?: CreateRerankRetry$Outbound | undefined;
|
|
760
772
|
cache?: CreateRerankCache$Outbound | undefined;
|
|
@@ -777,6 +789,7 @@ export const CreateRerankRequestBody$outboundSchema: z.ZodType<
|
|
|
777
789
|
returnDocuments: z.boolean().optional(),
|
|
778
790
|
filename: z.nullable(z.string()).optional(),
|
|
779
791
|
name: z.string().optional(),
|
|
792
|
+
fallbackOnCodes: z.array(z.number().int()).optional(),
|
|
780
793
|
fallbacks: z.array(z.lazy(() => CreateRerankFallbacks$outboundSchema))
|
|
781
794
|
.optional(),
|
|
782
795
|
retry: z.lazy(() => CreateRerankRetry$outboundSchema).optional(),
|
|
@@ -790,6 +803,7 @@ export const CreateRerankRequestBody$outboundSchema: z.ZodType<
|
|
|
790
803
|
return remap$(v, {
|
|
791
804
|
topN: "top_n",
|
|
792
805
|
returnDocuments: "return_documents",
|
|
806
|
+
fallbackOnCodes: "fallback_on_codes",
|
|
793
807
|
loadBalancer: "load_balancer",
|
|
794
808
|
});
|
|
795
809
|
});
|
|
@@ -883,6 +883,10 @@ export type CreateRouterResponseRequestBody = {
|
|
|
883
883
|
*/
|
|
884
884
|
cacheControl?: CreateRouterResponseCacheControl | undefined;
|
|
885
885
|
conversation?: components.ConversationParam | undefined;
|
|
886
|
+
/**
|
|
887
|
+
* HTTP status codes that trigger fallback. Defaults to [408,429,500,502,503,504,529]. Each code must be unique and between 400 and 599.
|
|
888
|
+
*/
|
|
889
|
+
fallbackOnCodes?: Array<number> | null | undefined;
|
|
886
890
|
/**
|
|
887
891
|
* Fallback models to try if the primary model fails. Each entry specifies a model in provider/model format.
|
|
888
892
|
*/
|
|
@@ -2097,6 +2101,7 @@ export type CreateRouterResponseRequestBody$Outbound = {
|
|
|
2097
2101
|
cache?: components.CacheConfig$Outbound | undefined;
|
|
2098
2102
|
cache_control?: CreateRouterResponseCacheControl$Outbound | undefined;
|
|
2099
2103
|
conversation?: components.ConversationParam$Outbound | undefined;
|
|
2104
|
+
fallback_on_codes?: Array<number> | null | undefined;
|
|
2100
2105
|
fallbacks?: Array<components.FallbackConfig$Outbound> | null | undefined;
|
|
2101
2106
|
frequency_penalty?: number | undefined;
|
|
2102
2107
|
guardrails?: Array<components.EvaluatorRef$Outbound> | undefined;
|
|
@@ -2179,6 +2184,7 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
|
|
|
2179
2184
|
cacheControl: z.lazy(() => CreateRouterResponseCacheControl$outboundSchema)
|
|
2180
2185
|
.optional(),
|
|
2181
2186
|
conversation: components.ConversationParam$outboundSchema.optional(),
|
|
2187
|
+
fallbackOnCodes: z.nullable(z.array(z.number().int())).optional(),
|
|
2182
2188
|
fallbacks: z.nullable(z.array(components.FallbackConfig$outboundSchema))
|
|
2183
2189
|
.optional(),
|
|
2184
2190
|
frequencyPenalty: z.number().optional(),
|
|
@@ -2298,6 +2304,7 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
|
|
|
2298
2304
|
}).transform((v) => {
|
|
2299
2305
|
return remap$(v, {
|
|
2300
2306
|
cacheControl: "cache_control",
|
|
2307
|
+
fallbackOnCodes: "fallback_on_codes",
|
|
2301
2308
|
frequencyPenalty: "frequency_penalty",
|
|
2302
2309
|
integrationId: "integration_id",
|
|
2303
2310
|
loadBalancer: "load_balancer",
|
|
@@ -167,6 +167,10 @@ export type CreateSpeechOrq = {
|
|
|
167
167
|
* Array of fallback models to use if primary model fails
|
|
168
168
|
*/
|
|
169
169
|
fallbacks?: Array<CreateSpeechRouterAudioSpeechFallbacks> | undefined;
|
|
170
|
+
/**
|
|
171
|
+
* HTTP status codes that trigger fallback. Enter up to 20 unique integers from 400 to 599. When omitted or empty, defaults to [408, 429, 500, 502, 503, 504, 529].
|
|
172
|
+
*/
|
|
173
|
+
fallbackOnCodes?: Array<number> | undefined;
|
|
170
174
|
/**
|
|
171
175
|
* The name to display on the trace. If not specified, the default system name will be used.
|
|
172
176
|
*/
|
|
@@ -233,6 +237,10 @@ export type CreateSpeechRequestBody = {
|
|
|
233
237
|
* The name to display on the trace. If not specified, the default system name will be used.
|
|
234
238
|
*/
|
|
235
239
|
name?: string | undefined;
|
|
240
|
+
/**
|
|
241
|
+
* HTTP status codes that trigger fallback. Enter up to 20 unique integers from 400 to 599. When omitted or empty, defaults to [408, 429, 500, 502, 503, 504, 529].
|
|
242
|
+
*/
|
|
243
|
+
fallbackOnCodes?: Array<number> | undefined;
|
|
236
244
|
/**
|
|
237
245
|
* Array of fallback models to use if primary model fails
|
|
238
246
|
*/
|
|
@@ -608,6 +616,7 @@ export type CreateSpeechOrq$Outbound = {
|
|
|
608
616
|
fallbacks?:
|
|
609
617
|
| Array<CreateSpeechRouterAudioSpeechFallbacks$Outbound>
|
|
610
618
|
| undefined;
|
|
619
|
+
fallback_on_codes?: Array<number> | undefined;
|
|
611
620
|
name?: string | undefined;
|
|
612
621
|
identity?: components.PublicIdentity$Outbound | undefined;
|
|
613
622
|
contact?: components.PublicContact$Outbound | undefined;
|
|
@@ -629,6 +638,7 @@ export const CreateSpeechOrq$outboundSchema: z.ZodType<
|
|
|
629
638
|
fallbacks: z.array(
|
|
630
639
|
z.lazy(() => CreateSpeechRouterAudioSpeechFallbacks$outboundSchema),
|
|
631
640
|
).optional(),
|
|
641
|
+
fallbackOnCodes: z.array(z.number().int()).optional(),
|
|
632
642
|
name: z.string().optional(),
|
|
633
643
|
identity: components.PublicIdentity$outboundSchema.optional(),
|
|
634
644
|
contact: components.PublicContact$outboundSchema.optional(),
|
|
@@ -640,6 +650,7 @@ export const CreateSpeechOrq$outboundSchema: z.ZodType<
|
|
|
640
650
|
.optional(),
|
|
641
651
|
}).transform((v) => {
|
|
642
652
|
return remap$(v, {
|
|
653
|
+
fallbackOnCodes: "fallback_on_codes",
|
|
643
654
|
loadBalancer: "load_balancer",
|
|
644
655
|
});
|
|
645
656
|
});
|
|
@@ -658,6 +669,7 @@ export type CreateSpeechRequestBody$Outbound = {
|
|
|
658
669
|
response_format: string;
|
|
659
670
|
speed: number;
|
|
660
671
|
name?: string | undefined;
|
|
672
|
+
fallback_on_codes?: Array<number> | undefined;
|
|
661
673
|
fallbacks?: Array<CreateSpeechFallbacks$Outbound> | undefined;
|
|
662
674
|
retry?: CreateSpeechRetry$Outbound | undefined;
|
|
663
675
|
load_balancer?: CreateSpeechLoadBalancer1$Outbound | undefined;
|
|
@@ -677,6 +689,7 @@ export const CreateSpeechRequestBody$outboundSchema: z.ZodType<
|
|
|
677
689
|
responseFormat: CreateSpeechResponseFormat$outboundSchema.default("mp3"),
|
|
678
690
|
speed: z.number().default(1),
|
|
679
691
|
name: z.string().optional(),
|
|
692
|
+
fallbackOnCodes: z.array(z.number().int()).optional(),
|
|
680
693
|
fallbacks: z.array(z.lazy(() => CreateSpeechFallbacks$outboundSchema))
|
|
681
694
|
.optional(),
|
|
682
695
|
retry: z.lazy(() => CreateSpeechRetry$outboundSchema).optional(),
|
|
@@ -687,6 +700,7 @@ export const CreateSpeechRequestBody$outboundSchema: z.ZodType<
|
|
|
687
700
|
}).transform((v) => {
|
|
688
701
|
return remap$(v, {
|
|
689
702
|
responseFormat: "response_format",
|
|
703
|
+
fallbackOnCodes: "fallback_on_codes",
|
|
690
704
|
loadBalancer: "load_balancer",
|
|
691
705
|
});
|
|
692
706
|
});
|
|
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1575
1575
|
z.ZodTypeDef,
|
|
1576
1576
|
unknown
|
|
1577
1577
|
> = z.object({
|
|
1578
|
-
_id: z.string().default("
|
|
1578
|
+
_id: z.string().default("tool_01M4TGANYNZ4NAWR37RFFH9H79"),
|
|
1579
1579
|
path: z.string(),
|
|
1580
1580
|
key: z.string(),
|
|
1581
1581
|
display_name: z.string().optional(),
|
|
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1761
1761
|
z.ZodTypeDef,
|
|
1762
1762
|
unknown
|
|
1763
1763
|
> = z.object({
|
|
1764
|
-
_id: z.string().default("
|
|
1764
|
+
_id: z.string().default("tool_01M4TGANYMP4Z4BWSHKDGXX5DX"),
|
|
1765
1765
|
path: z.string(),
|
|
1766
1766
|
key: z.string(),
|
|
1767
1767
|
display_name: z.string().optional(),
|
|
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1854
1854
|
z.ZodTypeDef,
|
|
1855
1855
|
unknown
|
|
1856
1856
|
> = z.object({
|
|
1857
|
-
_id: z.string().default("
|
|
1857
|
+
_id: z.string().default("tool_01M4TGANYM7VR09EGEWAC8D0K3"),
|
|
1858
1858
|
path: z.string(),
|
|
1859
1859
|
key: z.string(),
|
|
1860
1860
|
display_name: z.string().optional(),
|
|
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1955
1955
|
z.ZodTypeDef,
|
|
1956
1956
|
unknown
|
|
1957
1957
|
> = z.object({
|
|
1958
|
-
_id: z.string().default("
|
|
1958
|
+
_id: z.string().default("tool_01M4TGANYK798CSQC1FQESRDA5"),
|
|
1959
1959
|
path: z.string(),
|
|
1960
1960
|
key: z.string(),
|
|
1961
1961
|
display_name: z.string().optional(),
|
|
@@ -178,6 +178,10 @@ export type CreateTranscriptionOrq = {
|
|
|
178
178
|
fallbacks?:
|
|
179
179
|
| Array<CreateTranscriptionRouterAudioTranscriptionsFallbacks>
|
|
180
180
|
| undefined;
|
|
181
|
+
/**
|
|
182
|
+
* HTTP status codes that trigger fallback. Enter up to 20 unique integers from 400 to 599. When omitted or empty, defaults to [408, 429, 500, 502, 503, 504, 529].
|
|
183
|
+
*/
|
|
184
|
+
fallbackOnCodes?: Array<number> | undefined;
|
|
181
185
|
/**
|
|
182
186
|
* Retry configuration for the request
|
|
183
187
|
*/
|
|
@@ -261,6 +265,10 @@ export type CreateTranscriptionRequestBody = {
|
|
|
261
265
|
* The name to display on the trace. If not specified, the default system name will be used.
|
|
262
266
|
*/
|
|
263
267
|
name?: string | undefined;
|
|
268
|
+
/**
|
|
269
|
+
* HTTP status codes that trigger fallback. Enter up to 20 unique integers from 400 to 599. When omitted or empty, defaults to [408, 429, 500, 502, 503, 504, 529].
|
|
270
|
+
*/
|
|
271
|
+
fallbackOnCodes?: Array<number> | undefined;
|
|
264
272
|
/**
|
|
265
273
|
* Array of fallback models to use if primary model fails
|
|
266
274
|
*/
|
|
@@ -687,6 +695,7 @@ export type CreateTranscriptionOrq$Outbound = {
|
|
|
687
695
|
fallbacks?:
|
|
688
696
|
| Array<CreateTranscriptionRouterAudioTranscriptionsFallbacks$Outbound>
|
|
689
697
|
| undefined;
|
|
698
|
+
fallback_on_codes?: Array<number> | undefined;
|
|
690
699
|
retry?:
|
|
691
700
|
| CreateTranscriptionRouterAudioTranscriptionsRetry$Outbound
|
|
692
701
|
| undefined;
|
|
@@ -712,6 +721,7 @@ export const CreateTranscriptionOrq$outboundSchema: z.ZodType<
|
|
|
712
721
|
CreateTranscriptionRouterAudioTranscriptionsFallbacks$outboundSchema
|
|
713
722
|
),
|
|
714
723
|
).optional(),
|
|
724
|
+
fallbackOnCodes: z.array(z.number().int()).optional(),
|
|
715
725
|
retry: z.lazy(() =>
|
|
716
726
|
CreateTranscriptionRouterAudioTranscriptionsRetry$outboundSchema
|
|
717
727
|
).optional(),
|
|
@@ -725,6 +735,7 @@ export const CreateTranscriptionOrq$outboundSchema: z.ZodType<
|
|
|
725
735
|
).optional(),
|
|
726
736
|
}).transform((v) => {
|
|
727
737
|
return remap$(v, {
|
|
738
|
+
fallbackOnCodes: "fallback_on_codes",
|
|
728
739
|
loadBalancer: "load_balancer",
|
|
729
740
|
});
|
|
730
741
|
});
|
|
@@ -776,6 +787,7 @@ export type CreateTranscriptionRequestBody$Outbound = {
|
|
|
776
787
|
language?: string | undefined;
|
|
777
788
|
timestamp_granularities?: Array<string> | undefined;
|
|
778
789
|
name?: string | undefined;
|
|
790
|
+
fallback_on_codes?: Array<number> | undefined;
|
|
779
791
|
fallbacks?: Array<CreateTranscriptionFallbacks$Outbound> | undefined;
|
|
780
792
|
retry?: CreateTranscriptionRetry$Outbound | undefined;
|
|
781
793
|
load_balancer?: CreateTranscriptionLoadBalancer1$Outbound | undefined;
|
|
@@ -803,6 +815,7 @@ export const CreateTranscriptionRequestBody$outboundSchema: z.ZodType<
|
|
|
803
815
|
timestampGranularities: z.array(TimestampGranularities$outboundSchema)
|
|
804
816
|
.optional(),
|
|
805
817
|
name: z.string().optional(),
|
|
818
|
+
fallbackOnCodes: z.array(z.number().int()).optional(),
|
|
806
819
|
fallbacks: z.array(z.lazy(() => CreateTranscriptionFallbacks$outboundSchema))
|
|
807
820
|
.optional(),
|
|
808
821
|
retry: z.lazy(() => CreateTranscriptionRetry$outboundSchema).optional(),
|
|
@@ -819,6 +832,7 @@ export const CreateTranscriptionRequestBody$outboundSchema: z.ZodType<
|
|
|
819
832
|
numSpeakers: "num_speakers",
|
|
820
833
|
timestampsGranularity: "timestamps_granularity",
|
|
821
834
|
timestampGranularities: "timestamp_granularities",
|
|
835
|
+
fallbackOnCodes: "fallback_on_codes",
|
|
822
836
|
loadBalancer: "load_balancer",
|
|
823
837
|
});
|
|
824
838
|
});
|
|
@@ -172,6 +172,10 @@ export type CreateTranslationOrq = {
|
|
|
172
172
|
fallbacks?:
|
|
173
173
|
| Array<CreateTranslationRouterAudioTranslationsFallbacks>
|
|
174
174
|
| undefined;
|
|
175
|
+
/**
|
|
176
|
+
* HTTP status codes that trigger fallback. Enter up to 20 unique integers from 400 to 599. When omitted or empty, defaults to [408, 429, 500, 502, 503, 504, 529].
|
|
177
|
+
*/
|
|
178
|
+
fallbackOnCodes?: Array<number> | undefined;
|
|
175
179
|
/**
|
|
176
180
|
* Retry configuration for the request
|
|
177
181
|
*/
|
|
@@ -247,6 +251,10 @@ export type CreateTranslationRequestBody = {
|
|
|
247
251
|
* The name to display on the trace. If not specified, the default system name will be used.
|
|
248
252
|
*/
|
|
249
253
|
name?: string | undefined;
|
|
254
|
+
/**
|
|
255
|
+
* HTTP status codes that trigger fallback. Enter up to 20 unique integers from 400 to 599. When omitted or empty, defaults to [408, 429, 500, 502, 503, 504, 529].
|
|
256
|
+
*/
|
|
257
|
+
fallbackOnCodes?: Array<number> | undefined;
|
|
250
258
|
/**
|
|
251
259
|
* Array of fallback models to use if primary model fails
|
|
252
260
|
*/
|
|
@@ -665,6 +673,7 @@ export type CreateTranslationOrq$Outbound = {
|
|
|
665
673
|
fallbacks?:
|
|
666
674
|
| Array<CreateTranslationRouterAudioTranslationsFallbacks$Outbound>
|
|
667
675
|
| undefined;
|
|
676
|
+
fallback_on_codes?: Array<number> | undefined;
|
|
668
677
|
retry?: CreateTranslationRouterAudioTranslationsRetry$Outbound | undefined;
|
|
669
678
|
identity?: components.PublicIdentity$Outbound | undefined;
|
|
670
679
|
contact?: components.PublicContact$Outbound | undefined;
|
|
@@ -688,6 +697,7 @@ export const CreateTranslationOrq$outboundSchema: z.ZodType<
|
|
|
688
697
|
CreateTranslationRouterAudioTranslationsFallbacks$outboundSchema
|
|
689
698
|
),
|
|
690
699
|
).optional(),
|
|
700
|
+
fallbackOnCodes: z.array(z.number().int()).optional(),
|
|
691
701
|
retry: z.lazy(() =>
|
|
692
702
|
CreateTranslationRouterAudioTranslationsRetry$outboundSchema
|
|
693
703
|
).optional(),
|
|
@@ -701,6 +711,7 @@ export const CreateTranslationOrq$outboundSchema: z.ZodType<
|
|
|
701
711
|
).optional(),
|
|
702
712
|
}).transform((v) => {
|
|
703
713
|
return remap$(v, {
|
|
714
|
+
fallbackOnCodes: "fallback_on_codes",
|
|
704
715
|
loadBalancer: "load_balancer",
|
|
705
716
|
});
|
|
706
717
|
});
|
|
@@ -754,6 +765,7 @@ export type CreateTranslationRequestBody$Outbound = {
|
|
|
754
765
|
timestamps_granularity: string;
|
|
755
766
|
temperature?: number | undefined;
|
|
756
767
|
name?: string | undefined;
|
|
768
|
+
fallback_on_codes?: Array<number> | undefined;
|
|
757
769
|
fallbacks?: Array<CreateTranslationFallbacks$Outbound> | undefined;
|
|
758
770
|
retry?: CreateTranslationRetry$Outbound | undefined;
|
|
759
771
|
load_balancer?: CreateTranslationLoadBalancer1$Outbound | undefined;
|
|
@@ -779,6 +791,7 @@ export const CreateTranslationRequestBody$outboundSchema: z.ZodType<
|
|
|
779
791
|
.default("word"),
|
|
780
792
|
temperature: z.number().optional(),
|
|
781
793
|
name: z.string().optional(),
|
|
794
|
+
fallbackOnCodes: z.array(z.number().int()).optional(),
|
|
782
795
|
fallbacks: z.array(z.lazy(() => CreateTranslationFallbacks$outboundSchema))
|
|
783
796
|
.optional(),
|
|
784
797
|
retry: z.lazy(() => CreateTranslationRetry$outboundSchema).optional(),
|
|
@@ -795,6 +808,7 @@ export const CreateTranslationRequestBody$outboundSchema: z.ZodType<
|
|
|
795
808
|
tagAudioEvents: "tag_audio_events",
|
|
796
809
|
numSpeakers: "num_speakers",
|
|
797
810
|
timestampsGranularity: "timestamps_granularity",
|
|
811
|
+
fallbackOnCodes: "fallback_on_codes",
|
|
798
812
|
loadBalancer: "load_balancer",
|
|
799
813
|
});
|
|
800
814
|
});
|
|
@@ -287,7 +287,7 @@ export type DeploymentGetConfig24 = {
|
|
|
287
287
|
type: "file";
|
|
288
288
|
cacheControl?: DeploymentGetConfig2CacheControl | undefined;
|
|
289
289
|
/**
|
|
290
|
-
* File data for the content part. Must contain
|
|
290
|
+
* File data for the content part. Must contain exactly one of file_data, file_id or uri.
|
|
291
291
|
*/
|
|
292
292
|
file: components.FileContentPartSchema;
|
|
293
293
|
};
|
|
@@ -663,7 +663,7 @@ export type DeploymentGetConfig2Deployments4 = {
|
|
|
663
663
|
type: "file";
|
|
664
664
|
cacheControl?: DeploymentGetConfig2DeploymentsCacheControl | undefined;
|
|
665
665
|
/**
|
|
666
|
-
* File data for the content part. Must contain
|
|
666
|
+
* File data for the content part. Must contain exactly one of file_data, file_id or uri.
|
|
667
667
|
*/
|
|
668
668
|
file: components.FileContentPartSchema;
|
|
669
669
|
};
|
|
@@ -498,8 +498,10 @@ export const DeploymentsProvider = {
|
|
|
498
498
|
Reson8: "reson8",
|
|
499
499
|
Meta: "meta",
|
|
500
500
|
Greenpt: "greenpt",
|
|
501
|
+
Liquid: "liquid",
|
|
501
502
|
Typesafe: "typesafe",
|
|
502
503
|
Berget: "berget",
|
|
504
|
+
Cloudflare: "cloudflare",
|
|
503
505
|
Slack: "slack",
|
|
504
506
|
Orq: "orq",
|
|
505
507
|
} as const;
|
|
@@ -278,7 +278,7 @@ export type Four = {
|
|
|
278
278
|
type: "file";
|
|
279
279
|
cacheControl?: CacheControl | undefined;
|
|
280
280
|
/**
|
|
281
|
-
* File data for the content part. Must contain
|
|
281
|
+
* File data for the content part. Must contain exactly one of file_data, file_id or uri.
|
|
282
282
|
*/
|
|
283
283
|
file: components.FileContentPartSchema;
|
|
284
284
|
};
|
|
@@ -646,7 +646,7 @@ export type Two4 = {
|
|
|
646
646
|
type: "file";
|
|
647
647
|
cacheControl?: TwoCacheControl | undefined;
|
|
648
648
|
/**
|
|
649
|
-
* File data for the content part. Must contain
|
|
649
|
+
* File data for the content part. Must contain exactly one of file_data, file_id or uri.
|
|
650
650
|
*/
|
|
651
651
|
file: components.FileContentPartSchema;
|
|
652
652
|
};
|
|
@@ -1171,8 +1171,10 @@ export const DeploymentStreamProvider = {
|
|
|
1171
1171
|
Reson8: "reson8",
|
|
1172
1172
|
Meta: "meta",
|
|
1173
1173
|
Greenpt: "greenpt",
|
|
1174
|
+
Liquid: "liquid",
|
|
1174
1175
|
Typesafe: "typesafe",
|
|
1175
1176
|
Berget: "berget",
|
|
1177
|
+
Cloudflare: "cloudflare",
|
|
1176
1178
|
Slack: "slack",
|
|
1177
1179
|
Orq: "orq",
|
|
1178
1180
|
} as const;
|
|
@@ -449,8 +449,10 @@ export const GetAllPromptsProvider = {
|
|
|
449
449
|
Reson8: "reson8",
|
|
450
450
|
Meta: "meta",
|
|
451
451
|
Greenpt: "greenpt",
|
|
452
|
+
Liquid: "liquid",
|
|
452
453
|
Typesafe: "typesafe",
|
|
453
454
|
Berget: "berget",
|
|
455
|
+
Cloudflare: "cloudflare",
|
|
454
456
|
Slack: "slack",
|
|
455
457
|
Orq: "orq",
|
|
456
458
|
} as const;
|
|
@@ -1273,7 +1275,7 @@ export type GetAllPrompts24 = {
|
|
|
1273
1275
|
type: "file";
|
|
1274
1276
|
cacheControl?: GetAllPrompts2CacheControl | undefined;
|
|
1275
1277
|
/**
|
|
1276
|
-
* File data for the content part. Must contain
|
|
1278
|
+
* File data for the content part. Must contain exactly one of file_data, file_id or uri.
|
|
1277
1279
|
*/
|
|
1278
1280
|
file: components.FileContentPartSchema;
|
|
1279
1281
|
};
|
|
@@ -1473,6 +1475,10 @@ export type GetAllPromptsPromptField = {
|
|
|
1473
1475
|
| components.TraceScrubbingPlugin
|
|
1474
1476
|
>
|
|
1475
1477
|
| undefined;
|
|
1478
|
+
/**
|
|
1479
|
+
* HTTP status codes that trigger fallback. Enter up to 20 unique integers from 400 to 599. When omitted or empty, defaults to [408, 429, 500, 502, 503, 504, 529].
|
|
1480
|
+
*/
|
|
1481
|
+
fallbackOnCodes?: Array<number> | undefined;
|
|
1476
1482
|
/**
|
|
1477
1483
|
* Array of fallback models to use if primary model fails
|
|
1478
1484
|
*/
|
|
@@ -3356,6 +3362,7 @@ export const GetAllPromptsPromptField$inboundSchema: z.ZodType<
|
|
|
3356
3362
|
components.TraceScrubbingPlugin$inboundSchema,
|
|
3357
3363
|
]),
|
|
3358
3364
|
).optional(),
|
|
3365
|
+
fallback_on_codes: z.array(z.number().int()).optional(),
|
|
3359
3366
|
fallbacks: z.array(z.lazy(() => GetAllPromptsFallbacks$inboundSchema))
|
|
3360
3367
|
.optional(),
|
|
3361
3368
|
retry: z.lazy(() => GetAllPromptsRetry$inboundSchema).optional(),
|
|
@@ -3390,6 +3397,7 @@ export const GetAllPromptsPromptField$inboundSchema: z.ZodType<
|
|
|
3390
3397
|
"top_k": "topK",
|
|
3391
3398
|
"tool_choice": "toolChoice",
|
|
3392
3399
|
"parallel_tool_calls": "parallelToolCalls",
|
|
3400
|
+
"fallback_on_codes": "fallbackOnCodes",
|
|
3393
3401
|
"load_balancer": "loadBalancer",
|
|
3394
3402
|
"cache_control": "cacheControl",
|
|
3395
3403
|
"prompt_cache_key": "promptCacheKey",
|
|
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
639
639
|
z.ZodTypeDef,
|
|
640
640
|
unknown
|
|
641
641
|
> = z.object({
|
|
642
|
-
_id: z.string().default("
|
|
642
|
+
_id: z.string().default("tool_01M4TGANYHESCJRKARVJTYDS32"),
|
|
643
643
|
path: z.string(),
|
|
644
644
|
key: z.string(),
|
|
645
645
|
display_name: z.string().optional(),
|
|
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
821
821
|
z.ZodTypeDef,
|
|
822
822
|
unknown
|
|
823
823
|
> = z.object({
|
|
824
|
-
_id: z.string().default("
|
|
824
|
+
_id: z.string().default("tool_01M4TGANYG37HKVYMGJGQ5RWHG"),
|
|
825
825
|
path: z.string(),
|
|
826
826
|
key: z.string(),
|
|
827
827
|
display_name: z.string().optional(),
|
|
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
914
914
|
z.ZodTypeDef,
|
|
915
915
|
unknown
|
|
916
916
|
> = z.object({
|
|
917
|
-
_id: z.string().default("
|
|
917
|
+
_id: z.string().default("tool_01M4TGANYG4RT3Z36V2ZQ1WKGM"),
|
|
918
918
|
path: z.string(),
|
|
919
919
|
key: z.string(),
|
|
920
920
|
display_name: z.string().optional(),
|
|
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1012
1012
|
z.ZodTypeDef,
|
|
1013
1013
|
unknown
|
|
1014
1014
|
> = z.object({
|
|
1015
|
-
_id: z.string().default("
|
|
1015
|
+
_id: z.string().default("tool_01M4TGANYFTFVV90H42DK1SCPP"),
|
|
1016
1016
|
path: z.string(),
|
|
1017
1017
|
key: z.string(),
|
|
1018
1018
|
display_name: z.string().optional(),
|
|
@@ -433,8 +433,10 @@ export const GetOnePromptProvider = {
|
|
|
433
433
|
Reson8: "reson8",
|
|
434
434
|
Meta: "meta",
|
|
435
435
|
Greenpt: "greenpt",
|
|
436
|
+
Liquid: "liquid",
|
|
436
437
|
Typesafe: "typesafe",
|
|
437
438
|
Berget: "berget",
|
|
439
|
+
Cloudflare: "cloudflare",
|
|
438
440
|
Slack: "slack",
|
|
439
441
|
Orq: "orq",
|
|
440
442
|
} as const;
|
|
@@ -1255,7 +1257,7 @@ export type GetOnePrompt24 = {
|
|
|
1255
1257
|
type: "file";
|
|
1256
1258
|
cacheControl?: GetOnePrompt2CacheControl | undefined;
|
|
1257
1259
|
/**
|
|
1258
|
-
* File data for the content part. Must contain
|
|
1260
|
+
* File data for the content part. Must contain exactly one of file_data, file_id or uri.
|
|
1259
1261
|
*/
|
|
1260
1262
|
file: components.FileContentPartSchema;
|
|
1261
1263
|
};
|
|
@@ -1455,6 +1457,10 @@ export type GetOnePromptPromptField = {
|
|
|
1455
1457
|
| components.TraceScrubbingPlugin
|
|
1456
1458
|
>
|
|
1457
1459
|
| undefined;
|
|
1460
|
+
/**
|
|
1461
|
+
* HTTP status codes that trigger fallback. Enter up to 20 unique integers from 400 to 599. When omitted or empty, defaults to [408, 429, 500, 502, 503, 504, 529].
|
|
1462
|
+
*/
|
|
1463
|
+
fallbackOnCodes?: Array<number> | undefined;
|
|
1458
1464
|
/**
|
|
1459
1465
|
* Array of fallback models to use if primary model fails
|
|
1460
1466
|
*/
|
|
@@ -3304,6 +3310,7 @@ export const GetOnePromptPromptField$inboundSchema: z.ZodType<
|
|
|
3304
3310
|
components.TraceScrubbingPlugin$inboundSchema,
|
|
3305
3311
|
]),
|
|
3306
3312
|
).optional(),
|
|
3313
|
+
fallback_on_codes: z.array(z.number().int()).optional(),
|
|
3307
3314
|
fallbacks: z.array(z.lazy(() => GetOnePromptFallbacks$inboundSchema))
|
|
3308
3315
|
.optional(),
|
|
3309
3316
|
retry: z.lazy(() => GetOnePromptRetry$inboundSchema).optional(),
|
|
@@ -3338,6 +3345,7 @@ export const GetOnePromptPromptField$inboundSchema: z.ZodType<
|
|
|
3338
3345
|
"top_k": "topK",
|
|
3339
3346
|
"tool_choice": "toolChoice",
|
|
3340
3347
|
"parallel_tool_calls": "parallelToolCalls",
|
|
3348
|
+
"fallback_on_codes": "fallbackOnCodes",
|
|
3341
3349
|
"load_balancer": "loadBalancer",
|
|
3342
3350
|
"cache_control": "cacheControl",
|
|
3343
3351
|
"prompt_cache_key": "promptCacheKey",
|