@orq-ai/node 4.5.0-rc.3 → 4.5.0-rc.33
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 +38 -28
- package/funcs/agentsList.d.ts +1 -1
- package/funcs/agentsList.d.ts.map +1 -1
- package/funcs/agentsList.js +5 -3
- package/funcs/agentsList.js.map +1 -1
- package/funcs/agentsPostV2AgentsA2a.d.ts +18 -0
- package/funcs/agentsPostV2AgentsA2a.d.ts.map +1 -0
- package/funcs/agentsPostV2AgentsA2a.js +120 -0
- package/funcs/agentsPostV2AgentsA2a.js.map +1 -0
- package/funcs/agentsPostV2AgentsKeyCardRefresh.d.ts +18 -0
- package/funcs/agentsPostV2AgentsKeyCardRefresh.d.ts.map +1 -0
- package/funcs/agentsPostV2AgentsKeyCardRefresh.js +124 -0
- package/funcs/agentsPostV2AgentsKeyCardRefresh.js.map +1 -0
- package/funcs/agentsResponsesGet.d.ts +19 -0
- package/funcs/agentsResponsesGet.d.ts.map +1 -0
- package/funcs/agentsResponsesGet.js +128 -0
- package/funcs/agentsResponsesGet.js.map +1 -0
- package/funcs/agentsStream.js +4 -2
- package/funcs/agentsStream.js.map +1 -1
- package/funcs/agentsStreamRun.js +4 -2
- package/funcs/agentsStreamRun.js.map +1 -1
- package/funcs/agentsUpdate.d.ts +1 -1
- package/funcs/agentsUpdate.d.ts.map +1 -1
- package/funcs/agentsUpdate.js.map +1 -1
- package/funcs/deploymentsStream.js +4 -2
- package/funcs/deploymentsStream.js.map +1 -1
- package/funcs/filesCreate.js +7 -0
- package/funcs/filesCreate.js.map +1 -1
- package/funcs/routerAudioTranscriptionsCreate.js +7 -0
- package/funcs/routerAudioTranscriptionsCreate.js.map +1 -1
- package/funcs/routerAudioTranslationsCreate.js +7 -0
- package/funcs/routerAudioTranslationsCreate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/event-streams.d.ts +5 -0
- package/lib/event-streams.d.ts.map +1 -1
- package/lib/event-streams.js.map +1 -1
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +0 -1
- package/lib/matchers.js.map +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +1 -2
- package/lib/security.js.map +1 -1
- package/models/components/createagentresponse.d.ts +5 -0
- package/models/components/createagentresponse.d.ts.map +1 -1
- package/models/components/createagentresponse.js +2 -0
- package/models/components/createagentresponse.js.map +1 -1
- package/models/components/extendedmessage.d.ts +71 -0
- package/models/components/extendedmessage.d.ts.map +1 -0
- package/models/components/extendedmessage.js +98 -0
- package/models/components/extendedmessage.js.map +1 -0
- package/models/components/getagentresponse.d.ts +157 -0
- package/models/components/getagentresponse.d.ts.map +1 -0
- package/models/components/getagentresponse.js +175 -0
- package/models/components/getagentresponse.js.map +1 -0
- package/models/components/index.d.ts +3 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +3 -0
- package/models/components/index.js.map +1 -1
- package/models/components/partdoneevent.js +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/responsedoneevent.d.ts +5 -0
- package/models/components/responsedoneevent.d.ts.map +1 -1
- package/models/components/responsedoneevent.js +2 -0
- package/models/components/responsedoneevent.js.map +1 -1
- package/models/components/responsestartedevent.d.ts +5 -0
- package/models/components/responsestartedevent.d.ts.map +1 -1
- package/models/components/responsestartedevent.js +2 -0
- package/models/components/responsestartedevent.js.map +1 -1
- package/models/components/telemetry.d.ts +20 -0
- package/models/components/telemetry.d.ts.map +1 -0
- package/models/components/telemetry.js +57 -0
- package/models/components/telemetry.js.map +1 -0
- package/models/errors/index.d.ts +2 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +2 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/postv2agentsa2a.d.ts +43 -0
- package/models/errors/postv2agentsa2a.d.ts.map +1 -0
- package/models/errors/postv2agentsa2a.js +94 -0
- package/models/errors/postv2agentsa2a.js.map +1 -0
- package/models/errors/postv2agentskeycardrefresh.d.ts +43 -0
- package/models/errors/postv2agentskeycardrefresh.d.ts.map +1 -0
- package/models/errors/postv2agentskeycardrefresh.js +94 -0
- package/models/errors/postv2agentskeycardrefresh.js.map +1 -0
- package/models/operations/createagentrequest.d.ts +324 -601
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +308 -454
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +22 -1
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +12 -2
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createannotation.d.ts +1 -1
- package/models/operations/createannotation.d.ts.map +1 -1
- package/models/operations/createannotation.js +4 -0
- package/models/operations/createannotation.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +15 -2
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +3 -1
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createcompletion.d.ts +6 -2
- package/models/operations/createcompletion.d.ts.map +1 -1
- package/models/operations/createcompletion.js +2 -1
- package/models/operations/createcompletion.js.map +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createknowledge.d.ts +7 -7
- package/models/operations/createknowledge.d.ts.map +1 -1
- package/models/operations/createknowledge.js +11 -11
- package/models/operations/createknowledge.js.map +1 -1
- package/models/operations/createprompt.d.ts +31 -30
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +32 -29
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createresponse.d.ts.map +1 -1
- package/models/operations/createresponse.js +2 -1
- package/models/operations/createresponse.js.map +1 -1
- package/models/operations/createtool.d.ts +39 -39
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +52 -49
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +15 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +17 -1
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +1 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +1 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +15 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +17 -1
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/fileget.js +1 -1
- package/models/operations/filelist.js +1 -1
- package/models/operations/fileupload.js +1 -1
- package/models/operations/getagentresponse.d.ts +20 -0
- package/models/operations/getagentresponse.d.ts.map +1 -0
- package/models/operations/getagentresponse.js +56 -0
- package/models/operations/getagentresponse.js.map +1 -0
- package/models/operations/getallprompts.d.ts +1 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +1 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.d.ts +39 -39
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +49 -47
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getevals.js +16 -16
- package/models/operations/getoneprompt.d.ts +1 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +1 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +1 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +26 -1
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +12 -1
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +328 -346
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +314 -308
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/listknowledgebases.d.ts +8 -8
- package/models/operations/listknowledgebases.d.ts.map +1 -1
- package/models/operations/listknowledgebases.js +13 -15
- package/models/operations/listknowledgebases.js.map +1 -1
- package/models/operations/listpromptversions.d.ts +1 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +1 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/postv2agentsa2a.d.ts +119 -0
- package/models/operations/postv2agentsa2a.d.ts.map +1 -0
- package/models/operations/postv2agentsa2a.js +147 -0
- package/models/operations/postv2agentsa2a.js.map +1 -0
- package/models/operations/postv2agentskeycardrefresh.d.ts +35 -0
- package/models/operations/postv2agentskeycardrefresh.d.ts.map +1 -0
- package/models/operations/postv2agentskeycardrefresh.js +71 -0
- package/models/operations/postv2agentskeycardrefresh.js.map +1 -0
- package/models/operations/retrieveagentrequest.d.ts +313 -349
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +307 -311
- 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/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +27 -265
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +26 -163
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +22 -1
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +11 -1
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +13 -255
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +15 -152
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +383 -614
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +352 -472
- 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/updateidentity.js +1 -1
- package/models/operations/updatememorystore.d.ts +2 -43
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +2 -45
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +1 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +1 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.d.ts +50 -0
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +54 -9
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +1 -1
- package/sdk/agents.d.ts +16 -2
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +22 -2
- package/sdk/agents.js.map +1 -1
- package/sdk/responses.d.ts +8 -0
- package/sdk/responses.d.ts.map +1 -1
- package/sdk/responses.js +10 -0
- package/sdk/responses.js.map +1 -1
- package/src/funcs/agentsList.ts +5 -0
- package/src/funcs/agentsPostV2AgentsA2a.ts +178 -0
- package/src/funcs/agentsPostV2AgentsKeyCardRefresh.ts +187 -0
- package/src/funcs/agentsResponsesGet.ts +182 -0
- package/src/funcs/agentsStream.ts +4 -1
- package/src/funcs/agentsStreamRun.ts +4 -1
- package/src/funcs/agentsUpdate.ts +2 -2
- package/src/funcs/deploymentsStream.ts +4 -1
- package/src/funcs/filesCreate.ts +11 -0
- package/src/funcs/routerAudioTranscriptionsCreate.ts +11 -0
- package/src/funcs/routerAudioTranslationsCreate.ts +11 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/event-streams.ts +10 -1
- package/src/lib/matchers.ts +3 -2
- package/src/lib/security.ts +1 -2
- package/src/models/components/createagentresponse.ts +6 -0
- package/src/models/components/extendedmessage.ts +146 -0
- package/src/models/components/getagentresponse.ts +348 -0
- package/src/models/components/index.ts +3 -0
- package/src/models/components/partdoneevent.ts +1 -1
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/responsedoneevent.ts +6 -0
- package/src/models/components/responsestartedevent.ts +6 -0
- package/src/models/components/telemetry.ts +48 -0
- package/src/models/errors/index.ts +2 -0
- package/src/models/errors/postv2agentsa2a.ts +96 -0
- package/src/models/errors/postv2agentskeycardrefresh.ts +97 -0
- package/src/models/operations/createagentrequest.ts +755 -1212
- package/src/models/operations/createagentresponserequest.ts +37 -2
- package/src/models/operations/createannotation.ts +5 -1
- package/src/models/operations/createchatcompletion.ts +14 -3
- package/src/models/operations/createcompletion.ts +8 -3
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createknowledge.ts +19 -17
- package/src/models/operations/createprompt.ts +56 -66
- package/src/models/operations/createresponse.ts +2 -1
- package/src/models/operations/createtool.ts +103 -91
- package/src/models/operations/deploymentinvoke.ts +39 -0
- package/src/models/operations/deployments.ts +1 -0
- package/src/models/operations/deploymentstream.ts +39 -0
- package/src/models/operations/fileget.ts +1 -1
- package/src/models/operations/filelist.ts +1 -1
- package/src/models/operations/fileupload.ts +1 -1
- package/src/models/operations/getagentresponse.ts +46 -0
- package/src/models/operations/getallprompts.ts +1 -0
- package/src/models/operations/getalltools.ts +93 -87
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getoneprompt.ts +1 -0
- package/src/models/operations/getpromptversion.ts +1 -0
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/invokeagent.ts +45 -1
- package/src/models/operations/listagents.ts +751 -787
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +72 -64
- package/src/models/operations/listpromptversions.ts +1 -0
- package/src/models/operations/postv2agentsa2a.ts +252 -0
- package/src/models/operations/postv2agentskeycardrefresh.ts +100 -0
- package/src/models/operations/retrieveagentrequest.ts +962 -857
- 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/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +69 -493
- package/src/models/operations/streamagent.ts +40 -1
- package/src/models/operations/streamrunagent.ts +36 -493
- package/src/models/operations/updateagent.ts +966 -1313
- 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/updateidentity.ts +1 -1
- package/src/models/operations/updatememorystore.ts +3 -61
- package/src/models/operations/updateprompt.ts +1 -0
- package/src/models/operations/updatetool.ts +96 -7
- package/src/sdk/agents.ts +39 -1
- package/src/sdk/responses.ts +19 -0
|
@@ -3,48 +3,6 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import * as components from "../components/index.js";
|
|
5
5
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
6
|
-
/**
|
|
7
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
8
|
-
*/
|
|
9
|
-
export declare const Voice: {
|
|
10
|
-
readonly Alloy: "alloy";
|
|
11
|
-
readonly Echo: "echo";
|
|
12
|
-
readonly Fable: "fable";
|
|
13
|
-
readonly Onyx: "onyx";
|
|
14
|
-
readonly Nova: "nova";
|
|
15
|
-
readonly Shimmer: "shimmer";
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
19
|
-
*/
|
|
20
|
-
export type Voice = ClosedEnum<typeof Voice>;
|
|
21
|
-
/**
|
|
22
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
23
|
-
*/
|
|
24
|
-
export declare const Format: {
|
|
25
|
-
readonly Wav: "wav";
|
|
26
|
-
readonly Mp3: "mp3";
|
|
27
|
-
readonly Flac: "flac";
|
|
28
|
-
readonly Opus: "opus";
|
|
29
|
-
readonly Pcm16: "pcm16";
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
33
|
-
*/
|
|
34
|
-
export type Format = ClosedEnum<typeof Format>;
|
|
35
|
-
/**
|
|
36
|
-
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
37
|
-
*/
|
|
38
|
-
export type ModelConfigurationAudio = {
|
|
39
|
-
/**
|
|
40
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
41
|
-
*/
|
|
42
|
-
voice: Voice;
|
|
43
|
-
/**
|
|
44
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
45
|
-
*/
|
|
46
|
-
format: Format;
|
|
47
|
-
};
|
|
48
6
|
export type ResponseFormatJsonSchema = {
|
|
49
7
|
/**
|
|
50
8
|
* A description of what the response format is for, used by the model to determine how to respond in the format.
|
|
@@ -129,15 +87,6 @@ export type ReasoningEffort = ClosedEnum<typeof ReasoningEffort>;
|
|
|
129
87
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
130
88
|
*/
|
|
131
89
|
export type Stop = string | Array<string>;
|
|
132
|
-
/**
|
|
133
|
-
* Options for streaming response. Only set this when you set stream: true.
|
|
134
|
-
*/
|
|
135
|
-
export type StreamOptions = {
|
|
136
|
-
/**
|
|
137
|
-
* If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
|
|
138
|
-
*/
|
|
139
|
-
includeUsage?: boolean | undefined;
|
|
140
|
-
};
|
|
141
90
|
export type Thinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
|
|
142
91
|
/**
|
|
143
92
|
* The type of the tool. Currently, only function is supported.
|
|
@@ -214,19 +163,6 @@ export type Fallbacks = {
|
|
|
214
163
|
*/
|
|
215
164
|
model: string;
|
|
216
165
|
};
|
|
217
|
-
/**
|
|
218
|
-
* Retry configuration for the request
|
|
219
|
-
*/
|
|
220
|
-
export type Retry = {
|
|
221
|
-
/**
|
|
222
|
-
* Number of retry attempts (1-5)
|
|
223
|
-
*/
|
|
224
|
-
count?: number | undefined;
|
|
225
|
-
/**
|
|
226
|
-
* HTTP status codes that trigger retry logic
|
|
227
|
-
*/
|
|
228
|
-
onCodes?: Array<number> | undefined;
|
|
229
|
-
};
|
|
230
166
|
export declare const ModelConfigurationType: {
|
|
231
167
|
readonly ExactMatch: "exact_match";
|
|
232
168
|
};
|
|
@@ -280,10 +216,6 @@ export type ParametersT = {
|
|
|
280
216
|
* The name to display on the trace. If not specified, the default system name will be used.
|
|
281
217
|
*/
|
|
282
218
|
name?: string | undefined;
|
|
283
|
-
/**
|
|
284
|
-
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
285
|
-
*/
|
|
286
|
-
audio?: ModelConfigurationAudio | null | undefined;
|
|
287
219
|
/**
|
|
288
220
|
* Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
|
|
289
221
|
*/
|
|
@@ -300,18 +232,6 @@ export type ParametersT = {
|
|
|
300
232
|
* An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
|
|
301
233
|
*/
|
|
302
234
|
maxCompletionTokens?: number | null | undefined;
|
|
303
|
-
/**
|
|
304
|
-
* Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
|
|
305
|
-
*/
|
|
306
|
-
logprobs?: boolean | null | undefined;
|
|
307
|
-
/**
|
|
308
|
-
* An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
|
|
309
|
-
*/
|
|
310
|
-
topLogprobs?: number | null | undefined;
|
|
311
|
-
/**
|
|
312
|
-
* How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
|
|
313
|
-
*/
|
|
314
|
-
n?: number | null | undefined;
|
|
315
235
|
/**
|
|
316
236
|
* Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
|
|
317
237
|
*/
|
|
@@ -345,10 +265,6 @@ export type ParametersT = {
|
|
|
345
265
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
346
266
|
*/
|
|
347
267
|
stop?: string | Array<string> | null | undefined;
|
|
348
|
-
/**
|
|
349
|
-
* Options for streaming response. Only set this when you set stream: true.
|
|
350
|
-
*/
|
|
351
|
-
streamOptions?: StreamOptions | null | undefined;
|
|
352
268
|
thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
|
|
353
269
|
/**
|
|
354
270
|
* What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
|
|
@@ -382,10 +298,6 @@ export type ParametersT = {
|
|
|
382
298
|
* Array of fallback models to use if primary model fails
|
|
383
299
|
*/
|
|
384
300
|
fallbacks?: Array<Fallbacks> | undefined;
|
|
385
|
-
/**
|
|
386
|
-
* Retry configuration for the request
|
|
387
|
-
*/
|
|
388
|
-
retry?: Retry | undefined;
|
|
389
301
|
/**
|
|
390
302
|
* Cache configuration for the request.
|
|
391
303
|
*/
|
|
@@ -402,7 +314,7 @@ export type ParametersT = {
|
|
|
402
314
|
/**
|
|
403
315
|
* Retry configuration for model requests. Retries are triggered for specific HTTP status codes (e.g., 500, 429, 502, 503, 504). Supports configurable retry count (1-5) and custom status codes.
|
|
404
316
|
*/
|
|
405
|
-
export type
|
|
317
|
+
export type Retry = {
|
|
406
318
|
/**
|
|
407
319
|
* Number of retry attempts (1-5)
|
|
408
320
|
*/
|
|
@@ -429,54 +341,12 @@ export type ModelConfiguration2 = {
|
|
|
429
341
|
/**
|
|
430
342
|
* Retry configuration for model requests. Retries are triggered for specific HTTP status codes (e.g., 500, 429, 502, 503, 504). Supports configurable retry count (1-5) and custom status codes.
|
|
431
343
|
*/
|
|
432
|
-
retry?:
|
|
344
|
+
retry?: Retry | undefined;
|
|
433
345
|
};
|
|
434
346
|
/**
|
|
435
347
|
* Model configuration for agent execution. Can be a simple model ID string or a configuration object with optional behavior parameters and retry settings.
|
|
436
348
|
*/
|
|
437
349
|
export type ModelConfiguration = ModelConfiguration2 | string;
|
|
438
|
-
/**
|
|
439
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
440
|
-
*/
|
|
441
|
-
export declare const FallbackModelConfigurationVoice: {
|
|
442
|
-
readonly Alloy: "alloy";
|
|
443
|
-
readonly Echo: "echo";
|
|
444
|
-
readonly Fable: "fable";
|
|
445
|
-
readonly Onyx: "onyx";
|
|
446
|
-
readonly Nova: "nova";
|
|
447
|
-
readonly Shimmer: "shimmer";
|
|
448
|
-
};
|
|
449
|
-
/**
|
|
450
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
451
|
-
*/
|
|
452
|
-
export type FallbackModelConfigurationVoice = ClosedEnum<typeof FallbackModelConfigurationVoice>;
|
|
453
|
-
/**
|
|
454
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
455
|
-
*/
|
|
456
|
-
export declare const FallbackModelConfigurationFormat: {
|
|
457
|
-
readonly Wav: "wav";
|
|
458
|
-
readonly Mp3: "mp3";
|
|
459
|
-
readonly Flac: "flac";
|
|
460
|
-
readonly Opus: "opus";
|
|
461
|
-
readonly Pcm16: "pcm16";
|
|
462
|
-
};
|
|
463
|
-
/**
|
|
464
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
465
|
-
*/
|
|
466
|
-
export type FallbackModelConfigurationFormat = ClosedEnum<typeof FallbackModelConfigurationFormat>;
|
|
467
|
-
/**
|
|
468
|
-
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
469
|
-
*/
|
|
470
|
-
export type FallbackModelConfigurationAudio = {
|
|
471
|
-
/**
|
|
472
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
473
|
-
*/
|
|
474
|
-
voice: FallbackModelConfigurationVoice;
|
|
475
|
-
/**
|
|
476
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
477
|
-
*/
|
|
478
|
-
format: FallbackModelConfigurationFormat;
|
|
479
|
-
};
|
|
480
350
|
export type CreateAgentRequestResponseFormatAgentsJsonSchema = {
|
|
481
351
|
/**
|
|
482
352
|
* A description of what the response format is for, used by the model to determine how to respond in the format.
|
|
@@ -561,15 +431,6 @@ export type FallbackModelConfigurationReasoningEffort = ClosedEnum<typeof Fallba
|
|
|
561
431
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
562
432
|
*/
|
|
563
433
|
export type FallbackModelConfigurationStop = string | Array<string>;
|
|
564
|
-
/**
|
|
565
|
-
* Options for streaming response. Only set this when you set stream: true.
|
|
566
|
-
*/
|
|
567
|
-
export type FallbackModelConfigurationStreamOptions = {
|
|
568
|
-
/**
|
|
569
|
-
* If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
|
|
570
|
-
*/
|
|
571
|
-
includeUsage?: boolean | undefined;
|
|
572
|
-
};
|
|
573
434
|
export type FallbackModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
|
|
574
435
|
/**
|
|
575
436
|
* The type of the tool. Currently, only function is supported.
|
|
@@ -646,19 +507,6 @@ export type FallbackModelConfigurationFallbacks = {
|
|
|
646
507
|
*/
|
|
647
508
|
model: string;
|
|
648
509
|
};
|
|
649
|
-
/**
|
|
650
|
-
* Retry configuration for the request
|
|
651
|
-
*/
|
|
652
|
-
export type FallbackModelConfigurationRetry = {
|
|
653
|
-
/**
|
|
654
|
-
* Number of retry attempts (1-5)
|
|
655
|
-
*/
|
|
656
|
-
count?: number | undefined;
|
|
657
|
-
/**
|
|
658
|
-
* HTTP status codes that trigger retry logic
|
|
659
|
-
*/
|
|
660
|
-
onCodes?: Array<number> | undefined;
|
|
661
|
-
};
|
|
662
510
|
export declare const FallbackModelConfigurationType: {
|
|
663
511
|
readonly ExactMatch: "exact_match";
|
|
664
512
|
};
|
|
@@ -712,10 +560,6 @@ export type FallbackModelConfigurationParameters = {
|
|
|
712
560
|
* The name to display on the trace. If not specified, the default system name will be used.
|
|
713
561
|
*/
|
|
714
562
|
name?: string | undefined;
|
|
715
|
-
/**
|
|
716
|
-
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
717
|
-
*/
|
|
718
|
-
audio?: FallbackModelConfigurationAudio | null | undefined;
|
|
719
563
|
/**
|
|
720
564
|
* Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
|
|
721
565
|
*/
|
|
@@ -732,18 +576,6 @@ export type FallbackModelConfigurationParameters = {
|
|
|
732
576
|
* An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
|
|
733
577
|
*/
|
|
734
578
|
maxCompletionTokens?: number | null | undefined;
|
|
735
|
-
/**
|
|
736
|
-
* Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
|
|
737
|
-
*/
|
|
738
|
-
logprobs?: boolean | null | undefined;
|
|
739
|
-
/**
|
|
740
|
-
* An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
|
|
741
|
-
*/
|
|
742
|
-
topLogprobs?: number | null | undefined;
|
|
743
|
-
/**
|
|
744
|
-
* How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
|
|
745
|
-
*/
|
|
746
|
-
n?: number | null | undefined;
|
|
747
579
|
/**
|
|
748
580
|
* Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
|
|
749
581
|
*/
|
|
@@ -777,10 +609,6 @@ export type FallbackModelConfigurationParameters = {
|
|
|
777
609
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
778
610
|
*/
|
|
779
611
|
stop?: string | Array<string> | null | undefined;
|
|
780
|
-
/**
|
|
781
|
-
* Options for streaming response. Only set this when you set stream: true.
|
|
782
|
-
*/
|
|
783
|
-
streamOptions?: FallbackModelConfigurationStreamOptions | null | undefined;
|
|
784
612
|
thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
|
|
785
613
|
/**
|
|
786
614
|
* What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
|
|
@@ -814,10 +642,6 @@ export type FallbackModelConfigurationParameters = {
|
|
|
814
642
|
* Array of fallback models to use if primary model fails
|
|
815
643
|
*/
|
|
816
644
|
fallbacks?: Array<FallbackModelConfigurationFallbacks> | undefined;
|
|
817
|
-
/**
|
|
818
|
-
* Retry configuration for the request
|
|
819
|
-
*/
|
|
820
|
-
retry?: FallbackModelConfigurationRetry | undefined;
|
|
821
645
|
/**
|
|
822
646
|
* Cache configuration for the request.
|
|
823
647
|
*/
|
|
@@ -834,7 +658,7 @@ export type FallbackModelConfigurationParameters = {
|
|
|
834
658
|
/**
|
|
835
659
|
* Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
|
|
836
660
|
*/
|
|
837
|
-
export type
|
|
661
|
+
export type FallbackModelConfigurationRetry = {
|
|
838
662
|
/**
|
|
839
663
|
* Number of retry attempts (1-5)
|
|
840
664
|
*/
|
|
@@ -859,7 +683,7 @@ export type FallbackModelConfiguration2 = {
|
|
|
859
683
|
/**
|
|
860
684
|
* Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
|
|
861
685
|
*/
|
|
862
|
-
retry?:
|
|
686
|
+
retry?: FallbackModelConfigurationRetry | undefined;
|
|
863
687
|
};
|
|
864
688
|
/**
|
|
865
689
|
* Fallback model for automatic failover when primary model request fails. Supports optional parameter overrides. Can be a simple model ID string or a configuration object with model-specific parameters. Fallbacks are tried in order.
|
|
@@ -1377,7 +1201,7 @@ export type CreateAgentRequestRequestBody = {
|
|
|
1377
1201
|
/**
|
|
1378
1202
|
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
1379
1203
|
*/
|
|
1380
|
-
export declare const
|
|
1204
|
+
export declare const ResponseBodyStatus: {
|
|
1381
1205
|
readonly Live: "live";
|
|
1382
1206
|
readonly Draft: "draft";
|
|
1383
1207
|
readonly Pending: "pending";
|
|
@@ -1386,11 +1210,173 @@ export declare const CreateAgentRequestStatus: {
|
|
|
1386
1210
|
/**
|
|
1387
1211
|
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
1388
1212
|
*/
|
|
1389
|
-
export type
|
|
1213
|
+
export type ResponseBodyStatus = ClosedEnum<typeof ResponseBodyStatus>;
|
|
1214
|
+
export type CreateAgentRequestResponseBodyTeamOfAgents = {
|
|
1215
|
+
/**
|
|
1216
|
+
* The unique key of the agent within the workspace
|
|
1217
|
+
*/
|
|
1218
|
+
key: string;
|
|
1219
|
+
/**
|
|
1220
|
+
* The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
|
|
1221
|
+
*/
|
|
1222
|
+
role?: string | undefined;
|
|
1223
|
+
};
|
|
1224
|
+
export type CreateAgentRequestResponseBodyMetrics = {
|
|
1225
|
+
totalCost: number;
|
|
1226
|
+
};
|
|
1227
|
+
export type CreateAgentRequestResponseBodyKnowledgeBases = {
|
|
1228
|
+
/**
|
|
1229
|
+
* Unique identifier of the knowledge base to search
|
|
1230
|
+
*/
|
|
1231
|
+
knowledgeId: string;
|
|
1232
|
+
};
|
|
1233
|
+
export declare const CreateAgentRequestResponseBodySource: {
|
|
1234
|
+
readonly Internal: "internal";
|
|
1235
|
+
readonly External: "external";
|
|
1236
|
+
readonly Experiment: "experiment";
|
|
1237
|
+
};
|
|
1238
|
+
export type CreateAgentRequestResponseBodySource = ClosedEnum<typeof CreateAgentRequestResponseBodySource>;
|
|
1239
|
+
export type ResponseBodyHeaders = {
|
|
1240
|
+
/**
|
|
1241
|
+
* Header value. **Update behavior**: Provide empty string ("") to preserve existing encrypted value without re-entering credentials. Provide new value to rotate. Omit header entirely to remove.
|
|
1242
|
+
*/
|
|
1243
|
+
value: string;
|
|
1244
|
+
encrypted: boolean;
|
|
1245
|
+
};
|
|
1246
|
+
/**
|
|
1247
|
+
* A2A configuration with agent endpoint and authentication. External agents manage their own model/settings.
|
|
1248
|
+
*/
|
|
1249
|
+
export type A2AAgentConfiguration = {
|
|
1250
|
+
/**
|
|
1251
|
+
* The A2A agent endpoint URL (e.g., https://example.com/agent/a2a)
|
|
1252
|
+
*/
|
|
1253
|
+
agentUrl: string;
|
|
1254
|
+
/**
|
|
1255
|
+
* Optional explicit URL to fetch agent card. Defaults to {agent_url}/card if not provided
|
|
1256
|
+
*/
|
|
1257
|
+
cardUrl?: string | undefined;
|
|
1258
|
+
/**
|
|
1259
|
+
* HTTP headers for A2A agent requests with encryption support (max 20 headers). **Update behavior**: Empty string values preserve existing encrypted headers, allowing partial updates without credential re-entry.
|
|
1260
|
+
*/
|
|
1261
|
+
headers?: {
|
|
1262
|
+
[k: string]: ResponseBodyHeaders;
|
|
1263
|
+
} | undefined;
|
|
1264
|
+
/**
|
|
1265
|
+
* Cached agent card from discovery. Refreshed periodically.
|
|
1266
|
+
*/
|
|
1267
|
+
cachedCard?: any | undefined;
|
|
1268
|
+
};
|
|
1269
|
+
export type ResponseBody2 = {
|
|
1270
|
+
id: string;
|
|
1271
|
+
/**
|
|
1272
|
+
* Unique identifier for the agent within the workspace
|
|
1273
|
+
*/
|
|
1274
|
+
key: string;
|
|
1275
|
+
displayName?: string | undefined;
|
|
1276
|
+
projectId: string;
|
|
1277
|
+
createdById?: string | null | undefined;
|
|
1278
|
+
updatedById?: string | null | undefined;
|
|
1279
|
+
created?: string | undefined;
|
|
1280
|
+
updated?: string | undefined;
|
|
1281
|
+
/**
|
|
1282
|
+
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
1283
|
+
*/
|
|
1284
|
+
status: ResponseBodyStatus;
|
|
1285
|
+
versionHash?: string | undefined;
|
|
1286
|
+
/**
|
|
1287
|
+
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
1288
|
+
*
|
|
1289
|
+
* @remarks
|
|
1290
|
+
*
|
|
1291
|
+
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
1292
|
+
*
|
|
1293
|
+
* With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
|
|
1294
|
+
*/
|
|
1295
|
+
path: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* Array of memory store identifiers. Accepts both memory store IDs and keys.
|
|
1298
|
+
*/
|
|
1299
|
+
memoryStores?: Array<string> | undefined;
|
|
1300
|
+
/**
|
|
1301
|
+
* The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
|
|
1302
|
+
*/
|
|
1303
|
+
teamOfAgents?: Array<CreateAgentRequestResponseBodyTeamOfAgents> | undefined;
|
|
1304
|
+
metrics?: CreateAgentRequestResponseBodyMetrics | undefined;
|
|
1305
|
+
/**
|
|
1306
|
+
* Extracted variables from agent instructions
|
|
1307
|
+
*/
|
|
1308
|
+
variables?: {
|
|
1309
|
+
[k: string]: any;
|
|
1310
|
+
} | undefined;
|
|
1311
|
+
/**
|
|
1312
|
+
* Agent knowledge bases reference
|
|
1313
|
+
*/
|
|
1314
|
+
knowledgeBases?: Array<CreateAgentRequestResponseBodyKnowledgeBases> | undefined;
|
|
1315
|
+
source?: CreateAgentRequestResponseBodySource | undefined;
|
|
1316
|
+
/**
|
|
1317
|
+
* External A2A-compliant agent
|
|
1318
|
+
*/
|
|
1319
|
+
type: "a2a";
|
|
1320
|
+
/**
|
|
1321
|
+
* Role fetched from agent card name or user-provided
|
|
1322
|
+
*/
|
|
1323
|
+
role: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* Description fetched from agent card or user-provided
|
|
1326
|
+
*/
|
|
1327
|
+
description: string;
|
|
1328
|
+
systemPrompt?: string | undefined;
|
|
1329
|
+
/**
|
|
1330
|
+
* Instructions from agent card description or user-provided
|
|
1331
|
+
*/
|
|
1332
|
+
instructions: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* A2A configuration with agent endpoint and authentication. External agents manage their own model/settings.
|
|
1335
|
+
*/
|
|
1336
|
+
a2a: A2AAgentConfiguration;
|
|
1337
|
+
};
|
|
1338
|
+
/**
|
|
1339
|
+
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
1340
|
+
*/
|
|
1341
|
+
export declare const CreateAgentRequestResponseBodyStatus: {
|
|
1342
|
+
readonly Live: "live";
|
|
1343
|
+
readonly Draft: "draft";
|
|
1344
|
+
readonly Pending: "pending";
|
|
1345
|
+
readonly Published: "published";
|
|
1346
|
+
};
|
|
1347
|
+
/**
|
|
1348
|
+
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
1349
|
+
*/
|
|
1350
|
+
export type CreateAgentRequestResponseBodyStatus = ClosedEnum<typeof CreateAgentRequestResponseBodyStatus>;
|
|
1351
|
+
export type ResponseBodyTeamOfAgents = {
|
|
1352
|
+
/**
|
|
1353
|
+
* The unique key of the agent within the workspace
|
|
1354
|
+
*/
|
|
1355
|
+
key: string;
|
|
1356
|
+
/**
|
|
1357
|
+
* The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
|
|
1358
|
+
*/
|
|
1359
|
+
role?: string | undefined;
|
|
1360
|
+
};
|
|
1361
|
+
export type ResponseBodyMetrics = {
|
|
1362
|
+
totalCost: number;
|
|
1363
|
+
};
|
|
1364
|
+
export type ResponseBodyKnowledgeBases = {
|
|
1365
|
+
/**
|
|
1366
|
+
* Unique identifier of the knowledge base to search
|
|
1367
|
+
*/
|
|
1368
|
+
knowledgeId: string;
|
|
1369
|
+
};
|
|
1370
|
+
export declare const ResponseBodySource: {
|
|
1371
|
+
readonly Internal: "internal";
|
|
1372
|
+
readonly External: "external";
|
|
1373
|
+
readonly Experiment: "experiment";
|
|
1374
|
+
};
|
|
1375
|
+
export type ResponseBodySource = ClosedEnum<typeof ResponseBodySource>;
|
|
1390
1376
|
/**
|
|
1391
1377
|
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
1392
1378
|
*/
|
|
1393
|
-
export declare const
|
|
1379
|
+
export declare const ResponseBodyToolApprovalRequired: {
|
|
1394
1380
|
readonly All: "all";
|
|
1395
1381
|
readonly RespectTool: "respect_tool";
|
|
1396
1382
|
readonly None: "none";
|
|
@@ -1398,7 +1384,7 @@ export declare const CreateAgentRequestToolApprovalRequired: {
|
|
|
1398
1384
|
/**
|
|
1399
1385
|
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
1400
1386
|
*/
|
|
1401
|
-
export type
|
|
1387
|
+
export type ResponseBodyToolApprovalRequired = ClosedEnum<typeof ResponseBodyToolApprovalRequired>;
|
|
1402
1388
|
export type Conditions = {
|
|
1403
1389
|
/**
|
|
1404
1390
|
* The argument of the tool call to evaluate
|
|
@@ -1413,7 +1399,7 @@ export type Conditions = {
|
|
|
1413
1399
|
*/
|
|
1414
1400
|
value: string;
|
|
1415
1401
|
};
|
|
1416
|
-
export type
|
|
1402
|
+
export type ResponseBodyTools = {
|
|
1417
1403
|
/**
|
|
1418
1404
|
* The id of the resource
|
|
1419
1405
|
*/
|
|
@@ -1442,15 +1428,15 @@ export type CreateAgentRequestTools = {
|
|
|
1442
1428
|
/**
|
|
1443
1429
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1444
1430
|
*/
|
|
1445
|
-
export declare const
|
|
1431
|
+
export declare const ResponseBodyExecuteOn: {
|
|
1446
1432
|
readonly Input: "input";
|
|
1447
1433
|
readonly Output: "output";
|
|
1448
1434
|
};
|
|
1449
1435
|
/**
|
|
1450
1436
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1451
1437
|
*/
|
|
1452
|
-
export type
|
|
1453
|
-
export type
|
|
1438
|
+
export type ResponseBodyExecuteOn = ClosedEnum<typeof ResponseBodyExecuteOn>;
|
|
1439
|
+
export type ResponseBodyEvaluators = {
|
|
1454
1440
|
/**
|
|
1455
1441
|
* Unique key or identifier of the evaluator
|
|
1456
1442
|
*/
|
|
@@ -1462,20 +1448,20 @@ export type CreateAgentRequestEvaluators = {
|
|
|
1462
1448
|
/**
|
|
1463
1449
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1464
1450
|
*/
|
|
1465
|
-
executeOn:
|
|
1451
|
+
executeOn: ResponseBodyExecuteOn;
|
|
1466
1452
|
};
|
|
1467
1453
|
/**
|
|
1468
1454
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1469
1455
|
*/
|
|
1470
|
-
export declare const
|
|
1456
|
+
export declare const CreateAgentRequestResponseBodyExecuteOn: {
|
|
1471
1457
|
readonly Input: "input";
|
|
1472
1458
|
readonly Output: "output";
|
|
1473
1459
|
};
|
|
1474
1460
|
/**
|
|
1475
1461
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1476
1462
|
*/
|
|
1477
|
-
export type
|
|
1478
|
-
export type
|
|
1463
|
+
export type CreateAgentRequestResponseBodyExecuteOn = ClosedEnum<typeof CreateAgentRequestResponseBodyExecuteOn>;
|
|
1464
|
+
export type ResponseBodyGuardrails = {
|
|
1479
1465
|
/**
|
|
1480
1466
|
* Unique key or identifier of the evaluator
|
|
1481
1467
|
*/
|
|
@@ -1487,9 +1473,9 @@ export type CreateAgentRequestAgentsGuardrails = {
|
|
|
1487
1473
|
/**
|
|
1488
1474
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
1489
1475
|
*/
|
|
1490
|
-
executeOn:
|
|
1476
|
+
executeOn: CreateAgentRequestResponseBodyExecuteOn;
|
|
1491
1477
|
};
|
|
1492
|
-
export type
|
|
1478
|
+
export type ResponseBodySettings = {
|
|
1493
1479
|
/**
|
|
1494
1480
|
* Maximum iterations(llm calls) before the agent will stop executing.
|
|
1495
1481
|
*/
|
|
@@ -1505,58 +1491,16 @@ export type CreateAgentRequestSettings = {
|
|
|
1505
1491
|
/**
|
|
1506
1492
|
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
1507
1493
|
*/
|
|
1508
|
-
toolApprovalRequired:
|
|
1509
|
-
tools?: Array<
|
|
1494
|
+
toolApprovalRequired: ResponseBodyToolApprovalRequired;
|
|
1495
|
+
tools?: Array<ResponseBodyTools> | undefined;
|
|
1510
1496
|
/**
|
|
1511
1497
|
* Configuration for an evaluator applied to the agent
|
|
1512
1498
|
*/
|
|
1513
|
-
evaluators?: Array<
|
|
1499
|
+
evaluators?: Array<ResponseBodyEvaluators> | undefined;
|
|
1514
1500
|
/**
|
|
1515
1501
|
* Configuration for a guardrail applied to the agent
|
|
1516
1502
|
*/
|
|
1517
|
-
guardrails?: Array<
|
|
1518
|
-
};
|
|
1519
|
-
/**
|
|
1520
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
1521
|
-
*/
|
|
1522
|
-
export declare const CreateAgentRequestVoice: {
|
|
1523
|
-
readonly Alloy: "alloy";
|
|
1524
|
-
readonly Echo: "echo";
|
|
1525
|
-
readonly Fable: "fable";
|
|
1526
|
-
readonly Onyx: "onyx";
|
|
1527
|
-
readonly Nova: "nova";
|
|
1528
|
-
readonly Shimmer: "shimmer";
|
|
1529
|
-
};
|
|
1530
|
-
/**
|
|
1531
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
1532
|
-
*/
|
|
1533
|
-
export type CreateAgentRequestVoice = ClosedEnum<typeof CreateAgentRequestVoice>;
|
|
1534
|
-
/**
|
|
1535
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
1536
|
-
*/
|
|
1537
|
-
export declare const CreateAgentRequestFormat: {
|
|
1538
|
-
readonly Wav: "wav";
|
|
1539
|
-
readonly Mp3: "mp3";
|
|
1540
|
-
readonly Flac: "flac";
|
|
1541
|
-
readonly Opus: "opus";
|
|
1542
|
-
readonly Pcm16: "pcm16";
|
|
1543
|
-
};
|
|
1544
|
-
/**
|
|
1545
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
1546
|
-
*/
|
|
1547
|
-
export type CreateAgentRequestFormat = ClosedEnum<typeof CreateAgentRequestFormat>;
|
|
1548
|
-
/**
|
|
1549
|
-
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
1550
|
-
*/
|
|
1551
|
-
export type CreateAgentRequestAudio = {
|
|
1552
|
-
/**
|
|
1553
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
1554
|
-
*/
|
|
1555
|
-
voice: CreateAgentRequestVoice;
|
|
1556
|
-
/**
|
|
1557
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
1558
|
-
*/
|
|
1559
|
-
format: CreateAgentRequestFormat;
|
|
1503
|
+
guardrails?: Array<ResponseBodyGuardrails> | undefined;
|
|
1560
1504
|
};
|
|
1561
1505
|
export type CreateAgentRequestResponseFormatAgentsResponseJsonSchema = {
|
|
1562
1506
|
/**
|
|
@@ -1604,7 +1548,7 @@ export type CreateAgentRequestResponseFormatText = {
|
|
|
1604
1548
|
/**
|
|
1605
1549
|
* An object specifying the format that the model must output
|
|
1606
1550
|
*/
|
|
1607
|
-
export type
|
|
1551
|
+
export type ResponseBodyResponseFormat = CreateAgentRequestResponseFormatText | CreateAgentRequestResponseFormatJSONObject | CreateAgentRequestResponseFormatAgentsResponse201JSONSchema;
|
|
1608
1552
|
/**
|
|
1609
1553
|
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1610
1554
|
*
|
|
@@ -1617,7 +1561,7 @@ export type CreateAgentRequestResponseFormat = CreateAgentRequestResponseFormatT
|
|
|
1617
1561
|
*
|
|
1618
1562
|
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1619
1563
|
*/
|
|
1620
|
-
export declare const
|
|
1564
|
+
export declare const ResponseBodyReasoningEffort: {
|
|
1621
1565
|
readonly None: "none";
|
|
1622
1566
|
readonly Minimal: "minimal";
|
|
1623
1567
|
readonly Low: "low";
|
|
@@ -1637,21 +1581,12 @@ export declare const CreateAgentRequestReasoningEffort: {
|
|
|
1637
1581
|
*
|
|
1638
1582
|
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1639
1583
|
*/
|
|
1640
|
-
export type
|
|
1584
|
+
export type ResponseBodyReasoningEffort = ClosedEnum<typeof ResponseBodyReasoningEffort>;
|
|
1641
1585
|
/**
|
|
1642
1586
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
1643
1587
|
*/
|
|
1644
|
-
export type
|
|
1645
|
-
|
|
1646
|
-
* Options for streaming response. Only set this when you set stream: true.
|
|
1647
|
-
*/
|
|
1648
|
-
export type CreateAgentRequestStreamOptions = {
|
|
1649
|
-
/**
|
|
1650
|
-
* If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
|
|
1651
|
-
*/
|
|
1652
|
-
includeUsage?: boolean | undefined;
|
|
1653
|
-
};
|
|
1654
|
-
export type CreateAgentRequestThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
|
|
1588
|
+
export type ResponseBodyStop = string | Array<string>;
|
|
1589
|
+
export type ResponseBodyThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
|
|
1655
1590
|
/**
|
|
1656
1591
|
* The type of the tool. Currently, only function is supported.
|
|
1657
1592
|
*/
|
|
@@ -1684,12 +1619,12 @@ export type CreateAgentRequestToolChoiceAgents1 = ClosedEnum<typeof CreateAgentR
|
|
|
1684
1619
|
/**
|
|
1685
1620
|
* Controls which (if any) tool is called by the model.
|
|
1686
1621
|
*/
|
|
1687
|
-
export type
|
|
1688
|
-
export declare const
|
|
1622
|
+
export type ResponseBodyToolChoice = CreateAgentRequestToolChoiceAgents2 | CreateAgentRequestToolChoiceAgents1;
|
|
1623
|
+
export declare const ResponseBodyModalities: {
|
|
1689
1624
|
readonly Text: "text";
|
|
1690
1625
|
readonly Audio: "audio";
|
|
1691
1626
|
};
|
|
1692
|
-
export type
|
|
1627
|
+
export type ResponseBodyModalities = ClosedEnum<typeof ResponseBodyModalities>;
|
|
1693
1628
|
/**
|
|
1694
1629
|
* The key of the guardrail.
|
|
1695
1630
|
*/
|
|
@@ -1702,57 +1637,44 @@ export declare const CreateAgentRequestIdAgents1: {
|
|
|
1702
1637
|
* The key of the guardrail.
|
|
1703
1638
|
*/
|
|
1704
1639
|
export type CreateAgentRequestIdAgents1 = ClosedEnum<typeof CreateAgentRequestIdAgents1>;
|
|
1705
|
-
export type
|
|
1640
|
+
export type ResponseBodyId = CreateAgentRequestIdAgents1 | string;
|
|
1706
1641
|
/**
|
|
1707
1642
|
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
1708
1643
|
*/
|
|
1709
|
-
export declare const
|
|
1644
|
+
export declare const CreateAgentRequestResponseBodyAgentsExecuteOn: {
|
|
1710
1645
|
readonly Input: "input";
|
|
1711
1646
|
readonly Output: "output";
|
|
1712
1647
|
};
|
|
1713
1648
|
/**
|
|
1714
1649
|
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
1715
1650
|
*/
|
|
1716
|
-
export type
|
|
1717
|
-
export type
|
|
1651
|
+
export type CreateAgentRequestResponseBodyAgentsExecuteOn = ClosedEnum<typeof CreateAgentRequestResponseBodyAgentsExecuteOn>;
|
|
1652
|
+
export type CreateAgentRequestResponseBodyGuardrails = {
|
|
1718
1653
|
id: CreateAgentRequestIdAgents1 | string;
|
|
1719
1654
|
/**
|
|
1720
1655
|
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
1721
1656
|
*/
|
|
1722
|
-
executeOn:
|
|
1657
|
+
executeOn: CreateAgentRequestResponseBodyAgentsExecuteOn;
|
|
1723
1658
|
};
|
|
1724
|
-
export type
|
|
1659
|
+
export type ResponseBodyFallbacks = {
|
|
1725
1660
|
/**
|
|
1726
1661
|
* Fallback model identifier
|
|
1727
1662
|
*/
|
|
1728
1663
|
model: string;
|
|
1729
1664
|
};
|
|
1730
|
-
|
|
1731
|
-
* Retry configuration for the request
|
|
1732
|
-
*/
|
|
1733
|
-
export type CreateAgentRequestAgentsRetry = {
|
|
1734
|
-
/**
|
|
1735
|
-
* Number of retry attempts (1-5)
|
|
1736
|
-
*/
|
|
1737
|
-
count: number;
|
|
1738
|
-
/**
|
|
1739
|
-
* HTTP status codes that trigger retry logic
|
|
1740
|
-
*/
|
|
1741
|
-
onCodes?: Array<number> | undefined;
|
|
1742
|
-
};
|
|
1743
|
-
export declare const CreateAgentRequestType: {
|
|
1665
|
+
export declare const CreateAgentRequestResponseBodyAgentsResponseType: {
|
|
1744
1666
|
readonly ExactMatch: "exact_match";
|
|
1745
1667
|
};
|
|
1746
|
-
export type
|
|
1668
|
+
export type CreateAgentRequestResponseBodyAgentsResponseType = ClosedEnum<typeof CreateAgentRequestResponseBodyAgentsResponseType>;
|
|
1747
1669
|
/**
|
|
1748
1670
|
* Cache configuration for the request.
|
|
1749
1671
|
*/
|
|
1750
|
-
export type
|
|
1672
|
+
export type ResponseBodyCache = {
|
|
1751
1673
|
/**
|
|
1752
1674
|
* Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
|
|
1753
1675
|
*/
|
|
1754
1676
|
ttl: number;
|
|
1755
|
-
type:
|
|
1677
|
+
type: CreateAgentRequestResponseBodyAgentsResponseType;
|
|
1756
1678
|
};
|
|
1757
1679
|
export declare const CreateAgentRequestLoadBalancerAgentsType: {
|
|
1758
1680
|
readonly WeightBased: "weight_based";
|
|
@@ -1775,11 +1697,11 @@ export type CreateAgentRequestLoadBalancerAgents1 = {
|
|
|
1775
1697
|
/**
|
|
1776
1698
|
* Load balancer configuration for the request.
|
|
1777
1699
|
*/
|
|
1778
|
-
export type
|
|
1700
|
+
export type ResponseBodyLoadBalancer = CreateAgentRequestLoadBalancerAgents1;
|
|
1779
1701
|
/**
|
|
1780
1702
|
* 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.
|
|
1781
1703
|
*/
|
|
1782
|
-
export type
|
|
1704
|
+
export type ResponseBodyTimeout = {
|
|
1783
1705
|
/**
|
|
1784
1706
|
* Timeout value in milliseconds
|
|
1785
1707
|
*/
|
|
@@ -1788,15 +1710,11 @@ export type CreateAgentRequestTimeout = {
|
|
|
1788
1710
|
/**
|
|
1789
1711
|
* 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.
|
|
1790
1712
|
*/
|
|
1791
|
-
export type
|
|
1713
|
+
export type ResponseBodyParameters = {
|
|
1792
1714
|
/**
|
|
1793
1715
|
* The name to display on the trace. If not specified, the default system name will be used.
|
|
1794
1716
|
*/
|
|
1795
1717
|
name?: string | undefined;
|
|
1796
|
-
/**
|
|
1797
|
-
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
1798
|
-
*/
|
|
1799
|
-
audio?: CreateAgentRequestAudio | null | undefined;
|
|
1800
1718
|
/**
|
|
1801
1719
|
* Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
|
|
1802
1720
|
*/
|
|
@@ -1813,18 +1731,6 @@ export type CreateAgentRequestParameters = {
|
|
|
1813
1731
|
* An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
|
|
1814
1732
|
*/
|
|
1815
1733
|
maxCompletionTokens?: number | null | undefined;
|
|
1816
|
-
/**
|
|
1817
|
-
* Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
|
|
1818
|
-
*/
|
|
1819
|
-
logprobs?: boolean | null | undefined;
|
|
1820
|
-
/**
|
|
1821
|
-
* An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
|
|
1822
|
-
*/
|
|
1823
|
-
topLogprobs?: number | null | undefined;
|
|
1824
|
-
/**
|
|
1825
|
-
* How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
|
|
1826
|
-
*/
|
|
1827
|
-
n?: number | null | undefined;
|
|
1828
1734
|
/**
|
|
1829
1735
|
* Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
|
|
1830
1736
|
*/
|
|
@@ -1845,7 +1751,7 @@ export type CreateAgentRequestParameters = {
|
|
|
1845
1751
|
*
|
|
1846
1752
|
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1847
1753
|
*/
|
|
1848
|
-
reasoningEffort?:
|
|
1754
|
+
reasoningEffort?: ResponseBodyReasoningEffort | undefined;
|
|
1849
1755
|
/**
|
|
1850
1756
|
* Adjusts response verbosity. Lower levels yield shorter answers.
|
|
1851
1757
|
*/
|
|
@@ -1858,10 +1764,6 @@ export type CreateAgentRequestParameters = {
|
|
|
1858
1764
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
1859
1765
|
*/
|
|
1860
1766
|
stop?: string | Array<string> | null | undefined;
|
|
1861
|
-
/**
|
|
1862
|
-
* Options for streaming response. Only set this when you set stream: true.
|
|
1863
|
-
*/
|
|
1864
|
-
streamOptions?: CreateAgentRequestStreamOptions | null | undefined;
|
|
1865
1767
|
thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
|
|
1866
1768
|
/**
|
|
1867
1769
|
* What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
|
|
@@ -1886,23 +1788,19 @@ export type CreateAgentRequestParameters = {
|
|
|
1886
1788
|
/**
|
|
1887
1789
|
* Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
|
|
1888
1790
|
*/
|
|
1889
|
-
modalities?: Array<
|
|
1791
|
+
modalities?: Array<ResponseBodyModalities> | null | undefined;
|
|
1890
1792
|
/**
|
|
1891
1793
|
* A list of guardrails to apply to the request.
|
|
1892
1794
|
*/
|
|
1893
|
-
guardrails?: Array<
|
|
1795
|
+
guardrails?: Array<CreateAgentRequestResponseBodyGuardrails> | undefined;
|
|
1894
1796
|
/**
|
|
1895
1797
|
* Array of fallback models to use if primary model fails
|
|
1896
1798
|
*/
|
|
1897
|
-
fallbacks?: Array<
|
|
1898
|
-
/**
|
|
1899
|
-
* Retry configuration for the request
|
|
1900
|
-
*/
|
|
1901
|
-
retry?: CreateAgentRequestAgentsRetry | undefined;
|
|
1799
|
+
fallbacks?: Array<ResponseBodyFallbacks> | undefined;
|
|
1902
1800
|
/**
|
|
1903
1801
|
* Cache configuration for the request.
|
|
1904
1802
|
*/
|
|
1905
|
-
cache?:
|
|
1803
|
+
cache?: ResponseBodyCache | undefined;
|
|
1906
1804
|
/**
|
|
1907
1805
|
* Load balancer configuration for the request.
|
|
1908
1806
|
*/
|
|
@@ -1910,12 +1808,12 @@ export type CreateAgentRequestParameters = {
|
|
|
1910
1808
|
/**
|
|
1911
1809
|
* 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.
|
|
1912
1810
|
*/
|
|
1913
|
-
timeout?:
|
|
1811
|
+
timeout?: ResponseBodyTimeout | undefined;
|
|
1914
1812
|
};
|
|
1915
1813
|
/**
|
|
1916
1814
|
* Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
|
|
1917
1815
|
*/
|
|
1918
|
-
export type
|
|
1816
|
+
export type ResponseBodyRetry = {
|
|
1919
1817
|
/**
|
|
1920
1818
|
* Number of retry attempts (1-5)
|
|
1921
1819
|
*/
|
|
@@ -1925,48 +1823,6 @@ export type CreateAgentRequestRetry = {
|
|
|
1925
1823
|
*/
|
|
1926
1824
|
onCodes?: Array<number> | undefined;
|
|
1927
1825
|
};
|
|
1928
|
-
/**
|
|
1929
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
1930
|
-
*/
|
|
1931
|
-
export declare const CreateAgentRequestFallbackModelConfigurationVoice: {
|
|
1932
|
-
readonly Alloy: "alloy";
|
|
1933
|
-
readonly Echo: "echo";
|
|
1934
|
-
readonly Fable: "fable";
|
|
1935
|
-
readonly Onyx: "onyx";
|
|
1936
|
-
readonly Nova: "nova";
|
|
1937
|
-
readonly Shimmer: "shimmer";
|
|
1938
|
-
};
|
|
1939
|
-
/**
|
|
1940
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
1941
|
-
*/
|
|
1942
|
-
export type CreateAgentRequestFallbackModelConfigurationVoice = ClosedEnum<typeof CreateAgentRequestFallbackModelConfigurationVoice>;
|
|
1943
|
-
/**
|
|
1944
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
1945
|
-
*/
|
|
1946
|
-
export declare const CreateAgentRequestFallbackModelConfigurationFormat: {
|
|
1947
|
-
readonly Wav: "wav";
|
|
1948
|
-
readonly Mp3: "mp3";
|
|
1949
|
-
readonly Flac: "flac";
|
|
1950
|
-
readonly Opus: "opus";
|
|
1951
|
-
readonly Pcm16: "pcm16";
|
|
1952
|
-
};
|
|
1953
|
-
/**
|
|
1954
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
1955
|
-
*/
|
|
1956
|
-
export type CreateAgentRequestFallbackModelConfigurationFormat = ClosedEnum<typeof CreateAgentRequestFallbackModelConfigurationFormat>;
|
|
1957
|
-
/**
|
|
1958
|
-
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
1959
|
-
*/
|
|
1960
|
-
export type CreateAgentRequestFallbackModelConfigurationAudio = {
|
|
1961
|
-
/**
|
|
1962
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
1963
|
-
*/
|
|
1964
|
-
voice: CreateAgentRequestFallbackModelConfigurationVoice;
|
|
1965
|
-
/**
|
|
1966
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
1967
|
-
*/
|
|
1968
|
-
format: CreateAgentRequestFallbackModelConfigurationFormat;
|
|
1969
|
-
};
|
|
1970
1826
|
export type CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchema = {
|
|
1971
1827
|
/**
|
|
1972
1828
|
* A description of what the response format is for, used by the model to determine how to respond in the format.
|
|
@@ -2051,15 +1907,6 @@ export type CreateAgentRequestFallbackModelConfigurationReasoningEffort = Closed
|
|
|
2051
1907
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
2052
1908
|
*/
|
|
2053
1909
|
export type CreateAgentRequestFallbackModelConfigurationStop = string | Array<string>;
|
|
2054
|
-
/**
|
|
2055
|
-
* Options for streaming response. Only set this when you set stream: true.
|
|
2056
|
-
*/
|
|
2057
|
-
export type CreateAgentRequestFallbackModelConfigurationStreamOptions = {
|
|
2058
|
-
/**
|
|
2059
|
-
* If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
|
|
2060
|
-
*/
|
|
2061
|
-
includeUsage?: boolean | undefined;
|
|
2062
|
-
};
|
|
2063
1910
|
export type CreateAgentRequestFallbackModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
|
|
2064
1911
|
/**
|
|
2065
1912
|
* The type of the tool. Currently, only function is supported.
|
|
@@ -2136,19 +1983,6 @@ export type CreateAgentRequestFallbackModelConfigurationFallbacks = {
|
|
|
2136
1983
|
*/
|
|
2137
1984
|
model: string;
|
|
2138
1985
|
};
|
|
2139
|
-
/**
|
|
2140
|
-
* Retry configuration for the request
|
|
2141
|
-
*/
|
|
2142
|
-
export type CreateAgentRequestFallbackModelConfigurationAgentsResponseRetry = {
|
|
2143
|
-
/**
|
|
2144
|
-
* Number of retry attempts (1-5)
|
|
2145
|
-
*/
|
|
2146
|
-
count: number;
|
|
2147
|
-
/**
|
|
2148
|
-
* HTTP status codes that trigger retry logic
|
|
2149
|
-
*/
|
|
2150
|
-
onCodes?: Array<number> | undefined;
|
|
2151
|
-
};
|
|
2152
1986
|
export declare const CreateAgentRequestFallbackModelConfigurationType: {
|
|
2153
1987
|
readonly ExactMatch: "exact_match";
|
|
2154
1988
|
};
|
|
@@ -2202,10 +2036,6 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
|
|
|
2202
2036
|
* The name to display on the trace. If not specified, the default system name will be used.
|
|
2203
2037
|
*/
|
|
2204
2038
|
name?: string | undefined;
|
|
2205
|
-
/**
|
|
2206
|
-
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
2207
|
-
*/
|
|
2208
|
-
audio?: CreateAgentRequestFallbackModelConfigurationAudio | null | undefined;
|
|
2209
2039
|
/**
|
|
2210
2040
|
* Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
|
|
2211
2041
|
*/
|
|
@@ -2222,18 +2052,6 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
|
|
|
2222
2052
|
* An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
|
|
2223
2053
|
*/
|
|
2224
2054
|
maxCompletionTokens?: number | null | undefined;
|
|
2225
|
-
/**
|
|
2226
|
-
* Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
|
|
2227
|
-
*/
|
|
2228
|
-
logprobs?: boolean | null | undefined;
|
|
2229
|
-
/**
|
|
2230
|
-
* An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
|
|
2231
|
-
*/
|
|
2232
|
-
topLogprobs?: number | null | undefined;
|
|
2233
|
-
/**
|
|
2234
|
-
* How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
|
|
2235
|
-
*/
|
|
2236
|
-
n?: number | null | undefined;
|
|
2237
2055
|
/**
|
|
2238
2056
|
* Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
|
|
2239
2057
|
*/
|
|
@@ -2267,10 +2085,6 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
|
|
|
2267
2085
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
2268
2086
|
*/
|
|
2269
2087
|
stop?: string | Array<string> | null | undefined;
|
|
2270
|
-
/**
|
|
2271
|
-
* Options for streaming response. Only set this when you set stream: true.
|
|
2272
|
-
*/
|
|
2273
|
-
streamOptions?: CreateAgentRequestFallbackModelConfigurationStreamOptions | null | undefined;
|
|
2274
2088
|
thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
|
|
2275
2089
|
/**
|
|
2276
2090
|
* What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
|
|
@@ -2304,10 +2118,6 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
|
|
|
2304
2118
|
* Array of fallback models to use if primary model fails
|
|
2305
2119
|
*/
|
|
2306
2120
|
fallbacks?: Array<CreateAgentRequestFallbackModelConfigurationFallbacks> | undefined;
|
|
2307
|
-
/**
|
|
2308
|
-
* Retry configuration for the request
|
|
2309
|
-
*/
|
|
2310
|
-
retry?: CreateAgentRequestFallbackModelConfigurationAgentsResponseRetry | undefined;
|
|
2311
2121
|
/**
|
|
2312
2122
|
* Cache configuration for the request.
|
|
2313
2123
|
*/
|
|
@@ -2324,7 +2134,7 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
|
|
|
2324
2134
|
/**
|
|
2325
2135
|
* Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
|
|
2326
2136
|
*/
|
|
2327
|
-
export type
|
|
2137
|
+
export type CreateAgentRequestFallbackModelConfigurationRetry = {
|
|
2328
2138
|
/**
|
|
2329
2139
|
* Number of retry attempts (1-5)
|
|
2330
2140
|
*/
|
|
@@ -2349,12 +2159,12 @@ export type CreateAgentRequestFallbackModelConfiguration2 = {
|
|
|
2349
2159
|
/**
|
|
2350
2160
|
* Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
|
|
2351
2161
|
*/
|
|
2352
|
-
retry?:
|
|
2162
|
+
retry?: CreateAgentRequestFallbackModelConfigurationRetry | undefined;
|
|
2353
2163
|
};
|
|
2354
2164
|
/**
|
|
2355
2165
|
* Fallback model for automatic failover when primary model request fails. Supports optional parameter overrides. Can be a simple model ID string or a configuration object with model-specific parameters. Fallbacks are tried in order.
|
|
2356
2166
|
*/
|
|
2357
|
-
export type
|
|
2167
|
+
export type ResponseBodyFallbackModelConfiguration = CreateAgentRequestFallbackModelConfiguration2 | string;
|
|
2358
2168
|
export type Model = {
|
|
2359
2169
|
/**
|
|
2360
2170
|
* The database ID of the primary model
|
|
@@ -2367,45 +2177,17 @@ export type Model = {
|
|
|
2367
2177
|
/**
|
|
2368
2178
|
* 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.
|
|
2369
2179
|
*/
|
|
2370
|
-
parameters?:
|
|
2180
|
+
parameters?: ResponseBodyParameters | undefined;
|
|
2371
2181
|
/**
|
|
2372
2182
|
* Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
|
|
2373
2183
|
*/
|
|
2374
|
-
retry?:
|
|
2184
|
+
retry?: ResponseBodyRetry | undefined;
|
|
2375
2185
|
/**
|
|
2376
2186
|
* Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
|
|
2377
2187
|
*/
|
|
2378
2188
|
fallbackModels?: Array<CreateAgentRequestFallbackModelConfiguration2 | string> | null | undefined;
|
|
2379
2189
|
};
|
|
2380
|
-
export type
|
|
2381
|
-
/**
|
|
2382
|
-
* The unique key of the agent within the workspace
|
|
2383
|
-
*/
|
|
2384
|
-
key: string;
|
|
2385
|
-
/**
|
|
2386
|
-
* The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
|
|
2387
|
-
*/
|
|
2388
|
-
role?: string | undefined;
|
|
2389
|
-
};
|
|
2390
|
-
export type Metrics = {
|
|
2391
|
-
totalCost: number;
|
|
2392
|
-
};
|
|
2393
|
-
export type CreateAgentRequestKnowledgeBases = {
|
|
2394
|
-
/**
|
|
2395
|
-
* Unique identifier of the knowledge base to search
|
|
2396
|
-
*/
|
|
2397
|
-
knowledgeId: string;
|
|
2398
|
-
};
|
|
2399
|
-
export declare const CreateAgentRequestSource: {
|
|
2400
|
-
readonly Internal: "internal";
|
|
2401
|
-
readonly External: "external";
|
|
2402
|
-
readonly Experiment: "experiment";
|
|
2403
|
-
};
|
|
2404
|
-
export type CreateAgentRequestSource = ClosedEnum<typeof CreateAgentRequestSource>;
|
|
2405
|
-
/**
|
|
2406
|
-
* Agent successfully created and ready for use. Returns the complete agent manifest including the generated ID, configuration, and all settings.
|
|
2407
|
-
*/
|
|
2408
|
-
export type CreateAgentRequestResponseBody = {
|
|
2190
|
+
export type ResponseBody1 = {
|
|
2409
2191
|
id: string;
|
|
2410
2192
|
/**
|
|
2411
2193
|
* Unique identifier for the agent within the workspace
|
|
@@ -2417,16 +2199,10 @@ export type CreateAgentRequestResponseBody = {
|
|
|
2417
2199
|
updatedById?: string | null | undefined;
|
|
2418
2200
|
created?: string | undefined;
|
|
2419
2201
|
updated?: string | undefined;
|
|
2420
|
-
role: string;
|
|
2421
|
-
description: string;
|
|
2422
|
-
systemPrompt?: string | undefined;
|
|
2423
|
-
instructions: string;
|
|
2424
2202
|
/**
|
|
2425
2203
|
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
2426
2204
|
*/
|
|
2427
|
-
status:
|
|
2428
|
-
settings?: CreateAgentRequestSettings | undefined;
|
|
2429
|
-
model: Model;
|
|
2205
|
+
status: CreateAgentRequestResponseBodyStatus;
|
|
2430
2206
|
versionHash?: string | undefined;
|
|
2431
2207
|
/**
|
|
2432
2208
|
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
@@ -2441,12 +2217,12 @@ export type CreateAgentRequestResponseBody = {
|
|
|
2441
2217
|
/**
|
|
2442
2218
|
* Array of memory store identifiers. Accepts both memory store IDs and keys.
|
|
2443
2219
|
*/
|
|
2444
|
-
memoryStores
|
|
2220
|
+
memoryStores?: Array<string> | undefined;
|
|
2445
2221
|
/**
|
|
2446
2222
|
* The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
|
|
2447
2223
|
*/
|
|
2448
|
-
teamOfAgents
|
|
2449
|
-
metrics?:
|
|
2224
|
+
teamOfAgents?: Array<ResponseBodyTeamOfAgents> | undefined;
|
|
2225
|
+
metrics?: ResponseBodyMetrics | undefined;
|
|
2450
2226
|
/**
|
|
2451
2227
|
* Extracted variables from agent instructions
|
|
2452
2228
|
*/
|
|
@@ -2456,21 +2232,23 @@ export type CreateAgentRequestResponseBody = {
|
|
|
2456
2232
|
/**
|
|
2457
2233
|
* Agent knowledge bases reference
|
|
2458
2234
|
*/
|
|
2459
|
-
knowledgeBases?: Array<
|
|
2460
|
-
source?:
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2235
|
+
knowledgeBases?: Array<ResponseBodyKnowledgeBases> | undefined;
|
|
2236
|
+
source?: ResponseBodySource | undefined;
|
|
2237
|
+
/**
|
|
2238
|
+
* Orquesta-managed agent
|
|
2239
|
+
*/
|
|
2240
|
+
type: "internal";
|
|
2241
|
+
role: string;
|
|
2242
|
+
description: string;
|
|
2243
|
+
systemPrompt?: string | undefined;
|
|
2244
|
+
instructions: string;
|
|
2245
|
+
settings?: ResponseBodySettings | undefined;
|
|
2246
|
+
model: Model;
|
|
2470
2247
|
};
|
|
2471
|
-
/**
|
|
2472
|
-
|
|
2473
|
-
|
|
2248
|
+
/**
|
|
2249
|
+
* Agent successfully created and ready for use. Returns the complete agent manifest including the generated ID, configuration, and all settings.
|
|
2250
|
+
*/
|
|
2251
|
+
export type CreateAgentRequestResponseBody = ResponseBody1 | ResponseBody2;
|
|
2474
2252
|
/** @internal */
|
|
2475
2253
|
export type ResponseFormatJsonSchema$Outbound = {
|
|
2476
2254
|
description?: string | undefined;
|
|
@@ -2516,13 +2294,6 @@ export type Stop$Outbound = string | Array<string>;
|
|
|
2516
2294
|
export declare const Stop$outboundSchema: z.ZodType<Stop$Outbound, z.ZodTypeDef, Stop>;
|
|
2517
2295
|
export declare function stopToJSON(stop: Stop): string;
|
|
2518
2296
|
/** @internal */
|
|
2519
|
-
export type StreamOptions$Outbound = {
|
|
2520
|
-
include_usage?: boolean | undefined;
|
|
2521
|
-
};
|
|
2522
|
-
/** @internal */
|
|
2523
|
-
export declare const StreamOptions$outboundSchema: z.ZodType<StreamOptions$Outbound, z.ZodTypeDef, StreamOptions>;
|
|
2524
|
-
export declare function streamOptionsToJSON(streamOptions: StreamOptions): string;
|
|
2525
|
-
/** @internal */
|
|
2526
2297
|
export type Thinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
|
|
2527
2298
|
/** @internal */
|
|
2528
2299
|
export declare const Thinking$outboundSchema: z.ZodType<Thinking$Outbound, z.ZodTypeDef, Thinking>;
|
|
@@ -2578,14 +2349,6 @@ export type Fallbacks$Outbound = {
|
|
|
2578
2349
|
export declare const Fallbacks$outboundSchema: z.ZodType<Fallbacks$Outbound, z.ZodTypeDef, Fallbacks>;
|
|
2579
2350
|
export declare function fallbacksToJSON(fallbacks: Fallbacks): string;
|
|
2580
2351
|
/** @internal */
|
|
2581
|
-
export type Retry$Outbound = {
|
|
2582
|
-
count: number;
|
|
2583
|
-
on_codes?: Array<number> | undefined;
|
|
2584
|
-
};
|
|
2585
|
-
/** @internal */
|
|
2586
|
-
export declare const Retry$outboundSchema: z.ZodType<Retry$Outbound, z.ZodTypeDef, Retry>;
|
|
2587
|
-
export declare function retryToJSON(retry: Retry): string;
|
|
2588
|
-
/** @internal */
|
|
2589
2352
|
export declare const ModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof ModelConfigurationType>;
|
|
2590
2353
|
/** @internal */
|
|
2591
2354
|
export type Cache$Outbound = {
|
|
@@ -2628,20 +2391,15 @@ export declare function timeoutToJSON(timeout: Timeout): string;
|
|
|
2628
2391
|
/** @internal */
|
|
2629
2392
|
export type ParametersT$Outbound = {
|
|
2630
2393
|
name?: string | undefined;
|
|
2631
|
-
audio?: ModelConfigurationAudio$Outbound | null | undefined;
|
|
2632
2394
|
frequency_penalty?: number | null | undefined;
|
|
2633
2395
|
max_tokens?: number | null | undefined;
|
|
2634
2396
|
max_completion_tokens?: number | null | undefined;
|
|
2635
|
-
logprobs?: boolean | null | undefined;
|
|
2636
|
-
top_logprobs?: number | null | undefined;
|
|
2637
|
-
n?: number | null | undefined;
|
|
2638
2397
|
presence_penalty?: number | null | undefined;
|
|
2639
2398
|
response_format?: Text$Outbound | JSONObject$Outbound | JSONSchema$Outbound | undefined;
|
|
2640
2399
|
reasoning_effort?: string | undefined;
|
|
2641
2400
|
verbosity?: string | undefined;
|
|
2642
2401
|
seed?: number | null | undefined;
|
|
2643
2402
|
stop?: string | Array<string> | null | undefined;
|
|
2644
|
-
stream_options?: StreamOptions$Outbound | null | undefined;
|
|
2645
2403
|
thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
|
|
2646
2404
|
temperature?: number | null | undefined;
|
|
2647
2405
|
top_p?: number | null | undefined;
|
|
@@ -2651,7 +2409,6 @@ export type ParametersT$Outbound = {
|
|
|
2651
2409
|
modalities?: Array<string> | null | undefined;
|
|
2652
2410
|
guardrails?: Array<Guardrails$Outbound> | undefined;
|
|
2653
2411
|
fallbacks?: Array<Fallbacks$Outbound> | undefined;
|
|
2654
|
-
retry?: Retry$Outbound | undefined;
|
|
2655
2412
|
cache?: Cache$Outbound | undefined;
|
|
2656
2413
|
load_balancer?: LoadBalancer1$Outbound | undefined;
|
|
2657
2414
|
timeout?: Timeout$Outbound | undefined;
|
|
@@ -2660,18 +2417,18 @@ export type ParametersT$Outbound = {
|
|
|
2660
2417
|
export declare const ParametersT$outboundSchema: z.ZodType<ParametersT$Outbound, z.ZodTypeDef, ParametersT>;
|
|
2661
2418
|
export declare function parametersToJSON(parametersT: ParametersT): string;
|
|
2662
2419
|
/** @internal */
|
|
2663
|
-
export type
|
|
2420
|
+
export type Retry$Outbound = {
|
|
2664
2421
|
count: number;
|
|
2665
2422
|
on_codes?: Array<number> | undefined;
|
|
2666
2423
|
};
|
|
2667
2424
|
/** @internal */
|
|
2668
|
-
export declare const
|
|
2669
|
-
export declare function
|
|
2425
|
+
export declare const Retry$outboundSchema: z.ZodType<Retry$Outbound, z.ZodTypeDef, Retry>;
|
|
2426
|
+
export declare function retryToJSON(retry: Retry): string;
|
|
2670
2427
|
/** @internal */
|
|
2671
2428
|
export type ModelConfiguration2$Outbound = {
|
|
2672
2429
|
id: string;
|
|
2673
2430
|
parameters?: ParametersT$Outbound | undefined;
|
|
2674
|
-
retry?:
|
|
2431
|
+
retry?: Retry$Outbound | undefined;
|
|
2675
2432
|
};
|
|
2676
2433
|
/** @internal */
|
|
2677
2434
|
export declare const ModelConfiguration2$outboundSchema: z.ZodType<ModelConfiguration2$Outbound, z.ZodTypeDef, ModelConfiguration2>;
|
|
@@ -2682,18 +2439,6 @@ export type ModelConfiguration$Outbound = ModelConfiguration2$Outbound | string;
|
|
|
2682
2439
|
export declare const ModelConfiguration$outboundSchema: z.ZodType<ModelConfiguration$Outbound, z.ZodTypeDef, ModelConfiguration>;
|
|
2683
2440
|
export declare function modelConfigurationToJSON(modelConfiguration: ModelConfiguration): string;
|
|
2684
2441
|
/** @internal */
|
|
2685
|
-
export declare const FallbackModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof FallbackModelConfigurationVoice>;
|
|
2686
|
-
/** @internal */
|
|
2687
|
-
export declare const FallbackModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof FallbackModelConfigurationFormat>;
|
|
2688
|
-
/** @internal */
|
|
2689
|
-
export type FallbackModelConfigurationAudio$Outbound = {
|
|
2690
|
-
voice: string;
|
|
2691
|
-
format: string;
|
|
2692
|
-
};
|
|
2693
|
-
/** @internal */
|
|
2694
|
-
export declare const FallbackModelConfigurationAudio$outboundSchema: z.ZodType<FallbackModelConfigurationAudio$Outbound, z.ZodTypeDef, FallbackModelConfigurationAudio>;
|
|
2695
|
-
export declare function fallbackModelConfigurationAudioToJSON(fallbackModelConfigurationAudio: FallbackModelConfigurationAudio): string;
|
|
2696
|
-
/** @internal */
|
|
2697
2442
|
export type CreateAgentRequestResponseFormatAgentsJsonSchema$Outbound = {
|
|
2698
2443
|
description?: string | undefined;
|
|
2699
2444
|
name: string;
|
|
@@ -2738,13 +2483,6 @@ export type FallbackModelConfigurationStop$Outbound = string | Array<string>;
|
|
|
2738
2483
|
export declare const FallbackModelConfigurationStop$outboundSchema: z.ZodType<FallbackModelConfigurationStop$Outbound, z.ZodTypeDef, FallbackModelConfigurationStop>;
|
|
2739
2484
|
export declare function fallbackModelConfigurationStopToJSON(fallbackModelConfigurationStop: FallbackModelConfigurationStop): string;
|
|
2740
2485
|
/** @internal */
|
|
2741
|
-
export type FallbackModelConfigurationStreamOptions$Outbound = {
|
|
2742
|
-
include_usage?: boolean | undefined;
|
|
2743
|
-
};
|
|
2744
|
-
/** @internal */
|
|
2745
|
-
export declare const FallbackModelConfigurationStreamOptions$outboundSchema: z.ZodType<FallbackModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, FallbackModelConfigurationStreamOptions>;
|
|
2746
|
-
export declare function fallbackModelConfigurationStreamOptionsToJSON(fallbackModelConfigurationStreamOptions: FallbackModelConfigurationStreamOptions): string;
|
|
2747
|
-
/** @internal */
|
|
2748
2486
|
export type FallbackModelConfigurationThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
|
|
2749
2487
|
/** @internal */
|
|
2750
2488
|
export declare const FallbackModelConfigurationThinking$outboundSchema: z.ZodType<FallbackModelConfigurationThinking$Outbound, z.ZodTypeDef, FallbackModelConfigurationThinking>;
|
|
@@ -2800,14 +2538,6 @@ export type FallbackModelConfigurationFallbacks$Outbound = {
|
|
|
2800
2538
|
export declare const FallbackModelConfigurationFallbacks$outboundSchema: z.ZodType<FallbackModelConfigurationFallbacks$Outbound, z.ZodTypeDef, FallbackModelConfigurationFallbacks>;
|
|
2801
2539
|
export declare function fallbackModelConfigurationFallbacksToJSON(fallbackModelConfigurationFallbacks: FallbackModelConfigurationFallbacks): string;
|
|
2802
2540
|
/** @internal */
|
|
2803
|
-
export type FallbackModelConfigurationRetry$Outbound = {
|
|
2804
|
-
count: number;
|
|
2805
|
-
on_codes?: Array<number> | undefined;
|
|
2806
|
-
};
|
|
2807
|
-
/** @internal */
|
|
2808
|
-
export declare const FallbackModelConfigurationRetry$outboundSchema: z.ZodType<FallbackModelConfigurationRetry$Outbound, z.ZodTypeDef, FallbackModelConfigurationRetry>;
|
|
2809
|
-
export declare function fallbackModelConfigurationRetryToJSON(fallbackModelConfigurationRetry: FallbackModelConfigurationRetry): string;
|
|
2810
|
-
/** @internal */
|
|
2811
2541
|
export declare const FallbackModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof FallbackModelConfigurationType>;
|
|
2812
2542
|
/** @internal */
|
|
2813
2543
|
export type FallbackModelConfigurationCache$Outbound = {
|
|
@@ -2850,20 +2580,15 @@ export declare function fallbackModelConfigurationTimeoutToJSON(fallbackModelCon
|
|
|
2850
2580
|
/** @internal */
|
|
2851
2581
|
export type FallbackModelConfigurationParameters$Outbound = {
|
|
2852
2582
|
name?: string | undefined;
|
|
2853
|
-
audio?: FallbackModelConfigurationAudio$Outbound | null | undefined;
|
|
2854
2583
|
frequency_penalty?: number | null | undefined;
|
|
2855
2584
|
max_tokens?: number | null | undefined;
|
|
2856
2585
|
max_completion_tokens?: number | null | undefined;
|
|
2857
|
-
logprobs?: boolean | null | undefined;
|
|
2858
|
-
top_logprobs?: number | null | undefined;
|
|
2859
|
-
n?: number | null | undefined;
|
|
2860
2586
|
presence_penalty?: number | null | undefined;
|
|
2861
2587
|
response_format?: ResponseFormatText$Outbound | ResponseFormatJSONObject$Outbound | CreateAgentRequestResponseFormatJSONSchema$Outbound | undefined;
|
|
2862
2588
|
reasoning_effort?: string | undefined;
|
|
2863
2589
|
verbosity?: string | undefined;
|
|
2864
2590
|
seed?: number | null | undefined;
|
|
2865
2591
|
stop?: string | Array<string> | null | undefined;
|
|
2866
|
-
stream_options?: FallbackModelConfigurationStreamOptions$Outbound | null | undefined;
|
|
2867
2592
|
thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
|
|
2868
2593
|
temperature?: number | null | undefined;
|
|
2869
2594
|
top_p?: number | null | undefined;
|
|
@@ -2873,7 +2598,6 @@ export type FallbackModelConfigurationParameters$Outbound = {
|
|
|
2873
2598
|
modalities?: Array<string> | null | undefined;
|
|
2874
2599
|
guardrails?: Array<FallbackModelConfigurationGuardrails$Outbound> | undefined;
|
|
2875
2600
|
fallbacks?: Array<FallbackModelConfigurationFallbacks$Outbound> | undefined;
|
|
2876
|
-
retry?: FallbackModelConfigurationRetry$Outbound | undefined;
|
|
2877
2601
|
cache?: FallbackModelConfigurationCache$Outbound | undefined;
|
|
2878
2602
|
load_balancer?: CreateAgentRequestLoadBalancer1$Outbound | undefined;
|
|
2879
2603
|
timeout?: FallbackModelConfigurationTimeout$Outbound | undefined;
|
|
@@ -2882,18 +2606,18 @@ export type FallbackModelConfigurationParameters$Outbound = {
|
|
|
2882
2606
|
export declare const FallbackModelConfigurationParameters$outboundSchema: z.ZodType<FallbackModelConfigurationParameters$Outbound, z.ZodTypeDef, FallbackModelConfigurationParameters>;
|
|
2883
2607
|
export declare function fallbackModelConfigurationParametersToJSON(fallbackModelConfigurationParameters: FallbackModelConfigurationParameters): string;
|
|
2884
2608
|
/** @internal */
|
|
2885
|
-
export type
|
|
2609
|
+
export type FallbackModelConfigurationRetry$Outbound = {
|
|
2886
2610
|
count: number;
|
|
2887
2611
|
on_codes?: Array<number> | undefined;
|
|
2888
2612
|
};
|
|
2889
2613
|
/** @internal */
|
|
2890
|
-
export declare const
|
|
2891
|
-
export declare function
|
|
2614
|
+
export declare const FallbackModelConfigurationRetry$outboundSchema: z.ZodType<FallbackModelConfigurationRetry$Outbound, z.ZodTypeDef, FallbackModelConfigurationRetry>;
|
|
2615
|
+
export declare function fallbackModelConfigurationRetryToJSON(fallbackModelConfigurationRetry: FallbackModelConfigurationRetry): string;
|
|
2892
2616
|
/** @internal */
|
|
2893
2617
|
export type FallbackModelConfiguration2$Outbound = {
|
|
2894
2618
|
id: string;
|
|
2895
2619
|
parameters?: FallbackModelConfigurationParameters$Outbound | undefined;
|
|
2896
|
-
retry?:
|
|
2620
|
+
retry?: FallbackModelConfigurationRetry$Outbound | undefined;
|
|
2897
2621
|
};
|
|
2898
2622
|
/** @internal */
|
|
2899
2623
|
export declare const FallbackModelConfiguration2$outboundSchema: z.ZodType<FallbackModelConfiguration2$Outbound, z.ZodTypeDef, FallbackModelConfiguration2>;
|
|
@@ -3165,35 +2889,61 @@ export type CreateAgentRequestRequestBody$Outbound = {
|
|
|
3165
2889
|
export declare const CreateAgentRequestRequestBody$outboundSchema: z.ZodType<CreateAgentRequestRequestBody$Outbound, z.ZodTypeDef, CreateAgentRequestRequestBody>;
|
|
3166
2890
|
export declare function createAgentRequestRequestBodyToJSON(createAgentRequestRequestBody: CreateAgentRequestRequestBody): string;
|
|
3167
2891
|
/** @internal */
|
|
3168
|
-
export declare const
|
|
2892
|
+
export declare const ResponseBodyStatus$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyStatus>;
|
|
3169
2893
|
/** @internal */
|
|
3170
|
-
export declare const
|
|
2894
|
+
export declare const CreateAgentRequestResponseBodyTeamOfAgents$inboundSchema: z.ZodType<CreateAgentRequestResponseBodyTeamOfAgents, z.ZodTypeDef, unknown>;
|
|
2895
|
+
export declare function createAgentRequestResponseBodyTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseBodyTeamOfAgents, SDKValidationError>;
|
|
3171
2896
|
/** @internal */
|
|
3172
|
-
export declare const
|
|
3173
|
-
export declare function
|
|
2897
|
+
export declare const CreateAgentRequestResponseBodyMetrics$inboundSchema: z.ZodType<CreateAgentRequestResponseBodyMetrics, z.ZodTypeDef, unknown>;
|
|
2898
|
+
export declare function createAgentRequestResponseBodyMetricsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseBodyMetrics, SDKValidationError>;
|
|
2899
|
+
/** @internal */
|
|
2900
|
+
export declare const CreateAgentRequestResponseBodyKnowledgeBases$inboundSchema: z.ZodType<CreateAgentRequestResponseBodyKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
2901
|
+
export declare function createAgentRequestResponseBodyKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseBodyKnowledgeBases, SDKValidationError>;
|
|
2902
|
+
/** @internal */
|
|
2903
|
+
export declare const CreateAgentRequestResponseBodySource$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestResponseBodySource>;
|
|
2904
|
+
/** @internal */
|
|
2905
|
+
export declare const ResponseBodyHeaders$inboundSchema: z.ZodType<ResponseBodyHeaders, z.ZodTypeDef, unknown>;
|
|
2906
|
+
export declare function responseBodyHeadersFromJSON(jsonString: string): SafeParseResult<ResponseBodyHeaders, SDKValidationError>;
|
|
2907
|
+
/** @internal */
|
|
2908
|
+
export declare const A2AAgentConfiguration$inboundSchema: z.ZodType<A2AAgentConfiguration, z.ZodTypeDef, unknown>;
|
|
2909
|
+
export declare function a2AAgentConfigurationFromJSON(jsonString: string): SafeParseResult<A2AAgentConfiguration, SDKValidationError>;
|
|
2910
|
+
/** @internal */
|
|
2911
|
+
export declare const ResponseBody2$inboundSchema: z.ZodType<ResponseBody2, z.ZodTypeDef, unknown>;
|
|
2912
|
+
export declare function responseBody2FromJSON(jsonString: string): SafeParseResult<ResponseBody2, SDKValidationError>;
|
|
2913
|
+
/** @internal */
|
|
2914
|
+
export declare const CreateAgentRequestResponseBodyStatus$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestResponseBodyStatus>;
|
|
2915
|
+
/** @internal */
|
|
2916
|
+
export declare const ResponseBodyTeamOfAgents$inboundSchema: z.ZodType<ResponseBodyTeamOfAgents, z.ZodTypeDef, unknown>;
|
|
2917
|
+
export declare function responseBodyTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<ResponseBodyTeamOfAgents, SDKValidationError>;
|
|
2918
|
+
/** @internal */
|
|
2919
|
+
export declare const ResponseBodyMetrics$inboundSchema: z.ZodType<ResponseBodyMetrics, z.ZodTypeDef, unknown>;
|
|
2920
|
+
export declare function responseBodyMetricsFromJSON(jsonString: string): SafeParseResult<ResponseBodyMetrics, SDKValidationError>;
|
|
3174
2921
|
/** @internal */
|
|
3175
|
-
export declare const
|
|
3176
|
-
export declare function
|
|
2922
|
+
export declare const ResponseBodyKnowledgeBases$inboundSchema: z.ZodType<ResponseBodyKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
2923
|
+
export declare function responseBodyKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<ResponseBodyKnowledgeBases, SDKValidationError>;
|
|
3177
2924
|
/** @internal */
|
|
3178
|
-
export declare const
|
|
2925
|
+
export declare const ResponseBodySource$inboundSchema: z.ZodNativeEnum<typeof ResponseBodySource>;
|
|
3179
2926
|
/** @internal */
|
|
3180
|
-
export declare const
|
|
3181
|
-
export declare function createAgentRequestEvaluatorsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestEvaluators, SDKValidationError>;
|
|
2927
|
+
export declare const ResponseBodyToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyToolApprovalRequired>;
|
|
3182
2928
|
/** @internal */
|
|
3183
|
-
export declare const
|
|
2929
|
+
export declare const Conditions$inboundSchema: z.ZodType<Conditions, z.ZodTypeDef, unknown>;
|
|
2930
|
+
export declare function conditionsFromJSON(jsonString: string): SafeParseResult<Conditions, SDKValidationError>;
|
|
3184
2931
|
/** @internal */
|
|
3185
|
-
export declare const
|
|
3186
|
-
export declare function
|
|
2932
|
+
export declare const ResponseBodyTools$inboundSchema: z.ZodType<ResponseBodyTools, z.ZodTypeDef, unknown>;
|
|
2933
|
+
export declare function responseBodyToolsFromJSON(jsonString: string): SafeParseResult<ResponseBodyTools, SDKValidationError>;
|
|
3187
2934
|
/** @internal */
|
|
3188
|
-
export declare const
|
|
3189
|
-
export declare function createAgentRequestSettingsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestSettings, SDKValidationError>;
|
|
2935
|
+
export declare const ResponseBodyExecuteOn$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyExecuteOn>;
|
|
3190
2936
|
/** @internal */
|
|
3191
|
-
export declare const
|
|
2937
|
+
export declare const ResponseBodyEvaluators$inboundSchema: z.ZodType<ResponseBodyEvaluators, z.ZodTypeDef, unknown>;
|
|
2938
|
+
export declare function responseBodyEvaluatorsFromJSON(jsonString: string): SafeParseResult<ResponseBodyEvaluators, SDKValidationError>;
|
|
3192
2939
|
/** @internal */
|
|
3193
|
-
export declare const
|
|
2940
|
+
export declare const CreateAgentRequestResponseBodyExecuteOn$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestResponseBodyExecuteOn>;
|
|
3194
2941
|
/** @internal */
|
|
3195
|
-
export declare const
|
|
3196
|
-
export declare function
|
|
2942
|
+
export declare const ResponseBodyGuardrails$inboundSchema: z.ZodType<ResponseBodyGuardrails, z.ZodTypeDef, unknown>;
|
|
2943
|
+
export declare function responseBodyGuardrailsFromJSON(jsonString: string): SafeParseResult<ResponseBodyGuardrails, SDKValidationError>;
|
|
2944
|
+
/** @internal */
|
|
2945
|
+
export declare const ResponseBodySettings$inboundSchema: z.ZodType<ResponseBodySettings, z.ZodTypeDef, unknown>;
|
|
2946
|
+
export declare function responseBodySettingsFromJSON(jsonString: string): SafeParseResult<ResponseBodySettings, SDKValidationError>;
|
|
3197
2947
|
/** @internal */
|
|
3198
2948
|
export declare const CreateAgentRequestResponseFormatAgentsResponseJsonSchema$inboundSchema: z.ZodType<CreateAgentRequestResponseFormatAgentsResponseJsonSchema, z.ZodTypeDef, unknown>;
|
|
3199
2949
|
export declare function createAgentRequestResponseFormatAgentsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseFormatAgentsResponseJsonSchema, SDKValidationError>;
|
|
@@ -3207,19 +2957,16 @@ export declare function createAgentRequestResponseFormatJSONObjectFromJSON(jsonS
|
|
|
3207
2957
|
export declare const CreateAgentRequestResponseFormatText$inboundSchema: z.ZodType<CreateAgentRequestResponseFormatText, z.ZodTypeDef, unknown>;
|
|
3208
2958
|
export declare function createAgentRequestResponseFormatTextFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseFormatText, SDKValidationError>;
|
|
3209
2959
|
/** @internal */
|
|
3210
|
-
export declare const
|
|
3211
|
-
export declare function
|
|
3212
|
-
/** @internal */
|
|
3213
|
-
export declare const CreateAgentRequestReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestReasoningEffort>;
|
|
2960
|
+
export declare const ResponseBodyResponseFormat$inboundSchema: z.ZodType<ResponseBodyResponseFormat, z.ZodTypeDef, unknown>;
|
|
2961
|
+
export declare function responseBodyResponseFormatFromJSON(jsonString: string): SafeParseResult<ResponseBodyResponseFormat, SDKValidationError>;
|
|
3214
2962
|
/** @internal */
|
|
3215
|
-
export declare const
|
|
3216
|
-
export declare function createAgentRequestStopFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestStop, SDKValidationError>;
|
|
2963
|
+
export declare const ResponseBodyReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyReasoningEffort>;
|
|
3217
2964
|
/** @internal */
|
|
3218
|
-
export declare const
|
|
3219
|
-
export declare function
|
|
2965
|
+
export declare const ResponseBodyStop$inboundSchema: z.ZodType<ResponseBodyStop, z.ZodTypeDef, unknown>;
|
|
2966
|
+
export declare function responseBodyStopFromJSON(jsonString: string): SafeParseResult<ResponseBodyStop, SDKValidationError>;
|
|
3220
2967
|
/** @internal */
|
|
3221
|
-
export declare const
|
|
3222
|
-
export declare function
|
|
2968
|
+
export declare const ResponseBodyThinking$inboundSchema: z.ZodType<ResponseBodyThinking, z.ZodTypeDef, unknown>;
|
|
2969
|
+
export declare function responseBodyThinkingFromJSON(jsonString: string): SafeParseResult<ResponseBodyThinking, SDKValidationError>;
|
|
3223
2970
|
/** @internal */
|
|
3224
2971
|
export declare const CreateAgentRequestToolChoiceAgentsType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestToolChoiceAgentsType>;
|
|
3225
2972
|
/** @internal */
|
|
@@ -3231,31 +2978,28 @@ export declare function createAgentRequestToolChoiceAgents2FromJSON(jsonString:
|
|
|
3231
2978
|
/** @internal */
|
|
3232
2979
|
export declare const CreateAgentRequestToolChoiceAgents1$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestToolChoiceAgents1>;
|
|
3233
2980
|
/** @internal */
|
|
3234
|
-
export declare const
|
|
3235
|
-
export declare function
|
|
2981
|
+
export declare const ResponseBodyToolChoice$inboundSchema: z.ZodType<ResponseBodyToolChoice, z.ZodTypeDef, unknown>;
|
|
2982
|
+
export declare function responseBodyToolChoiceFromJSON(jsonString: string): SafeParseResult<ResponseBodyToolChoice, SDKValidationError>;
|
|
3236
2983
|
/** @internal */
|
|
3237
|
-
export declare const
|
|
2984
|
+
export declare const ResponseBodyModalities$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyModalities>;
|
|
3238
2985
|
/** @internal */
|
|
3239
2986
|
export declare const CreateAgentRequestIdAgents1$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestIdAgents1>;
|
|
3240
2987
|
/** @internal */
|
|
3241
|
-
export declare const
|
|
3242
|
-
export declare function
|
|
2988
|
+
export declare const ResponseBodyId$inboundSchema: z.ZodType<ResponseBodyId, z.ZodTypeDef, unknown>;
|
|
2989
|
+
export declare function responseBodyIdFromJSON(jsonString: string): SafeParseResult<ResponseBodyId, SDKValidationError>;
|
|
3243
2990
|
/** @internal */
|
|
3244
|
-
export declare const
|
|
2991
|
+
export declare const CreateAgentRequestResponseBodyAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestResponseBodyAgentsExecuteOn>;
|
|
3245
2992
|
/** @internal */
|
|
3246
|
-
export declare const
|
|
3247
|
-
export declare function
|
|
2993
|
+
export declare const CreateAgentRequestResponseBodyGuardrails$inboundSchema: z.ZodType<CreateAgentRequestResponseBodyGuardrails, z.ZodTypeDef, unknown>;
|
|
2994
|
+
export declare function createAgentRequestResponseBodyGuardrailsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseBodyGuardrails, SDKValidationError>;
|
|
3248
2995
|
/** @internal */
|
|
3249
|
-
export declare const
|
|
3250
|
-
export declare function
|
|
2996
|
+
export declare const ResponseBodyFallbacks$inboundSchema: z.ZodType<ResponseBodyFallbacks, z.ZodTypeDef, unknown>;
|
|
2997
|
+
export declare function responseBodyFallbacksFromJSON(jsonString: string): SafeParseResult<ResponseBodyFallbacks, SDKValidationError>;
|
|
3251
2998
|
/** @internal */
|
|
3252
|
-
export declare const
|
|
3253
|
-
export declare function createAgentRequestAgentsRetryFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestAgentsRetry, SDKValidationError>;
|
|
2999
|
+
export declare const CreateAgentRequestResponseBodyAgentsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestResponseBodyAgentsResponseType>;
|
|
3254
3000
|
/** @internal */
|
|
3255
|
-
export declare const
|
|
3256
|
-
|
|
3257
|
-
export declare const CreateAgentRequestCache$inboundSchema: z.ZodType<CreateAgentRequestCache, z.ZodTypeDef, unknown>;
|
|
3258
|
-
export declare function createAgentRequestCacheFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestCache, SDKValidationError>;
|
|
3001
|
+
export declare const ResponseBodyCache$inboundSchema: z.ZodType<ResponseBodyCache, z.ZodTypeDef, unknown>;
|
|
3002
|
+
export declare function responseBodyCacheFromJSON(jsonString: string): SafeParseResult<ResponseBodyCache, SDKValidationError>;
|
|
3259
3003
|
/** @internal */
|
|
3260
3004
|
export declare const CreateAgentRequestLoadBalancerAgentsType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestLoadBalancerAgentsType>;
|
|
3261
3005
|
/** @internal */
|
|
@@ -3265,24 +3009,17 @@ export declare function createAgentRequestLoadBalancerModelsFromJSON(jsonString:
|
|
|
3265
3009
|
export declare const CreateAgentRequestLoadBalancerAgents1$inboundSchema: z.ZodType<CreateAgentRequestLoadBalancerAgents1, z.ZodTypeDef, unknown>;
|
|
3266
3010
|
export declare function createAgentRequestLoadBalancerAgents1FromJSON(jsonString: string): SafeParseResult<CreateAgentRequestLoadBalancerAgents1, SDKValidationError>;
|
|
3267
3011
|
/** @internal */
|
|
3268
|
-
export declare const
|
|
3269
|
-
export declare function
|
|
3270
|
-
/** @internal */
|
|
3271
|
-
export declare const CreateAgentRequestTimeout$inboundSchema: z.ZodType<CreateAgentRequestTimeout, z.ZodTypeDef, unknown>;
|
|
3272
|
-
export declare function createAgentRequestTimeoutFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestTimeout, SDKValidationError>;
|
|
3273
|
-
/** @internal */
|
|
3274
|
-
export declare const CreateAgentRequestParameters$inboundSchema: z.ZodType<CreateAgentRequestParameters, z.ZodTypeDef, unknown>;
|
|
3275
|
-
export declare function createAgentRequestParametersFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestParameters, SDKValidationError>;
|
|
3012
|
+
export declare const ResponseBodyLoadBalancer$inboundSchema: z.ZodType<ResponseBodyLoadBalancer, z.ZodTypeDef, unknown>;
|
|
3013
|
+
export declare function responseBodyLoadBalancerFromJSON(jsonString: string): SafeParseResult<ResponseBodyLoadBalancer, SDKValidationError>;
|
|
3276
3014
|
/** @internal */
|
|
3277
|
-
export declare const
|
|
3278
|
-
export declare function
|
|
3015
|
+
export declare const ResponseBodyTimeout$inboundSchema: z.ZodType<ResponseBodyTimeout, z.ZodTypeDef, unknown>;
|
|
3016
|
+
export declare function responseBodyTimeoutFromJSON(jsonString: string): SafeParseResult<ResponseBodyTimeout, SDKValidationError>;
|
|
3279
3017
|
/** @internal */
|
|
3280
|
-
export declare const
|
|
3018
|
+
export declare const ResponseBodyParameters$inboundSchema: z.ZodType<ResponseBodyParameters, z.ZodTypeDef, unknown>;
|
|
3019
|
+
export declare function responseBodyParametersFromJSON(jsonString: string): SafeParseResult<ResponseBodyParameters, SDKValidationError>;
|
|
3281
3020
|
/** @internal */
|
|
3282
|
-
export declare const
|
|
3283
|
-
|
|
3284
|
-
export declare const CreateAgentRequestFallbackModelConfigurationAudio$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationAudio, z.ZodTypeDef, unknown>;
|
|
3285
|
-
export declare function createAgentRequestFallbackModelConfigurationAudioFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationAudio, SDKValidationError>;
|
|
3021
|
+
export declare const ResponseBodyRetry$inboundSchema: z.ZodType<ResponseBodyRetry, z.ZodTypeDef, unknown>;
|
|
3022
|
+
export declare function responseBodyRetryFromJSON(jsonString: string): SafeParseResult<ResponseBodyRetry, SDKValidationError>;
|
|
3286
3023
|
/** @internal */
|
|
3287
3024
|
export declare const CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchema$inboundSchema: z.ZodType<CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchema, z.ZodTypeDef, unknown>;
|
|
3288
3025
|
export declare function createAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchemaFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchema, SDKValidationError>;
|
|
@@ -3304,9 +3041,6 @@ export declare const CreateAgentRequestFallbackModelConfigurationReasoningEffort
|
|
|
3304
3041
|
export declare const CreateAgentRequestFallbackModelConfigurationStop$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationStop, z.ZodTypeDef, unknown>;
|
|
3305
3042
|
export declare function createAgentRequestFallbackModelConfigurationStopFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationStop, SDKValidationError>;
|
|
3306
3043
|
/** @internal */
|
|
3307
|
-
export declare const CreateAgentRequestFallbackModelConfigurationStreamOptions$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationStreamOptions, z.ZodTypeDef, unknown>;
|
|
3308
|
-
export declare function createAgentRequestFallbackModelConfigurationStreamOptionsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationStreamOptions, SDKValidationError>;
|
|
3309
|
-
/** @internal */
|
|
3310
3044
|
export declare const CreateAgentRequestFallbackModelConfigurationThinking$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationThinking, z.ZodTypeDef, unknown>;
|
|
3311
3045
|
export declare function createAgentRequestFallbackModelConfigurationThinkingFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationThinking, SDKValidationError>;
|
|
3312
3046
|
/** @internal */
|
|
@@ -3338,9 +3072,6 @@ export declare function createAgentRequestFallbackModelConfigurationGuardrailsFr
|
|
|
3338
3072
|
export declare const CreateAgentRequestFallbackModelConfigurationFallbacks$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationFallbacks, z.ZodTypeDef, unknown>;
|
|
3339
3073
|
export declare function createAgentRequestFallbackModelConfigurationFallbacksFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationFallbacks, SDKValidationError>;
|
|
3340
3074
|
/** @internal */
|
|
3341
|
-
export declare const CreateAgentRequestFallbackModelConfigurationAgentsResponseRetry$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationAgentsResponseRetry, z.ZodTypeDef, unknown>;
|
|
3342
|
-
export declare function createAgentRequestFallbackModelConfigurationAgentsResponseRetryFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationAgentsResponseRetry, SDKValidationError>;
|
|
3343
|
-
/** @internal */
|
|
3344
3075
|
export declare const CreateAgentRequestFallbackModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestFallbackModelConfigurationType>;
|
|
3345
3076
|
/** @internal */
|
|
3346
3077
|
export declare const CreateAgentRequestFallbackModelConfigurationCache$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationCache, z.ZodTypeDef, unknown>;
|
|
@@ -3363,28 +3094,20 @@ export declare function createAgentRequestFallbackModelConfigurationTimeoutFromJ
|
|
|
3363
3094
|
export declare const CreateAgentRequestFallbackModelConfigurationParameters$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationParameters, z.ZodTypeDef, unknown>;
|
|
3364
3095
|
export declare function createAgentRequestFallbackModelConfigurationParametersFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationParameters, SDKValidationError>;
|
|
3365
3096
|
/** @internal */
|
|
3366
|
-
export declare const
|
|
3367
|
-
export declare function
|
|
3097
|
+
export declare const CreateAgentRequestFallbackModelConfigurationRetry$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationRetry, z.ZodTypeDef, unknown>;
|
|
3098
|
+
export declare function createAgentRequestFallbackModelConfigurationRetryFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationRetry, SDKValidationError>;
|
|
3368
3099
|
/** @internal */
|
|
3369
3100
|
export declare const CreateAgentRequestFallbackModelConfiguration2$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfiguration2, z.ZodTypeDef, unknown>;
|
|
3370
3101
|
export declare function createAgentRequestFallbackModelConfiguration2FromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfiguration2, SDKValidationError>;
|
|
3371
3102
|
/** @internal */
|
|
3372
|
-
export declare const
|
|
3373
|
-
export declare function
|
|
3103
|
+
export declare const ResponseBodyFallbackModelConfiguration$inboundSchema: z.ZodType<ResponseBodyFallbackModelConfiguration, z.ZodTypeDef, unknown>;
|
|
3104
|
+
export declare function responseBodyFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<ResponseBodyFallbackModelConfiguration, SDKValidationError>;
|
|
3374
3105
|
/** @internal */
|
|
3375
3106
|
export declare const Model$inboundSchema: z.ZodType<Model, z.ZodTypeDef, unknown>;
|
|
3376
3107
|
export declare function modelFromJSON(jsonString: string): SafeParseResult<Model, SDKValidationError>;
|
|
3377
3108
|
/** @internal */
|
|
3378
|
-
export declare const
|
|
3379
|
-
export declare function
|
|
3380
|
-
/** @internal */
|
|
3381
|
-
export declare const Metrics$inboundSchema: z.ZodType<Metrics, z.ZodTypeDef, unknown>;
|
|
3382
|
-
export declare function metricsFromJSON(jsonString: string): SafeParseResult<Metrics, SDKValidationError>;
|
|
3383
|
-
/** @internal */
|
|
3384
|
-
export declare const CreateAgentRequestKnowledgeBases$inboundSchema: z.ZodType<CreateAgentRequestKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
3385
|
-
export declare function createAgentRequestKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestKnowledgeBases, SDKValidationError>;
|
|
3386
|
-
/** @internal */
|
|
3387
|
-
export declare const CreateAgentRequestSource$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestSource>;
|
|
3109
|
+
export declare const ResponseBody1$inboundSchema: z.ZodType<ResponseBody1, z.ZodTypeDef, unknown>;
|
|
3110
|
+
export declare function responseBody1FromJSON(jsonString: string): SafeParseResult<ResponseBody1, SDKValidationError>;
|
|
3388
3111
|
/** @internal */
|
|
3389
3112
|
export declare const CreateAgentRequestResponseBody$inboundSchema: z.ZodType<CreateAgentRequestResponseBody, z.ZodTypeDef, unknown>;
|
|
3390
3113
|
export declare function createAgentRequestResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseBody, SDKValidationError>;
|