@orq-ai/node 4.0.0-rc.45 → 4.0.0-rc.48
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/bin/mcp-server.js +764 -1540
- package/bin/mcp-server.js.map +58 -58
- package/docs/sdks/agents/README.md +4 -6
- package/examples/package-lock.json +1 -1
- package/funcs/agentsDuplicate.d.ts +1 -1
- package/funcs/agentsDuplicate.js +5 -4
- package/funcs/agentsDuplicate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/tools/agentsDuplicate.js +1 -1
- package/mcp-server/tools/agentsDuplicate.js.map +1 -1
- package/models/operations/createagent.d.ts +90 -10
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +87 -20
- package/models/operations/createagent.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.d.ts +106 -106
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +242 -234
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/creatememorystore.d.ts +10 -391
- package/models/operations/creatememorystore.d.ts.map +1 -1
- package/models/operations/creatememorystore.js +5 -565
- package/models/operations/creatememorystore.js.map +1 -1
- package/models/operations/createprompt.d.ts +40 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +33 -7
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/deploymentgetconfig.d.ts +20 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +22 -8
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +20 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +16 -3
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/duplicateagent.d.ts +66 -3
- package/models/operations/duplicateagent.d.ts.map +1 -1
- package/models/operations/duplicateagent.js +77 -5
- package/models/operations/duplicateagent.js.map +1 -1
- package/models/operations/duplicatetool.js +12 -12
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +40 -0
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +36 -3
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getallmemorystores.d.ts +5 -195
- package/models/operations/getallmemorystores.d.ts.map +1 -1
- package/models/operations/getallmemorystores.js +3 -273
- package/models/operations/getallmemorystores.js.map +1 -1
- package/models/operations/getallprompts.d.ts +20 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +16 -3
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +20 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +16 -3
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +20 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +16 -2
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listagents.d.ts +40 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +37 -4
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.d.ts +5 -5
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +4 -4
- package/models/operations/listdatasources.js.map +1 -1
- package/models/operations/listpromptversions.d.ts +20 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +16 -3
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievememorystore.d.ts +5 -196
- package/models/operations/retrievememorystore.d.ts.map +1 -1
- package/models/operations/retrievememorystore.js +3 -273
- package/models/operations/retrievememorystore.js.map +1 -1
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +40 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +45 -10
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +40 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +44 -9
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/syncmcptool.js +12 -12
- package/models/operations/updateagent.d.ts +80 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +73 -8
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatememorystore.d.ts +5 -195
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +3 -290
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +40 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +33 -7
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/agents.d.ts +1 -1
- package/sdk/agents.js +1 -1
- package/src/funcs/agentsDuplicate.ts +6 -5
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/agentsDuplicate.ts +1 -1
- package/src/models/operations/createagent.ts +170 -43
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +423 -524
- package/src/models/operations/creatememorystore.ts +14 -1094
- package/src/models/operations/createprompt.ts +60 -0
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/deploymentgetconfig.ts +30 -0
- package/src/models/operations/deployments.ts +30 -0
- package/src/models/operations/duplicateagent.ts +153 -5
- package/src/models/operations/duplicatetool.ts +12 -12
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagent.ts +65 -0
- package/src/models/operations/getallmemorystores.ts +7 -595
- package/src/models/operations/getallprompts.ts +30 -0
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +30 -0
- package/src/models/operations/getpromptversion.ts +30 -0
- package/src/models/operations/listagents.ts +68 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +9 -9
- package/src/models/operations/listpromptversions.ts +30 -0
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievememorystore.ts +7 -596
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +71 -2
- package/src/models/operations/streamrunagent.ts +76 -2
- package/src/models/operations/syncmcptool.ts +12 -12
- package/src/models/operations/updateagent.ts +141 -0
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatememorystore.ts +7 -527
- package/src/models/operations/updateprompt.ts +60 -0
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/agents.ts +1 -1
|
@@ -970,7 +970,7 @@ export const DuplicateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
970
970
|
z.ZodTypeDef,
|
|
971
971
|
unknown
|
|
972
972
|
> = z.object({
|
|
973
|
-
_id: z.string().default("
|
|
973
|
+
_id: z.string().default("tool_01KADNRAK8EVMZ0K994X1AXARP"),
|
|
974
974
|
path: z.string(),
|
|
975
975
|
key: z.string(),
|
|
976
976
|
display_name: z.string().optional(),
|
|
@@ -1025,7 +1025,7 @@ export const DuplicateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
1025
1025
|
z.ZodTypeDef,
|
|
1026
1026
|
DuplicateToolResponseBody5
|
|
1027
1027
|
> = z.object({
|
|
1028
|
-
id: z.string().default("
|
|
1028
|
+
id: z.string().default("tool_01KADNRAK8EVMZ0K994X1AXARP"),
|
|
1029
1029
|
path: z.string(),
|
|
1030
1030
|
key: z.string(),
|
|
1031
1031
|
displayName: z.string().optional(),
|
|
@@ -1205,7 +1205,7 @@ export const DuplicateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1205
1205
|
z.ZodTypeDef,
|
|
1206
1206
|
unknown
|
|
1207
1207
|
> = z.object({
|
|
1208
|
-
id: z.string().default("
|
|
1208
|
+
id: z.string().default("01KADNRAK7FHV7W76V2DT2SMQ1"),
|
|
1209
1209
|
name: z.string(),
|
|
1210
1210
|
description: z.string().optional(),
|
|
1211
1211
|
schema: z.lazy(() => DuplicateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -1224,7 +1224,7 @@ export const DuplicateToolResponseBodyTools$outboundSchema: z.ZodType<
|
|
|
1224
1224
|
z.ZodTypeDef,
|
|
1225
1225
|
DuplicateToolResponseBodyTools
|
|
1226
1226
|
> = z.object({
|
|
1227
|
-
id: z.string().default("
|
|
1227
|
+
id: z.string().default("01KADNRAK7FHV7W76V2DT2SMQ1"),
|
|
1228
1228
|
name: z.string(),
|
|
1229
1229
|
description: z.string().optional(),
|
|
1230
1230
|
schema: z.lazy(() => DuplicateToolResponseBodyToolsSchema$outboundSchema),
|
|
@@ -1330,7 +1330,7 @@ export const DuplicateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
1330
1330
|
z.ZodTypeDef,
|
|
1331
1331
|
unknown
|
|
1332
1332
|
> = z.object({
|
|
1333
|
-
_id: z.string().default("
|
|
1333
|
+
_id: z.string().default("tool_01KADNRAK6ZSRJY4M695T1HXVP"),
|
|
1334
1334
|
path: z.string(),
|
|
1335
1335
|
key: z.string(),
|
|
1336
1336
|
display_name: z.string().optional(),
|
|
@@ -1383,7 +1383,7 @@ export const DuplicateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
1383
1383
|
z.ZodTypeDef,
|
|
1384
1384
|
DuplicateToolResponseBody4
|
|
1385
1385
|
> = z.object({
|
|
1386
|
-
id: z.string().default("
|
|
1386
|
+
id: z.string().default("tool_01KADNRAK6ZSRJY4M695T1HXVP"),
|
|
1387
1387
|
path: z.string(),
|
|
1388
1388
|
key: z.string(),
|
|
1389
1389
|
displayName: z.string().optional(),
|
|
@@ -1764,7 +1764,7 @@ export const DuplicateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
1764
1764
|
z.ZodTypeDef,
|
|
1765
1765
|
unknown
|
|
1766
1766
|
> = z.object({
|
|
1767
|
-
_id: z.string().default("
|
|
1767
|
+
_id: z.string().default("tool_01KADNRAK4ANB4ZZ2Y8Y1VP4RB"),
|
|
1768
1768
|
path: z.string(),
|
|
1769
1769
|
key: z.string(),
|
|
1770
1770
|
display_name: z.string().optional(),
|
|
@@ -1817,7 +1817,7 @@ export const DuplicateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
1817
1817
|
z.ZodTypeDef,
|
|
1818
1818
|
DuplicateToolResponseBody3
|
|
1819
1819
|
> = z.object({
|
|
1820
|
-
id: z.string().default("
|
|
1820
|
+
id: z.string().default("tool_01KADNRAK4ANB4ZZ2Y8Y1VP4RB"),
|
|
1821
1821
|
path: z.string(),
|
|
1822
1822
|
key: z.string(),
|
|
1823
1823
|
displayName: z.string().optional(),
|
|
@@ -1999,7 +1999,7 @@ export const DuplicateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
1999
1999
|
z.ZodTypeDef,
|
|
2000
2000
|
unknown
|
|
2001
2001
|
> = z.object({
|
|
2002
|
-
_id: z.string().default("
|
|
2002
|
+
_id: z.string().default("tool_01KADNRAK2KVBB3QV8XBY8J30Q"),
|
|
2003
2003
|
path: z.string(),
|
|
2004
2004
|
key: z.string(),
|
|
2005
2005
|
display_name: z.string().optional(),
|
|
@@ -2051,7 +2051,7 @@ export const DuplicateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
2051
2051
|
z.ZodTypeDef,
|
|
2052
2052
|
DuplicateToolResponseBody2
|
|
2053
2053
|
> = z.object({
|
|
2054
|
-
id: z.string().default("
|
|
2054
|
+
id: z.string().default("tool_01KADNRAK2KVBB3QV8XBY8J30Q"),
|
|
2055
2055
|
path: z.string(),
|
|
2056
2056
|
key: z.string(),
|
|
2057
2057
|
displayName: z.string().optional(),
|
|
@@ -2249,7 +2249,7 @@ export const DuplicateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
2249
2249
|
z.ZodTypeDef,
|
|
2250
2250
|
unknown
|
|
2251
2251
|
> = z.object({
|
|
2252
|
-
_id: z.string().default("
|
|
2252
|
+
_id: z.string().default("tool_01KADNRAK1G6SGMSNQC78BC799"),
|
|
2253
2253
|
path: z.string(),
|
|
2254
2254
|
key: z.string(),
|
|
2255
2255
|
display_name: z.string().optional(),
|
|
@@ -2300,7 +2300,7 @@ export const DuplicateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
2300
2300
|
z.ZodTypeDef,
|
|
2301
2301
|
DuplicateToolResponseBody1
|
|
2302
2302
|
> = z.object({
|
|
2303
|
-
id: z.string().default("
|
|
2303
|
+
id: z.string().default("tool_01KADNRAK1G6SGMSNQC78BC799"),
|
|
2304
2304
|
path: z.string(),
|
|
2305
2305
|
key: z.string(),
|
|
2306
2306
|
displayName: z.string().optional(),
|
|
@@ -119,7 +119,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
119
119
|
file_name: z.string(),
|
|
120
120
|
workspace_id: z.string(),
|
|
121
121
|
created: z.string().datetime({ offset: true }).default(
|
|
122
|
-
"2025-11-
|
|
122
|
+
"2025-11-19T09:04:51.896Z",
|
|
123
123
|
).transform(v => new Date(v)),
|
|
124
124
|
}).transform((v) => {
|
|
125
125
|
return remap$(v, {
|
|
@@ -152,7 +152,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
152
152
|
bytes: z.number(),
|
|
153
153
|
fileName: z.string(),
|
|
154
154
|
workspaceId: z.string(),
|
|
155
|
-
created: z.date().default(() => new Date("2025-11-
|
|
155
|
+
created: z.date().default(() => new Date("2025-11-19T09:04:51.896Z"))
|
|
156
156
|
.transform(v => v.toISOString()),
|
|
157
157
|
}).transform((v) => {
|
|
158
158
|
return remap$(v, {
|
|
@@ -157,7 +157,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
157
157
|
file_name: z.string(),
|
|
158
158
|
workspace_id: z.string(),
|
|
159
159
|
created: z.string().datetime({ offset: true }).default(
|
|
160
|
-
"2025-11-
|
|
160
|
+
"2025-11-19T09:04:51.896Z",
|
|
161
161
|
).transform(v => new Date(v)),
|
|
162
162
|
}).transform((v) => {
|
|
163
163
|
return remap$(v, {
|
|
@@ -190,7 +190,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
190
190
|
bytes: z.number(),
|
|
191
191
|
fileName: z.string(),
|
|
192
192
|
workspaceId: z.string(),
|
|
193
|
-
created: z.date().default(() => new Date("2025-11-
|
|
193
|
+
created: z.date().default(() => new Date("2025-11-19T09:04:51.896Z"))
|
|
194
194
|
.transform(v => v.toISOString()),
|
|
195
195
|
}).transform((v) => {
|
|
196
196
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
196
196
|
file_name: z.string(),
|
|
197
197
|
workspace_id: z.string(),
|
|
198
198
|
created: z.string().datetime({ offset: true }).default(
|
|
199
|
-
"2025-11-
|
|
199
|
+
"2025-11-19T09:04:51.896Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -229,7 +229,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
229
229
|
bytes: z.number(),
|
|
230
230
|
fileName: z.string(),
|
|
231
231
|
workspaceId: z.string(),
|
|
232
|
-
created: z.date().default(() => new Date("2025-11-
|
|
232
|
+
created: z.date().default(() => new Date("2025-11-19T09:04:51.896Z"))
|
|
233
233
|
.transform(v => v.toISOString()),
|
|
234
234
|
}).transform((v) => {
|
|
235
235
|
return remap$(v, {
|
|
@@ -311,6 +311,18 @@ export const GetAgentType = {
|
|
|
311
311
|
*/
|
|
312
312
|
export type GetAgentType = ClosedEnum<typeof GetAgentType>;
|
|
313
313
|
|
|
314
|
+
/**
|
|
315
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
316
|
+
*/
|
|
317
|
+
export const GetAgentThinkingLevel = {
|
|
318
|
+
Low: "low",
|
|
319
|
+
High: "high",
|
|
320
|
+
} as const;
|
|
321
|
+
/**
|
|
322
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
323
|
+
*/
|
|
324
|
+
export type GetAgentThinkingLevel = ClosedEnum<typeof GetAgentThinkingLevel>;
|
|
325
|
+
|
|
314
326
|
export type GetAgentThinking = {
|
|
315
327
|
/**
|
|
316
328
|
* Enables or disables the thinking mode capability
|
|
@@ -320,6 +332,10 @@ export type GetAgentThinking = {
|
|
|
320
332
|
* Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
|
|
321
333
|
*/
|
|
322
334
|
budgetTokens: number;
|
|
335
|
+
/**
|
|
336
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
337
|
+
*/
|
|
338
|
+
thinkingLevel?: GetAgentThinkingLevel | undefined;
|
|
323
339
|
};
|
|
324
340
|
|
|
325
341
|
/**
|
|
@@ -630,6 +646,20 @@ export type GetAgentFallbackModelConfigurationType = ClosedEnum<
|
|
|
630
646
|
typeof GetAgentFallbackModelConfigurationType
|
|
631
647
|
>;
|
|
632
648
|
|
|
649
|
+
/**
|
|
650
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
651
|
+
*/
|
|
652
|
+
export const GetAgentFallbackModelConfigurationThinkingLevel = {
|
|
653
|
+
Low: "low",
|
|
654
|
+
High: "high",
|
|
655
|
+
} as const;
|
|
656
|
+
/**
|
|
657
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
658
|
+
*/
|
|
659
|
+
export type GetAgentFallbackModelConfigurationThinkingLevel = ClosedEnum<
|
|
660
|
+
typeof GetAgentFallbackModelConfigurationThinkingLevel
|
|
661
|
+
>;
|
|
662
|
+
|
|
633
663
|
export type GetAgentFallbackModelConfigurationThinking = {
|
|
634
664
|
/**
|
|
635
665
|
* Enables or disables the thinking mode capability
|
|
@@ -639,6 +669,10 @@ export type GetAgentFallbackModelConfigurationThinking = {
|
|
|
639
669
|
* Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
|
|
640
670
|
*/
|
|
641
671
|
budgetTokens: number;
|
|
672
|
+
/**
|
|
673
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
674
|
+
*/
|
|
675
|
+
thinkingLevel?: GetAgentFallbackModelConfigurationThinkingLevel | undefined;
|
|
642
676
|
};
|
|
643
677
|
|
|
644
678
|
/**
|
|
@@ -1693,6 +1727,15 @@ export const GetAgentType$inboundSchema: z.ZodNativeEnum<typeof GetAgentType> =
|
|
|
1693
1727
|
export const GetAgentType$outboundSchema: z.ZodNativeEnum<typeof GetAgentType> =
|
|
1694
1728
|
GetAgentType$inboundSchema;
|
|
1695
1729
|
|
|
1730
|
+
/** @internal */
|
|
1731
|
+
export const GetAgentThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
1732
|
+
typeof GetAgentThinkingLevel
|
|
1733
|
+
> = z.nativeEnum(GetAgentThinkingLevel);
|
|
1734
|
+
/** @internal */
|
|
1735
|
+
export const GetAgentThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
1736
|
+
typeof GetAgentThinkingLevel
|
|
1737
|
+
> = GetAgentThinkingLevel$inboundSchema;
|
|
1738
|
+
|
|
1696
1739
|
/** @internal */
|
|
1697
1740
|
export const GetAgentThinking$inboundSchema: z.ZodType<
|
|
1698
1741
|
GetAgentThinking,
|
|
@@ -1701,15 +1744,18 @@ export const GetAgentThinking$inboundSchema: z.ZodType<
|
|
|
1701
1744
|
> = z.object({
|
|
1702
1745
|
type: GetAgentType$inboundSchema,
|
|
1703
1746
|
budget_tokens: z.number(),
|
|
1747
|
+
thinking_level: GetAgentThinkingLevel$inboundSchema.optional(),
|
|
1704
1748
|
}).transform((v) => {
|
|
1705
1749
|
return remap$(v, {
|
|
1706
1750
|
"budget_tokens": "budgetTokens",
|
|
1751
|
+
"thinking_level": "thinkingLevel",
|
|
1707
1752
|
});
|
|
1708
1753
|
});
|
|
1709
1754
|
/** @internal */
|
|
1710
1755
|
export type GetAgentThinking$Outbound = {
|
|
1711
1756
|
type: string;
|
|
1712
1757
|
budget_tokens: number;
|
|
1758
|
+
thinking_level?: string | undefined;
|
|
1713
1759
|
};
|
|
1714
1760
|
|
|
1715
1761
|
/** @internal */
|
|
@@ -1720,9 +1766,11 @@ export const GetAgentThinking$outboundSchema: z.ZodType<
|
|
|
1720
1766
|
> = z.object({
|
|
1721
1767
|
type: GetAgentType$outboundSchema,
|
|
1722
1768
|
budgetTokens: z.number(),
|
|
1769
|
+
thinkingLevel: GetAgentThinkingLevel$outboundSchema.optional(),
|
|
1723
1770
|
}).transform((v) => {
|
|
1724
1771
|
return remap$(v, {
|
|
1725
1772
|
budgetTokens: "budget_tokens",
|
|
1773
|
+
thinkingLevel: "thinking_level",
|
|
1726
1774
|
});
|
|
1727
1775
|
});
|
|
1728
1776
|
|
|
@@ -2566,21 +2614,35 @@ export const GetAgentFallbackModelConfigurationType$outboundSchema:
|
|
|
2566
2614
|
z.ZodNativeEnum<typeof GetAgentFallbackModelConfigurationType> =
|
|
2567
2615
|
GetAgentFallbackModelConfigurationType$inboundSchema;
|
|
2568
2616
|
|
|
2617
|
+
/** @internal */
|
|
2618
|
+
export const GetAgentFallbackModelConfigurationThinkingLevel$inboundSchema:
|
|
2619
|
+
z.ZodNativeEnum<typeof GetAgentFallbackModelConfigurationThinkingLevel> = z
|
|
2620
|
+
.nativeEnum(GetAgentFallbackModelConfigurationThinkingLevel);
|
|
2621
|
+
/** @internal */
|
|
2622
|
+
export const GetAgentFallbackModelConfigurationThinkingLevel$outboundSchema:
|
|
2623
|
+
z.ZodNativeEnum<typeof GetAgentFallbackModelConfigurationThinkingLevel> =
|
|
2624
|
+
GetAgentFallbackModelConfigurationThinkingLevel$inboundSchema;
|
|
2625
|
+
|
|
2569
2626
|
/** @internal */
|
|
2570
2627
|
export const GetAgentFallbackModelConfigurationThinking$inboundSchema:
|
|
2571
2628
|
z.ZodType<GetAgentFallbackModelConfigurationThinking, z.ZodTypeDef, unknown> =
|
|
2572
2629
|
z.object({
|
|
2573
2630
|
type: GetAgentFallbackModelConfigurationType$inboundSchema,
|
|
2574
2631
|
budget_tokens: z.number(),
|
|
2632
|
+
thinking_level:
|
|
2633
|
+
GetAgentFallbackModelConfigurationThinkingLevel$inboundSchema
|
|
2634
|
+
.optional(),
|
|
2575
2635
|
}).transform((v) => {
|
|
2576
2636
|
return remap$(v, {
|
|
2577
2637
|
"budget_tokens": "budgetTokens",
|
|
2638
|
+
"thinking_level": "thinkingLevel",
|
|
2578
2639
|
});
|
|
2579
2640
|
});
|
|
2580
2641
|
/** @internal */
|
|
2581
2642
|
export type GetAgentFallbackModelConfigurationThinking$Outbound = {
|
|
2582
2643
|
type: string;
|
|
2583
2644
|
budget_tokens: number;
|
|
2645
|
+
thinking_level?: string | undefined;
|
|
2584
2646
|
};
|
|
2585
2647
|
|
|
2586
2648
|
/** @internal */
|
|
@@ -2592,9 +2654,12 @@ export const GetAgentFallbackModelConfigurationThinking$outboundSchema:
|
|
|
2592
2654
|
> = z.object({
|
|
2593
2655
|
type: GetAgentFallbackModelConfigurationType$outboundSchema,
|
|
2594
2656
|
budgetTokens: z.number(),
|
|
2657
|
+
thinkingLevel:
|
|
2658
|
+
GetAgentFallbackModelConfigurationThinkingLevel$outboundSchema.optional(),
|
|
2595
2659
|
}).transform((v) => {
|
|
2596
2660
|
return remap$(v, {
|
|
2597
2661
|
budgetTokens: "budget_tokens",
|
|
2662
|
+
thinkingLevel: "thinking_level",
|
|
2598
2663
|
});
|
|
2599
2664
|
});
|
|
2600
2665
|
|