@orq-ai/node 4.10.17 → 4.10.20
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/funcs/datasetsList.js +0 -2
- package/funcs/datasetsList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/encodings.js +12 -12
- package/lib/encodings.js.map +1 -1
- package/lib/env.d.ts.map +1 -1
- package/lib/env.js +3 -3
- package/lib/env.js.map +1 -1
- package/lib/event-streams.d.ts.map +1 -1
- package/lib/event-streams.js +28 -13
- package/lib/event-streams.js.map +1 -1
- package/lib/matchers.js +3 -3
- package/lib/matchers.js.map +1 -1
- package/lib/primitives.d.ts +1 -0
- package/lib/primitives.d.ts.map +1 -1
- package/lib/primitives.js +18 -0
- package/lib/primitives.js.map +1 -1
- package/models/components/modelmetadata.d.ts +0 -2
- package/models/components/modelmetadata.d.ts.map +1 -1
- package/models/components/modelmetadata.js +0 -4
- package/models/components/modelmetadata.js.map +1 -1
- package/models/components/reasoning.d.ts +2 -40
- package/models/components/reasoning.d.ts.map +1 -1
- package/models/components/reasoning.js +3 -26
- package/models/components/reasoning.js.map +1 -1
- package/models/components/reasoningparam.d.ts +2 -40
- package/models/components/reasoningparam.d.ts.map +1 -1
- package/models/components/reasoningparam.js +3 -28
- package/models/components/reasoningparam.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +4 -298
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +9 -163
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +4 -81
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +7 -45
- package/models/operations/createchatcompletion.js.map +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.js +16 -16
- package/models/operations/creatememorystore.d.ts +3 -3
- package/models/operations/creatememorystore.d.ts.map +1 -1
- package/models/operations/creatememorystore.js +2 -2
- package/models/operations/creatememorystore.js.map +1 -1
- package/models/operations/createprompt.d.ts +12 -225
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +13 -124
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +4 -349
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +4 -195
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentgetconfig.d.ts +4 -70
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +8 -43
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +8 -74
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +8 -43
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/getallmemorystores.d.ts +1 -1
- package/models/operations/getallmemorystores.d.ts.map +1 -1
- package/models/operations/getallmemorystores.js +1 -1
- package/models/operations/getallmemorystores.js.map +1 -1
- package/models/operations/getallprompts.d.ts +4 -140
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +6 -79
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getoneprompt.d.ts +4 -140
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +6 -79
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +4 -140
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +6 -78
- 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/listagents.d.ts +0 -140
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +3 -79
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.d.ts +0 -10
- package/models/operations/listdatasets.d.ts.map +1 -1
- package/models/operations/listdatasets.js +1 -4
- package/models/operations/listdatasets.js.map +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listknowledgebases.d.ts +1 -1
- package/models/operations/listpromptversions.d.ts +4 -140
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +6 -79
- package/models/operations/listpromptversions.js.map +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/retrieveagentrequest.d.ts +0 -140
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +2 -81
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievememorystore.d.ts +1 -1
- package/models/operations/retrievememorystore.d.ts.map +1 -1
- package/models/operations/retrievememorystore.js +1 -1
- package/models/operations/retrievememorystore.js.map +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +0 -154
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +5 -80
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +0 -154
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +4 -82
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +4 -298
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +9 -162
- package/models/operations/updateagent.js.map +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.js +16 -16
- package/models/operations/updatememorystore.d.ts +3 -3
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +2 -2
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +12 -225
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +14 -125
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +7 -7
- package/packages/orq-rc/src/funcs/budgetsCheck.ts +162 -0
- package/packages/orq-rc/src/funcs/budgetsCreate.ts +162 -0
- package/packages/orq-rc/src/funcs/budgetsDelete.ts +168 -0
- package/packages/orq-rc/src/funcs/budgetsGet.ts +168 -0
- package/packages/orq-rc/src/funcs/budgetsGetConsumption.ts +169 -0
- package/packages/orq-rc/src/funcs/budgetsList.ts +175 -0
- package/packages/orq-rc/src/funcs/budgetsResetConsumption.ts +174 -0
- package/packages/orq-rc/src/funcs/budgetsUpdate.ts +171 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/encodings.ts +1 -1
- package/packages/orq-rc/src/lib/env.ts +7 -3
- package/packages/orq-rc/src/lib/event-streams.ts +31 -13
- package/packages/orq-rc/src/lib/matchers.ts +1 -1
- package/packages/orq-rc/src/lib/primitives.ts +16 -0
- package/packages/orq-rc/src/models/components/apikeybudgetscope.ts +66 -0
- package/packages/orq-rc/src/models/components/budget.ts +102 -0
- package/packages/orq-rc/src/models/components/budgetlimits.ts +76 -0
- package/packages/orq-rc/src/models/components/budgetmatch.ts +56 -0
- package/packages/orq-rc/src/models/components/budgetperiod.ts +23 -0
- package/packages/orq-rc/src/models/components/budgetrejection.ts +48 -0
- package/packages/orq-rc/src/models/components/budgetscope.ts +150 -0
- package/packages/orq-rc/src/models/components/budgetscopekind.ts +22 -0
- package/packages/orq-rc/src/models/components/checkbudgetsrequest.ts +111 -0
- package/packages/orq-rc/src/models/components/checkbudgetsresponse.ts +62 -0
- package/packages/orq-rc/src/models/components/createbudgetrequest.ts +109 -0
- package/packages/orq-rc/src/models/components/createbudgetresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/deletebudgetresponse.ts +27 -0
- package/packages/orq-rc/src/models/components/dimensioninfo.ts +43 -0
- package/packages/orq-rc/src/models/components/getbudgetconsumptionresponse.ts +67 -0
- package/packages/orq-rc/src/models/components/getbudgetresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/identity.ts +9 -9
- package/packages/orq-rc/src/models/components/identitybudgetscope.ts +66 -0
- package/packages/orq-rc/src/models/components/index.ts +27 -0
- package/packages/orq-rc/src/models/components/listbudgetsresponse.ts +53 -0
- package/packages/orq-rc/src/models/components/modelbudgetscope.ts +67 -0
- package/packages/orq-rc/src/models/components/projectbudgetscope.ts +63 -0
- package/packages/orq-rc/src/models/components/providerbudgetscope.ts +57 -0
- package/packages/orq-rc/src/models/components/ratelimit.ts +62 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/resetbudgetconsumptionrequest.ts +27 -0
- package/packages/orq-rc/src/models/components/resetbudgetconsumptionresponse.ts +38 -0
- package/packages/orq-rc/src/models/components/updatebudgetrequest.ts +94 -0
- package/packages/orq-rc/src/models/components/updatebudgetresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/workspacebudgetscope.ts +46 -0
- package/packages/orq-rc/src/models/operations/budgetdelete.ts +39 -0
- package/packages/orq-rc/src/models/operations/budgetget.ts +39 -0
- package/packages/orq-rc/src/models/operations/budgetgetconsumption.ts +41 -0
- package/packages/orq-rc/src/models/operations/budgetlist.ts +102 -0
- package/packages/orq-rc/src/models/operations/budgetresetconsumption.ts +48 -0
- package/packages/orq-rc/src/models/operations/budgetupdate.ts +44 -0
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
- 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/index.ts +6 -0
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/budgets.ts +154 -0
- package/packages/orq-rc/src/sdk/feedback.ts +1 -4
- package/packages/orq-rc/src/sdk/sdk.ts +6 -0
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/funcs/datasetsList.ts +0 -2
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +1 -1
- package/src/lib/env.ts +7 -3
- package/src/lib/event-streams.ts +31 -13
- package/src/lib/matchers.ts +1 -1
- package/src/lib/primitives.ts +16 -0
- package/src/models/components/modelmetadata.ts +0 -6
- package/src/models/components/reasoning.ts +4 -50
- package/src/models/components/reasoningparam.ts +4 -48
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +8 -460
- package/src/models/operations/createchatcompletion.ts +10 -129
- 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 +16 -16
- package/src/models/operations/creatememorystore.ts +5 -5
- package/src/models/operations/createprompt.ts +27 -356
- package/src/models/operations/createrouterresponse.ts +8 -532
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentgetconfig.ts +8 -105
- package/src/models/operations/deployments.ts +16 -113
- package/src/models/operations/getallmemorystores.ts +2 -2
- package/src/models/operations/getallprompts.ts +8 -210
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getoneprompt.ts +8 -208
- package/src/models/operations/getpromptversion.ts +8 -212
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listagents.ts +0 -215
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -14
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +1 -1
- package/src/models/operations/listpromptversions.ts +8 -212
- 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/retrieveagentrequest.ts +0 -222
- 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/retrievememorystore.ts +2 -2
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -236
- package/src/models/operations/streamrunagent.ts +1 -242
- package/src/models/operations/updateagent.ts +9 -464
- 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 +16 -16
- package/src/models/operations/updatememorystore.ts +5 -5
- package/src/models/operations/updateprompt.ts +27 -356
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
- package/lib/dlv.d.ts +0 -14
- package/lib/dlv.d.ts.map +0 -1
- package/lib/dlv.js +0 -49
- package/lib/dlv.js.map +0 -1
- package/lib/is-plain-object.d.ts +0 -2
- package/lib/is-plain-object.d.ts.map +0 -1
- package/lib/is-plain-object.js +0 -41
- package/lib/is-plain-object.js.map +0 -1
- package/packages/orq-rc/src/lib/dlv.ts +0 -53
- package/packages/orq-rc/src/lib/is-plain-object.ts +0 -43
- package/src/lib/dlv.ts +0 -53
- package/src/lib/is-plain-object.ts +0 -43
|
@@ -261,68 +261,6 @@ export type ModelConfigurationTimeout = {
|
|
|
261
261
|
callTimeout: number;
|
|
262
262
|
};
|
|
263
263
|
|
|
264
|
-
/**
|
|
265
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
266
|
-
*/
|
|
267
|
-
export const UpdateAgentModelConfigurationAgentsType = {
|
|
268
|
-
Ephemeral: "ephemeral",
|
|
269
|
-
} as const;
|
|
270
|
-
/**
|
|
271
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
272
|
-
*/
|
|
273
|
-
export type UpdateAgentModelConfigurationAgentsType = ClosedEnum<
|
|
274
|
-
typeof UpdateAgentModelConfigurationAgentsType
|
|
275
|
-
>;
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
279
|
-
*
|
|
280
|
-
* @remarks
|
|
281
|
-
*
|
|
282
|
-
* - `5m`: 5 minutes
|
|
283
|
-
* - `1h`: 1 hour
|
|
284
|
-
*
|
|
285
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
286
|
-
*/
|
|
287
|
-
export const UpdateAgentModelConfigurationTtl = {
|
|
288
|
-
Fivem: "5m",
|
|
289
|
-
Oneh: "1h",
|
|
290
|
-
} as const;
|
|
291
|
-
/**
|
|
292
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
293
|
-
*
|
|
294
|
-
* @remarks
|
|
295
|
-
*
|
|
296
|
-
* - `5m`: 5 minutes
|
|
297
|
-
* - `1h`: 1 hour
|
|
298
|
-
*
|
|
299
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
300
|
-
*/
|
|
301
|
-
export type UpdateAgentModelConfigurationTtl = ClosedEnum<
|
|
302
|
-
typeof UpdateAgentModelConfigurationTtl
|
|
303
|
-
>;
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
307
|
-
*/
|
|
308
|
-
export type UpdateAgentModelConfigurationCacheControl = {
|
|
309
|
-
/**
|
|
310
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
311
|
-
*/
|
|
312
|
-
type: UpdateAgentModelConfigurationAgentsType;
|
|
313
|
-
/**
|
|
314
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
315
|
-
*
|
|
316
|
-
* @remarks
|
|
317
|
-
*
|
|
318
|
-
* - `5m`: 5 minutes
|
|
319
|
-
* - `1h`: 1 hour
|
|
320
|
-
*
|
|
321
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
322
|
-
*/
|
|
323
|
-
ttl?: UpdateAgentModelConfigurationTtl | undefined;
|
|
324
|
-
};
|
|
325
|
-
|
|
326
264
|
/**
|
|
327
265
|
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-1, randomness), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
328
266
|
*/
|
|
@@ -433,14 +371,6 @@ export type ModelConfigurationParameters = {
|
|
|
433
371
|
* Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
|
|
434
372
|
*/
|
|
435
373
|
timeout?: ModelConfigurationTimeout | undefined;
|
|
436
|
-
/**
|
|
437
|
-
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
438
|
-
*/
|
|
439
|
-
cacheControl?: UpdateAgentModelConfigurationCacheControl | undefined;
|
|
440
|
-
/**
|
|
441
|
-
* Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the legacy `user` field for prompt caching.
|
|
442
|
-
*/
|
|
443
|
-
promptCacheKey?: string | undefined;
|
|
444
374
|
};
|
|
445
375
|
|
|
446
376
|
/**
|
|
@@ -740,68 +670,6 @@ export type UpdateAgentFallbackModelConfigurationTimeout = {
|
|
|
740
670
|
callTimeout: number;
|
|
741
671
|
};
|
|
742
672
|
|
|
743
|
-
/**
|
|
744
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
745
|
-
*/
|
|
746
|
-
export const UpdateAgentFallbackModelConfigurationAgentsType = {
|
|
747
|
-
Ephemeral: "ephemeral",
|
|
748
|
-
} as const;
|
|
749
|
-
/**
|
|
750
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
751
|
-
*/
|
|
752
|
-
export type UpdateAgentFallbackModelConfigurationAgentsType = ClosedEnum<
|
|
753
|
-
typeof UpdateAgentFallbackModelConfigurationAgentsType
|
|
754
|
-
>;
|
|
755
|
-
|
|
756
|
-
/**
|
|
757
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
758
|
-
*
|
|
759
|
-
* @remarks
|
|
760
|
-
*
|
|
761
|
-
* - `5m`: 5 minutes
|
|
762
|
-
* - `1h`: 1 hour
|
|
763
|
-
*
|
|
764
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
765
|
-
*/
|
|
766
|
-
export const UpdateAgentFallbackModelConfigurationTtl = {
|
|
767
|
-
Fivem: "5m",
|
|
768
|
-
Oneh: "1h",
|
|
769
|
-
} as const;
|
|
770
|
-
/**
|
|
771
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
772
|
-
*
|
|
773
|
-
* @remarks
|
|
774
|
-
*
|
|
775
|
-
* - `5m`: 5 minutes
|
|
776
|
-
* - `1h`: 1 hour
|
|
777
|
-
*
|
|
778
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
779
|
-
*/
|
|
780
|
-
export type UpdateAgentFallbackModelConfigurationTtl = ClosedEnum<
|
|
781
|
-
typeof UpdateAgentFallbackModelConfigurationTtl
|
|
782
|
-
>;
|
|
783
|
-
|
|
784
|
-
/**
|
|
785
|
-
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
786
|
-
*/
|
|
787
|
-
export type UpdateAgentFallbackModelConfigurationCacheControl = {
|
|
788
|
-
/**
|
|
789
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
790
|
-
*/
|
|
791
|
-
type: UpdateAgentFallbackModelConfigurationAgentsType;
|
|
792
|
-
/**
|
|
793
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
794
|
-
*
|
|
795
|
-
* @remarks
|
|
796
|
-
*
|
|
797
|
-
* - `5m`: 5 minutes
|
|
798
|
-
* - `1h`: 1 hour
|
|
799
|
-
*
|
|
800
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
801
|
-
*/
|
|
802
|
-
ttl?: UpdateAgentFallbackModelConfigurationTtl | undefined;
|
|
803
|
-
};
|
|
804
|
-
|
|
805
673
|
/**
|
|
806
674
|
* Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
|
|
807
675
|
*/
|
|
@@ -922,14 +790,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
|
|
|
922
790
|
* Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
|
|
923
791
|
*/
|
|
924
792
|
timeout?: UpdateAgentFallbackModelConfigurationTimeout | undefined;
|
|
925
|
-
/**
|
|
926
|
-
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
927
|
-
*/
|
|
928
|
-
cacheControl?: UpdateAgentFallbackModelConfigurationCacheControl | undefined;
|
|
929
|
-
/**
|
|
930
|
-
* Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the legacy `user` field for prompt caching.
|
|
931
|
-
*/
|
|
932
|
-
promptCacheKey?: string | undefined;
|
|
933
793
|
};
|
|
934
794
|
|
|
935
795
|
/**
|
|
@@ -2089,66 +1949,6 @@ export type UpdateAgentTimeout = {
|
|
|
2089
1949
|
callTimeout: number;
|
|
2090
1950
|
};
|
|
2091
1951
|
|
|
2092
|
-
/**
|
|
2093
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
2094
|
-
*/
|
|
2095
|
-
export const UpdateAgentAgentsResponseType = {
|
|
2096
|
-
Ephemeral: "ephemeral",
|
|
2097
|
-
} as const;
|
|
2098
|
-
/**
|
|
2099
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
2100
|
-
*/
|
|
2101
|
-
export type UpdateAgentAgentsResponseType = ClosedEnum<
|
|
2102
|
-
typeof UpdateAgentAgentsResponseType
|
|
2103
|
-
>;
|
|
2104
|
-
|
|
2105
|
-
/**
|
|
2106
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
2107
|
-
*
|
|
2108
|
-
* @remarks
|
|
2109
|
-
*
|
|
2110
|
-
* - `5m`: 5 minutes
|
|
2111
|
-
* - `1h`: 1 hour
|
|
2112
|
-
*
|
|
2113
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
2114
|
-
*/
|
|
2115
|
-
export const UpdateAgentTtl = {
|
|
2116
|
-
Fivem: "5m",
|
|
2117
|
-
Oneh: "1h",
|
|
2118
|
-
} as const;
|
|
2119
|
-
/**
|
|
2120
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
2121
|
-
*
|
|
2122
|
-
* @remarks
|
|
2123
|
-
*
|
|
2124
|
-
* - `5m`: 5 minutes
|
|
2125
|
-
* - `1h`: 1 hour
|
|
2126
|
-
*
|
|
2127
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
2128
|
-
*/
|
|
2129
|
-
export type UpdateAgentTtl = ClosedEnum<typeof UpdateAgentTtl>;
|
|
2130
|
-
|
|
2131
|
-
/**
|
|
2132
|
-
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
2133
|
-
*/
|
|
2134
|
-
export type UpdateAgentCacheControl = {
|
|
2135
|
-
/**
|
|
2136
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
2137
|
-
*/
|
|
2138
|
-
type: UpdateAgentAgentsResponseType;
|
|
2139
|
-
/**
|
|
2140
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
2141
|
-
*
|
|
2142
|
-
* @remarks
|
|
2143
|
-
*
|
|
2144
|
-
* - `5m`: 5 minutes
|
|
2145
|
-
* - `1h`: 1 hour
|
|
2146
|
-
*
|
|
2147
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
2148
|
-
*/
|
|
2149
|
-
ttl: UpdateAgentTtl;
|
|
2150
|
-
};
|
|
2151
|
-
|
|
2152
1952
|
/**
|
|
2153
1953
|
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
2154
1954
|
*/
|
|
@@ -2262,14 +2062,6 @@ export type UpdateAgentParameters = {
|
|
|
2262
2062
|
* Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
|
|
2263
2063
|
*/
|
|
2264
2064
|
timeout?: UpdateAgentTimeout | undefined;
|
|
2265
|
-
/**
|
|
2266
|
-
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
2267
|
-
*/
|
|
2268
|
-
cacheControl?: UpdateAgentCacheControl | undefined;
|
|
2269
|
-
/**
|
|
2270
|
-
* Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the legacy `user` field for prompt caching.
|
|
2271
|
-
*/
|
|
2272
|
-
promptCacheKey?: string | undefined;
|
|
2273
2065
|
};
|
|
2274
2066
|
|
|
2275
2067
|
/**
|
|
@@ -2491,11 +2283,12 @@ export type UpdateAgentFallbackModelConfigurationAgentsFallbacks = {
|
|
|
2491
2283
|
model: string;
|
|
2492
2284
|
};
|
|
2493
2285
|
|
|
2494
|
-
export const
|
|
2286
|
+
export const UpdateAgentFallbackModelConfigurationAgentsType = {
|
|
2495
2287
|
ExactMatch: "exact_match",
|
|
2496
2288
|
} as const;
|
|
2497
|
-
export type
|
|
2498
|
-
|
|
2289
|
+
export type UpdateAgentFallbackModelConfigurationAgentsType = ClosedEnum<
|
|
2290
|
+
typeof UpdateAgentFallbackModelConfigurationAgentsType
|
|
2291
|
+
>;
|
|
2499
2292
|
|
|
2500
2293
|
/**
|
|
2501
2294
|
* Cache configuration for the request.
|
|
@@ -2505,7 +2298,7 @@ export type UpdateAgentFallbackModelConfigurationAgentsCache = {
|
|
|
2505
2298
|
* Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
|
|
2506
2299
|
*/
|
|
2507
2300
|
ttl: number;
|
|
2508
|
-
type:
|
|
2301
|
+
type: UpdateAgentFallbackModelConfigurationAgentsType;
|
|
2509
2302
|
};
|
|
2510
2303
|
|
|
2511
2304
|
export const UpdateAgentLoadBalancerAgentsResponse200Type = {
|
|
@@ -2547,67 +2340,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsTimeout = {
|
|
|
2547
2340
|
callTimeout: number;
|
|
2548
2341
|
};
|
|
2549
2342
|
|
|
2550
|
-
/**
|
|
2551
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
2552
|
-
*/
|
|
2553
|
-
export const UpdateAgentFallbackModelConfigurationAgentsResponse200Type = {
|
|
2554
|
-
Ephemeral: "ephemeral",
|
|
2555
|
-
} as const;
|
|
2556
|
-
/**
|
|
2557
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
2558
|
-
*/
|
|
2559
|
-
export type UpdateAgentFallbackModelConfigurationAgentsResponse200Type =
|
|
2560
|
-
ClosedEnum<typeof UpdateAgentFallbackModelConfigurationAgentsResponse200Type>;
|
|
2561
|
-
|
|
2562
|
-
/**
|
|
2563
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
2564
|
-
*
|
|
2565
|
-
* @remarks
|
|
2566
|
-
*
|
|
2567
|
-
* - `5m`: 5 minutes
|
|
2568
|
-
* - `1h`: 1 hour
|
|
2569
|
-
*
|
|
2570
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
2571
|
-
*/
|
|
2572
|
-
export const UpdateAgentFallbackModelConfigurationAgentsTtl = {
|
|
2573
|
-
Fivem: "5m",
|
|
2574
|
-
Oneh: "1h",
|
|
2575
|
-
} as const;
|
|
2576
|
-
/**
|
|
2577
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
2578
|
-
*
|
|
2579
|
-
* @remarks
|
|
2580
|
-
*
|
|
2581
|
-
* - `5m`: 5 minutes
|
|
2582
|
-
* - `1h`: 1 hour
|
|
2583
|
-
*
|
|
2584
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
2585
|
-
*/
|
|
2586
|
-
export type UpdateAgentFallbackModelConfigurationAgentsTtl = ClosedEnum<
|
|
2587
|
-
typeof UpdateAgentFallbackModelConfigurationAgentsTtl
|
|
2588
|
-
>;
|
|
2589
|
-
|
|
2590
|
-
/**
|
|
2591
|
-
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
2592
|
-
*/
|
|
2593
|
-
export type UpdateAgentFallbackModelConfigurationAgentsCacheControl = {
|
|
2594
|
-
/**
|
|
2595
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
2596
|
-
*/
|
|
2597
|
-
type: UpdateAgentFallbackModelConfigurationAgentsResponse200Type;
|
|
2598
|
-
/**
|
|
2599
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
2600
|
-
*
|
|
2601
|
-
* @remarks
|
|
2602
|
-
*
|
|
2603
|
-
* - `5m`: 5 minutes
|
|
2604
|
-
* - `1h`: 1 hour
|
|
2605
|
-
*
|
|
2606
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
2607
|
-
*/
|
|
2608
|
-
ttl: UpdateAgentFallbackModelConfigurationAgentsTtl;
|
|
2609
|
-
};
|
|
2610
|
-
|
|
2611
2343
|
/**
|
|
2612
2344
|
* Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
|
|
2613
2345
|
*/
|
|
@@ -2730,16 +2462,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
|
|
|
2730
2462
|
* Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
|
|
2731
2463
|
*/
|
|
2732
2464
|
timeout?: UpdateAgentFallbackModelConfigurationAgentsTimeout | undefined;
|
|
2733
|
-
/**
|
|
2734
|
-
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
2735
|
-
*/
|
|
2736
|
-
cacheControl?:
|
|
2737
|
-
| UpdateAgentFallbackModelConfigurationAgentsCacheControl
|
|
2738
|
-
| undefined;
|
|
2739
|
-
/**
|
|
2740
|
-
* Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the legacy `user` field for prompt caching.
|
|
2741
|
-
*/
|
|
2742
|
-
promptCacheKey?: string | undefined;
|
|
2743
2465
|
};
|
|
2744
2466
|
|
|
2745
2467
|
/**
|
|
@@ -3366,44 +3088,6 @@ export function modelConfigurationTimeoutToJSON(
|
|
|
3366
3088
|
);
|
|
3367
3089
|
}
|
|
3368
3090
|
|
|
3369
|
-
/** @internal */
|
|
3370
|
-
export const UpdateAgentModelConfigurationAgentsType$outboundSchema:
|
|
3371
|
-
z.ZodNativeEnum<typeof UpdateAgentModelConfigurationAgentsType> = z
|
|
3372
|
-
.nativeEnum(UpdateAgentModelConfigurationAgentsType);
|
|
3373
|
-
|
|
3374
|
-
/** @internal */
|
|
3375
|
-
export const UpdateAgentModelConfigurationTtl$outboundSchema: z.ZodNativeEnum<
|
|
3376
|
-
typeof UpdateAgentModelConfigurationTtl
|
|
3377
|
-
> = z.nativeEnum(UpdateAgentModelConfigurationTtl);
|
|
3378
|
-
|
|
3379
|
-
/** @internal */
|
|
3380
|
-
export type UpdateAgentModelConfigurationCacheControl$Outbound = {
|
|
3381
|
-
type: string;
|
|
3382
|
-
ttl: string;
|
|
3383
|
-
};
|
|
3384
|
-
|
|
3385
|
-
/** @internal */
|
|
3386
|
-
export const UpdateAgentModelConfigurationCacheControl$outboundSchema:
|
|
3387
|
-
z.ZodType<
|
|
3388
|
-
UpdateAgentModelConfigurationCacheControl$Outbound,
|
|
3389
|
-
z.ZodTypeDef,
|
|
3390
|
-
UpdateAgentModelConfigurationCacheControl
|
|
3391
|
-
> = z.object({
|
|
3392
|
-
type: UpdateAgentModelConfigurationAgentsType$outboundSchema,
|
|
3393
|
-
ttl: UpdateAgentModelConfigurationTtl$outboundSchema.default("5m"),
|
|
3394
|
-
});
|
|
3395
|
-
|
|
3396
|
-
export function updateAgentModelConfigurationCacheControlToJSON(
|
|
3397
|
-
updateAgentModelConfigurationCacheControl:
|
|
3398
|
-
UpdateAgentModelConfigurationCacheControl,
|
|
3399
|
-
): string {
|
|
3400
|
-
return JSON.stringify(
|
|
3401
|
-
UpdateAgentModelConfigurationCacheControl$outboundSchema.parse(
|
|
3402
|
-
updateAgentModelConfigurationCacheControl,
|
|
3403
|
-
),
|
|
3404
|
-
);
|
|
3405
|
-
}
|
|
3406
|
-
|
|
3407
3091
|
/** @internal */
|
|
3408
3092
|
export type ModelConfigurationParameters$Outbound = {
|
|
3409
3093
|
name?: string | undefined;
|
|
@@ -3438,10 +3122,6 @@ export type ModelConfigurationParameters$Outbound = {
|
|
|
3438
3122
|
cache?: ModelConfigurationCache$Outbound | undefined;
|
|
3439
3123
|
load_balancer?: UpdateAgentLoadBalancer1$Outbound | undefined;
|
|
3440
3124
|
timeout?: ModelConfigurationTimeout$Outbound | undefined;
|
|
3441
|
-
cache_control?:
|
|
3442
|
-
| UpdateAgentModelConfigurationCacheControl$Outbound
|
|
3443
|
-
| undefined;
|
|
3444
|
-
prompt_cache_key?: string | undefined;
|
|
3445
3125
|
};
|
|
3446
3126
|
|
|
3447
3127
|
/** @internal */
|
|
@@ -3488,10 +3168,6 @@ export const ModelConfigurationParameters$outboundSchema: z.ZodType<
|
|
|
3488
3168
|
loadBalancer: z.lazy(() => UpdateAgentLoadBalancer1$outboundSchema)
|
|
3489
3169
|
.optional(),
|
|
3490
3170
|
timeout: z.lazy(() => ModelConfigurationTimeout$outboundSchema).optional(),
|
|
3491
|
-
cacheControl: z.lazy(() =>
|
|
3492
|
-
UpdateAgentModelConfigurationCacheControl$outboundSchema
|
|
3493
|
-
).optional(),
|
|
3494
|
-
promptCacheKey: z.string().optional(),
|
|
3495
3171
|
}).transform((v) => {
|
|
3496
3172
|
return remap$(v, {
|
|
3497
3173
|
frequencyPenalty: "frequency_penalty",
|
|
@@ -3505,8 +3181,6 @@ export const ModelConfigurationParameters$outboundSchema: z.ZodType<
|
|
|
3505
3181
|
toolChoice: "tool_choice",
|
|
3506
3182
|
parallelToolCalls: "parallel_tool_calls",
|
|
3507
3183
|
loadBalancer: "load_balancer",
|
|
3508
|
-
cacheControl: "cache_control",
|
|
3509
|
-
promptCacheKey: "prompt_cache_key",
|
|
3510
3184
|
});
|
|
3511
3185
|
});
|
|
3512
3186
|
|
|
@@ -4137,44 +3811,6 @@ export function updateAgentFallbackModelConfigurationTimeoutToJSON(
|
|
|
4137
3811
|
);
|
|
4138
3812
|
}
|
|
4139
3813
|
|
|
4140
|
-
/** @internal */
|
|
4141
|
-
export const UpdateAgentFallbackModelConfigurationAgentsType$outboundSchema:
|
|
4142
|
-
z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsType> = z
|
|
4143
|
-
.nativeEnum(UpdateAgentFallbackModelConfigurationAgentsType);
|
|
4144
|
-
|
|
4145
|
-
/** @internal */
|
|
4146
|
-
export const UpdateAgentFallbackModelConfigurationTtl$outboundSchema:
|
|
4147
|
-
z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationTtl> = z
|
|
4148
|
-
.nativeEnum(UpdateAgentFallbackModelConfigurationTtl);
|
|
4149
|
-
|
|
4150
|
-
/** @internal */
|
|
4151
|
-
export type UpdateAgentFallbackModelConfigurationCacheControl$Outbound = {
|
|
4152
|
-
type: string;
|
|
4153
|
-
ttl: string;
|
|
4154
|
-
};
|
|
4155
|
-
|
|
4156
|
-
/** @internal */
|
|
4157
|
-
export const UpdateAgentFallbackModelConfigurationCacheControl$outboundSchema:
|
|
4158
|
-
z.ZodType<
|
|
4159
|
-
UpdateAgentFallbackModelConfigurationCacheControl$Outbound,
|
|
4160
|
-
z.ZodTypeDef,
|
|
4161
|
-
UpdateAgentFallbackModelConfigurationCacheControl
|
|
4162
|
-
> = z.object({
|
|
4163
|
-
type: UpdateAgentFallbackModelConfigurationAgentsType$outboundSchema,
|
|
4164
|
-
ttl: UpdateAgentFallbackModelConfigurationTtl$outboundSchema.default("5m"),
|
|
4165
|
-
});
|
|
4166
|
-
|
|
4167
|
-
export function updateAgentFallbackModelConfigurationCacheControlToJSON(
|
|
4168
|
-
updateAgentFallbackModelConfigurationCacheControl:
|
|
4169
|
-
UpdateAgentFallbackModelConfigurationCacheControl,
|
|
4170
|
-
): string {
|
|
4171
|
-
return JSON.stringify(
|
|
4172
|
-
UpdateAgentFallbackModelConfigurationCacheControl$outboundSchema.parse(
|
|
4173
|
-
updateAgentFallbackModelConfigurationCacheControl,
|
|
4174
|
-
),
|
|
4175
|
-
);
|
|
4176
|
-
}
|
|
4177
|
-
|
|
4178
3814
|
/** @internal */
|
|
4179
3815
|
export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
|
|
4180
3816
|
name?: string | undefined;
|
|
@@ -4211,10 +3847,6 @@ export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
|
|
|
4211
3847
|
cache?: UpdateAgentFallbackModelConfigurationCache$Outbound | undefined;
|
|
4212
3848
|
load_balancer?: UpdateAgentLoadBalancerAgents1$Outbound | undefined;
|
|
4213
3849
|
timeout?: UpdateAgentFallbackModelConfigurationTimeout$Outbound | undefined;
|
|
4214
|
-
cache_control?:
|
|
4215
|
-
| UpdateAgentFallbackModelConfigurationCacheControl$Outbound
|
|
4216
|
-
| undefined;
|
|
4217
|
-
prompt_cache_key?: string | undefined;
|
|
4218
3850
|
};
|
|
4219
3851
|
|
|
4220
3852
|
/** @internal */
|
|
@@ -4276,10 +3908,6 @@ export const UpdateAgentFallbackModelConfigurationParameters$outboundSchema:
|
|
|
4276
3908
|
timeout: z.lazy(() =>
|
|
4277
3909
|
UpdateAgentFallbackModelConfigurationTimeout$outboundSchema
|
|
4278
3910
|
).optional(),
|
|
4279
|
-
cacheControl: z.lazy(() =>
|
|
4280
|
-
UpdateAgentFallbackModelConfigurationCacheControl$outboundSchema
|
|
4281
|
-
).optional(),
|
|
4282
|
-
promptCacheKey: z.string().optional(),
|
|
4283
3911
|
}).transform((v) => {
|
|
4284
3912
|
return remap$(v, {
|
|
4285
3913
|
frequencyPenalty: "frequency_penalty",
|
|
@@ -4293,8 +3921,6 @@ export const UpdateAgentFallbackModelConfigurationParameters$outboundSchema:
|
|
|
4293
3921
|
toolChoice: "tool_choice",
|
|
4294
3922
|
parallelToolCalls: "parallel_tool_calls",
|
|
4295
3923
|
loadBalancer: "load_balancer",
|
|
4296
|
-
cacheControl: "cache_control",
|
|
4297
|
-
promptCacheKey: "prompt_cache_key",
|
|
4298
3924
|
});
|
|
4299
3925
|
});
|
|
4300
3926
|
|
|
@@ -6162,36 +5788,6 @@ export function updateAgentTimeoutFromJSON(
|
|
|
6162
5788
|
);
|
|
6163
5789
|
}
|
|
6164
5790
|
|
|
6165
|
-
/** @internal */
|
|
6166
|
-
export const UpdateAgentAgentsResponseType$inboundSchema: z.ZodNativeEnum<
|
|
6167
|
-
typeof UpdateAgentAgentsResponseType
|
|
6168
|
-
> = z.nativeEnum(UpdateAgentAgentsResponseType);
|
|
6169
|
-
|
|
6170
|
-
/** @internal */
|
|
6171
|
-
export const UpdateAgentTtl$inboundSchema: z.ZodNativeEnum<
|
|
6172
|
-
typeof UpdateAgentTtl
|
|
6173
|
-
> = z.nativeEnum(UpdateAgentTtl);
|
|
6174
|
-
|
|
6175
|
-
/** @internal */
|
|
6176
|
-
export const UpdateAgentCacheControl$inboundSchema: z.ZodType<
|
|
6177
|
-
UpdateAgentCacheControl,
|
|
6178
|
-
z.ZodTypeDef,
|
|
6179
|
-
unknown
|
|
6180
|
-
> = z.object({
|
|
6181
|
-
type: UpdateAgentAgentsResponseType$inboundSchema,
|
|
6182
|
-
ttl: UpdateAgentTtl$inboundSchema.default("5m"),
|
|
6183
|
-
});
|
|
6184
|
-
|
|
6185
|
-
export function updateAgentCacheControlFromJSON(
|
|
6186
|
-
jsonString: string,
|
|
6187
|
-
): SafeParseResult<UpdateAgentCacheControl, SDKValidationError> {
|
|
6188
|
-
return safeParse(
|
|
6189
|
-
jsonString,
|
|
6190
|
-
(x) => UpdateAgentCacheControl$inboundSchema.parse(JSON.parse(x)),
|
|
6191
|
-
`Failed to parse 'UpdateAgentCacheControl' from JSON`,
|
|
6192
|
-
);
|
|
6193
|
-
}
|
|
6194
|
-
|
|
6195
5791
|
/** @internal */
|
|
6196
5792
|
export const UpdateAgentParameters$inboundSchema: z.ZodType<
|
|
6197
5793
|
UpdateAgentParameters,
|
|
@@ -6241,8 +5837,6 @@ export const UpdateAgentParameters$inboundSchema: z.ZodType<
|
|
|
6241
5837
|
UpdateAgentLoadBalancerAgentsResponse1$inboundSchema
|
|
6242
5838
|
).optional(),
|
|
6243
5839
|
timeout: z.lazy(() => UpdateAgentTimeout$inboundSchema).optional(),
|
|
6244
|
-
cache_control: z.lazy(() => UpdateAgentCacheControl$inboundSchema).optional(),
|
|
6245
|
-
prompt_cache_key: z.string().optional(),
|
|
6246
5840
|
}).transform((v) => {
|
|
6247
5841
|
return remap$(v, {
|
|
6248
5842
|
"frequency_penalty": "frequencyPenalty",
|
|
@@ -6256,8 +5850,6 @@ export const UpdateAgentParameters$inboundSchema: z.ZodType<
|
|
|
6256
5850
|
"tool_choice": "toolChoice",
|
|
6257
5851
|
"parallel_tool_calls": "parallelToolCalls",
|
|
6258
5852
|
"load_balancer": "loadBalancer",
|
|
6259
|
-
"cache_control": "cacheControl",
|
|
6260
|
-
"prompt_cache_key": "promptCacheKey",
|
|
6261
5853
|
});
|
|
6262
5854
|
});
|
|
6263
5855
|
|
|
@@ -6686,10 +6278,9 @@ export function updateAgentFallbackModelConfigurationAgentsFallbacksFromJSON(
|
|
|
6686
6278
|
}
|
|
6687
6279
|
|
|
6688
6280
|
/** @internal */
|
|
6689
|
-
export const
|
|
6690
|
-
z.ZodNativeEnum<
|
|
6691
|
-
|
|
6692
|
-
> = z.nativeEnum(UpdateAgentFallbackModelConfigurationAgentsResponseType);
|
|
6281
|
+
export const UpdateAgentFallbackModelConfigurationAgentsType$inboundSchema:
|
|
6282
|
+
z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsType> = z
|
|
6283
|
+
.nativeEnum(UpdateAgentFallbackModelConfigurationAgentsType);
|
|
6693
6284
|
|
|
6694
6285
|
/** @internal */
|
|
6695
6286
|
export const UpdateAgentFallbackModelConfigurationAgentsCache$inboundSchema:
|
|
@@ -6699,7 +6290,7 @@ export const UpdateAgentFallbackModelConfigurationAgentsCache$inboundSchema:
|
|
|
6699
6290
|
unknown
|
|
6700
6291
|
> = z.object({
|
|
6701
6292
|
ttl: z.number().default(1800),
|
|
6702
|
-
type:
|
|
6293
|
+
type: UpdateAgentFallbackModelConfigurationAgentsType$inboundSchema,
|
|
6703
6294
|
});
|
|
6704
6295
|
|
|
6705
6296
|
export function updateAgentFallbackModelConfigurationAgentsCacheFromJSON(
|
|
@@ -6831,46 +6422,6 @@ export function updateAgentFallbackModelConfigurationAgentsTimeoutFromJSON(
|
|
|
6831
6422
|
);
|
|
6832
6423
|
}
|
|
6833
6424
|
|
|
6834
|
-
/** @internal */
|
|
6835
|
-
export const UpdateAgentFallbackModelConfigurationAgentsResponse200Type$inboundSchema:
|
|
6836
|
-
z.ZodNativeEnum<
|
|
6837
|
-
typeof UpdateAgentFallbackModelConfigurationAgentsResponse200Type
|
|
6838
|
-
> = z.nativeEnum(UpdateAgentFallbackModelConfigurationAgentsResponse200Type);
|
|
6839
|
-
|
|
6840
|
-
/** @internal */
|
|
6841
|
-
export const UpdateAgentFallbackModelConfigurationAgentsTtl$inboundSchema:
|
|
6842
|
-
z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsTtl> = z
|
|
6843
|
-
.nativeEnum(UpdateAgentFallbackModelConfigurationAgentsTtl);
|
|
6844
|
-
|
|
6845
|
-
/** @internal */
|
|
6846
|
-
export const UpdateAgentFallbackModelConfigurationAgentsCacheControl$inboundSchema:
|
|
6847
|
-
z.ZodType<
|
|
6848
|
-
UpdateAgentFallbackModelConfigurationAgentsCacheControl,
|
|
6849
|
-
z.ZodTypeDef,
|
|
6850
|
-
unknown
|
|
6851
|
-
> = z.object({
|
|
6852
|
-
type:
|
|
6853
|
-
UpdateAgentFallbackModelConfigurationAgentsResponse200Type$inboundSchema,
|
|
6854
|
-
ttl: UpdateAgentFallbackModelConfigurationAgentsTtl$inboundSchema.default(
|
|
6855
|
-
"5m",
|
|
6856
|
-
),
|
|
6857
|
-
});
|
|
6858
|
-
|
|
6859
|
-
export function updateAgentFallbackModelConfigurationAgentsCacheControlFromJSON(
|
|
6860
|
-
jsonString: string,
|
|
6861
|
-
): SafeParseResult<
|
|
6862
|
-
UpdateAgentFallbackModelConfigurationAgentsCacheControl,
|
|
6863
|
-
SDKValidationError
|
|
6864
|
-
> {
|
|
6865
|
-
return safeParse(
|
|
6866
|
-
jsonString,
|
|
6867
|
-
(x) =>
|
|
6868
|
-
UpdateAgentFallbackModelConfigurationAgentsCacheControl$inboundSchema
|
|
6869
|
-
.parse(JSON.parse(x)),
|
|
6870
|
-
`Failed to parse 'UpdateAgentFallbackModelConfigurationAgentsCacheControl' from JSON`,
|
|
6871
|
-
);
|
|
6872
|
-
}
|
|
6873
|
-
|
|
6874
6425
|
/** @internal */
|
|
6875
6426
|
export const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema:
|
|
6876
6427
|
z.ZodType<
|
|
@@ -6937,10 +6488,6 @@ export const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema
|
|
|
6937
6488
|
timeout: z.lazy(() =>
|
|
6938
6489
|
UpdateAgentFallbackModelConfigurationAgentsTimeout$inboundSchema
|
|
6939
6490
|
).optional(),
|
|
6940
|
-
cache_control: z.lazy(() =>
|
|
6941
|
-
UpdateAgentFallbackModelConfigurationAgentsCacheControl$inboundSchema
|
|
6942
|
-
).optional(),
|
|
6943
|
-
prompt_cache_key: z.string().optional(),
|
|
6944
6491
|
}).transform((v) => {
|
|
6945
6492
|
return remap$(v, {
|
|
6946
6493
|
"frequency_penalty": "frequencyPenalty",
|
|
@@ -6954,8 +6501,6 @@ export const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema
|
|
|
6954
6501
|
"tool_choice": "toolChoice",
|
|
6955
6502
|
"parallel_tool_calls": "parallelToolCalls",
|
|
6956
6503
|
"load_balancer": "loadBalancer",
|
|
6957
|
-
"cache_control": "cacheControl",
|
|
6958
|
-
"prompt_cache_key": "promptCacheKey",
|
|
6959
6504
|
});
|
|
6960
6505
|
});
|
|
6961
6506
|
|
|
@@ -2358,7 +2358,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2358
2358
|
.default("orq"),
|
|
2359
2359
|
reviewed_by_id: z.string(),
|
|
2360
2360
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2361
|
-
"2026-06-
|
|
2361
|
+
"2026-06-12T14:13:34.939Z",
|
|
2362
2362
|
).transform(v => new Date(v)),
|
|
2363
2363
|
type: z.literal("string_array"),
|
|
2364
2364
|
values: z.array(z.string()),
|
|
@@ -2404,7 +2404,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2404
2404
|
source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
2405
2405
|
reviewed_by_id: z.string(),
|
|
2406
2406
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2407
|
-
"2026-06-
|
|
2407
|
+
"2026-06-12T14:13:34.938Z",
|
|
2408
2408
|
).transform(v => new Date(v)),
|
|
2409
2409
|
type: z.literal("number"),
|
|
2410
2410
|
value: z.number(),
|
|
@@ -2449,7 +2449,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2449
2449
|
source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
2450
2450
|
reviewed_by_id: z.string(),
|
|
2451
2451
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2452
|
-
"2026-06-
|
|
2452
|
+
"2026-06-12T14:13:34.938Z",
|
|
2453
2453
|
).transform(v => new Date(v)),
|
|
2454
2454
|
type: z.literal("string"),
|
|
2455
2455
|
value: z.string(),
|
|
@@ -2530,7 +2530,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2530
2530
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2531
2531
|
.optional(),
|
|
2532
2532
|
updated: z.string().datetime({ offset: true }).default(
|
|
2533
|
-
"2026-06-
|
|
2533
|
+
"2026-06-12T14:13:06.535Z",
|
|
2534
2534
|
).transform(v => new Date(v)),
|
|
2535
2535
|
}).transform((v) => {
|
|
2536
2536
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2026-06-
|
|
185
|
+
"2026-06-12T14:13:06.535Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|