@orq-ai/node 3.14.40 → 3.14.42
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 +696 -1501
- package/bin/mcp-server.js.map +55 -55
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createagent.d.ts +80 -0
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +70 -7
- 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 -563
- 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 +10 -10
- 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/duplicatetool.js +10 -10
- 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 +33 -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 +10 -10
- 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 +36 -3
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +40 -0
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +36 -3
- package/models/operations/listagenttasks.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 +10 -10
- package/models/operations/runagent.d.ts +40 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +36 -6
- 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 +39 -6
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +80 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +73 -7
- 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 +10 -10
- package/package.json +1 -1
- package/packages/orq-rc/docs/sdks/agents/README.md +2 -0
- package/packages/orq-rc/docs/sdks/knowledge/README.md +0 -2
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/operations/createagent.ts +204 -62
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -8
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +423 -524
- package/packages/orq-rc/src/models/operations/createknowledge.ts +1 -7
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +14 -1094
- package/packages/orq-rc/src/models/operations/createprompt.ts +64 -4
- package/packages/orq-rc/src/models/operations/createtool.ts +14 -10
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +30 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +30 -0
- package/packages/orq-rc/src/models/operations/duplicateagent.ts +93 -15
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +29 -11
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +86 -15
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +7 -595
- package/packages/orq-rc/src/models/operations/getallprompts.ts +30 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +14 -10
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +30 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +30 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +89 -15
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +9 -9
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +30 -0
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievememorystore.ts +7 -596
- package/packages/orq-rc/src/models/operations/retrievetool.ts +14 -10
- package/packages/orq-rc/src/models/operations/runagent.ts +81 -8
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +86 -8
- package/packages/orq-rc/src/models/operations/syncmcptool.ts +14 -10
- package/packages/orq-rc/src/models/operations/updateagent.ts +176 -23
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +7 -527
- package/packages/orq-rc/src/models/operations/updateprompt.ts +64 -4
- package/packages/orq-rc/src/models/operations/updatetool.ts +25 -10
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createagent.ts +129 -0
- 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 -1108
- package/src/models/operations/createprompt.ts +60 -0
- package/src/models/operations/createtool.ts +10 -10
- package/src/models/operations/deploymentgetconfig.ts +30 -0
- package/src/models/operations/deployments.ts +30 -0
- package/src/models/operations/duplicatetool.ts +10 -10
- 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 +62 -0
- package/src/models/operations/getallmemorystores.ts +7 -595
- package/src/models/operations/getallprompts.ts +30 -0
- package/src/models/operations/getalltools.ts +10 -10
- 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 +67 -0
- package/src/models/operations/listagenttasks.ts +66 -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 +10 -10
- package/src/models/operations/runagent.ts +64 -0
- package/src/models/operations/streamrunagent.ts +66 -0
- package/src/models/operations/updateagent.ts +131 -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 +10 -10
|
@@ -183,6 +183,7 @@ export type RetrieveToolResponseBodyToolsSchema = {
|
|
|
183
183
|
};
|
|
184
184
|
|
|
185
185
|
export type RetrieveToolResponseBodyTools = {
|
|
186
|
+
id?: string | undefined;
|
|
186
187
|
name: string;
|
|
187
188
|
description?: string | undefined;
|
|
188
189
|
schema: RetrieveToolResponseBodyToolsSchema;
|
|
@@ -889,7 +890,7 @@ export const RetrieveToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
889
890
|
z.ZodTypeDef,
|
|
890
891
|
unknown
|
|
891
892
|
> = z.object({
|
|
892
|
-
_id: z.string().default("
|
|
893
|
+
_id: z.string().default("tool_01KAD4TRM3HW806B6RZVTRZJE9"),
|
|
893
894
|
path: z.string(),
|
|
894
895
|
key: z.string(),
|
|
895
896
|
display_name: z.string().optional(),
|
|
@@ -944,7 +945,7 @@ export const RetrieveToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
944
945
|
z.ZodTypeDef,
|
|
945
946
|
RetrieveToolResponseBody5
|
|
946
947
|
> = z.object({
|
|
947
|
-
id: z.string().default("
|
|
948
|
+
id: z.string().default("tool_01KAD4TRM3HW806B6RZVTRZJE9"),
|
|
948
949
|
path: z.string(),
|
|
949
950
|
key: z.string(),
|
|
950
951
|
displayName: z.string().optional(),
|
|
@@ -1124,12 +1125,14 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1124
1125
|
z.ZodTypeDef,
|
|
1125
1126
|
unknown
|
|
1126
1127
|
> = z.object({
|
|
1128
|
+
id: z.string().default("01KAD4TRM2DF7TC1M6ZV5RKG20"),
|
|
1127
1129
|
name: z.string(),
|
|
1128
1130
|
description: z.string().optional(),
|
|
1129
1131
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
1130
1132
|
});
|
|
1131
1133
|
/** @internal */
|
|
1132
1134
|
export type RetrieveToolResponseBodyTools$Outbound = {
|
|
1135
|
+
id: string;
|
|
1133
1136
|
name: string;
|
|
1134
1137
|
description?: string | undefined;
|
|
1135
1138
|
schema: RetrieveToolResponseBodyToolsSchema$Outbound;
|
|
@@ -1141,6 +1144,7 @@ export const RetrieveToolResponseBodyTools$outboundSchema: z.ZodType<
|
|
|
1141
1144
|
z.ZodTypeDef,
|
|
1142
1145
|
RetrieveToolResponseBodyTools
|
|
1143
1146
|
> = z.object({
|
|
1147
|
+
id: z.string().default("01KAD4TRM2DF7TC1M6ZV5RKG20"),
|
|
1144
1148
|
name: z.string(),
|
|
1145
1149
|
description: z.string().optional(),
|
|
1146
1150
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$outboundSchema),
|
|
@@ -1246,7 +1250,7 @@ export const RetrieveToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
1246
1250
|
z.ZodTypeDef,
|
|
1247
1251
|
unknown
|
|
1248
1252
|
> = z.object({
|
|
1249
|
-
_id: z.string().default("
|
|
1253
|
+
_id: z.string().default("tool_01KAD4TRM1H7PY10J7HSS945E5"),
|
|
1250
1254
|
path: z.string(),
|
|
1251
1255
|
key: z.string(),
|
|
1252
1256
|
display_name: z.string().optional(),
|
|
@@ -1299,7 +1303,7 @@ export const RetrieveToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
1299
1303
|
z.ZodTypeDef,
|
|
1300
1304
|
RetrieveToolResponseBody4
|
|
1301
1305
|
> = z.object({
|
|
1302
|
-
id: z.string().default("
|
|
1306
|
+
id: z.string().default("tool_01KAD4TRM1H7PY10J7HSS945E5"),
|
|
1303
1307
|
path: z.string(),
|
|
1304
1308
|
key: z.string(),
|
|
1305
1309
|
displayName: z.string().optional(),
|
|
@@ -1677,7 +1681,7 @@ export const RetrieveToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
1677
1681
|
z.ZodTypeDef,
|
|
1678
1682
|
unknown
|
|
1679
1683
|
> = z.object({
|
|
1680
|
-
_id: z.string().default("
|
|
1684
|
+
_id: z.string().default("tool_01KAD4TRKZMJ3142A9M4PSH6X5"),
|
|
1681
1685
|
path: z.string(),
|
|
1682
1686
|
key: z.string(),
|
|
1683
1687
|
display_name: z.string().optional(),
|
|
@@ -1730,7 +1734,7 @@ export const RetrieveToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
1730
1734
|
z.ZodTypeDef,
|
|
1731
1735
|
RetrieveToolResponseBody3
|
|
1732
1736
|
> = z.object({
|
|
1733
|
-
id: z.string().default("
|
|
1737
|
+
id: z.string().default("tool_01KAD4TRKZMJ3142A9M4PSH6X5"),
|
|
1734
1738
|
path: z.string(),
|
|
1735
1739
|
key: z.string(),
|
|
1736
1740
|
displayName: z.string().optional(),
|
|
@@ -1911,7 +1915,7 @@ export const RetrieveToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
1911
1915
|
z.ZodTypeDef,
|
|
1912
1916
|
unknown
|
|
1913
1917
|
> = z.object({
|
|
1914
|
-
_id: z.string().default("
|
|
1918
|
+
_id: z.string().default("tool_01KAD4TRKYGZ2HXXSTCD6D673S"),
|
|
1915
1919
|
path: z.string(),
|
|
1916
1920
|
key: z.string(),
|
|
1917
1921
|
display_name: z.string().optional(),
|
|
@@ -1963,7 +1967,7 @@ export const RetrieveToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
1963
1967
|
z.ZodTypeDef,
|
|
1964
1968
|
RetrieveToolResponseBody2
|
|
1965
1969
|
> = z.object({
|
|
1966
|
-
id: z.string().default("
|
|
1970
|
+
id: z.string().default("tool_01KAD4TRKYGZ2HXXSTCD6D673S"),
|
|
1967
1971
|
path: z.string(),
|
|
1968
1972
|
key: z.string(),
|
|
1969
1973
|
displayName: z.string().optional(),
|
|
@@ -2161,7 +2165,7 @@ export const RetrieveToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
2161
2165
|
z.ZodTypeDef,
|
|
2162
2166
|
unknown
|
|
2163
2167
|
> = z.object({
|
|
2164
|
-
_id: z.string().default("
|
|
2168
|
+
_id: z.string().default("tool_01KAD4TRKXXJ6B140RZAG7A2JG"),
|
|
2165
2169
|
path: z.string(),
|
|
2166
2170
|
key: z.string(),
|
|
2167
2171
|
display_name: z.string().optional(),
|
|
@@ -2212,7 +2216,7 @@ export const RetrieveToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
2212
2216
|
z.ZodTypeDef,
|
|
2213
2217
|
RetrieveToolResponseBody1
|
|
2214
2218
|
> = z.object({
|
|
2215
|
-
id: z.string().default("
|
|
2219
|
+
id: z.string().default("tool_01KAD4TRKXXJ6B140RZAG7A2JG"),
|
|
2216
2220
|
path: z.string(),
|
|
2217
2221
|
key: z.string(),
|
|
2218
2222
|
displayName: z.string().optional(),
|
|
@@ -84,7 +84,7 @@ export type RunAgentResponseFormatAgentsJsonSchema = {
|
|
|
84
84
|
/**
|
|
85
85
|
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
|
|
86
86
|
*/
|
|
87
|
-
strict?: boolean | undefined;
|
|
87
|
+
strict?: boolean | null | undefined;
|
|
88
88
|
};
|
|
89
89
|
|
|
90
90
|
/**
|
|
@@ -166,6 +166,20 @@ export type RunAgentModelConfigurationType = ClosedEnum<
|
|
|
166
166
|
typeof RunAgentModelConfigurationType
|
|
167
167
|
>;
|
|
168
168
|
|
|
169
|
+
/**
|
|
170
|
+
* 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.
|
|
171
|
+
*/
|
|
172
|
+
export const RunAgentModelConfigurationThinkingLevel = {
|
|
173
|
+
Low: "low",
|
|
174
|
+
High: "high",
|
|
175
|
+
} as const;
|
|
176
|
+
/**
|
|
177
|
+
* 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.
|
|
178
|
+
*/
|
|
179
|
+
export type RunAgentModelConfigurationThinkingLevel = ClosedEnum<
|
|
180
|
+
typeof RunAgentModelConfigurationThinkingLevel
|
|
181
|
+
>;
|
|
182
|
+
|
|
169
183
|
export type RunAgentModelConfigurationThinking = {
|
|
170
184
|
/**
|
|
171
185
|
* Enables or disables the thinking mode capability
|
|
@@ -175,6 +189,10 @@ export type RunAgentModelConfigurationThinking = {
|
|
|
175
189
|
* 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`.
|
|
176
190
|
*/
|
|
177
191
|
budgetTokens: number;
|
|
192
|
+
/**
|
|
193
|
+
* 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.
|
|
194
|
+
*/
|
|
195
|
+
thinkingLevel?: RunAgentModelConfigurationThinkingLevel | undefined;
|
|
178
196
|
};
|
|
179
197
|
|
|
180
198
|
/**
|
|
@@ -433,7 +451,7 @@ export type RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema = {
|
|
|
433
451
|
/**
|
|
434
452
|
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
|
|
435
453
|
*/
|
|
436
|
-
strict?: boolean | undefined;
|
|
454
|
+
strict?: boolean | null | undefined;
|
|
437
455
|
};
|
|
438
456
|
|
|
439
457
|
/**
|
|
@@ -518,6 +536,20 @@ export type RunAgentFallbackModelConfigurationType = ClosedEnum<
|
|
|
518
536
|
typeof RunAgentFallbackModelConfigurationType
|
|
519
537
|
>;
|
|
520
538
|
|
|
539
|
+
/**
|
|
540
|
+
* 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.
|
|
541
|
+
*/
|
|
542
|
+
export const RunAgentFallbackModelConfigurationThinkingLevel = {
|
|
543
|
+
Low: "low",
|
|
544
|
+
High: "high",
|
|
545
|
+
} as const;
|
|
546
|
+
/**
|
|
547
|
+
* 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.
|
|
548
|
+
*/
|
|
549
|
+
export type RunAgentFallbackModelConfigurationThinkingLevel = ClosedEnum<
|
|
550
|
+
typeof RunAgentFallbackModelConfigurationThinkingLevel
|
|
551
|
+
>;
|
|
552
|
+
|
|
521
553
|
export type RunAgentFallbackModelConfigurationThinking = {
|
|
522
554
|
/**
|
|
523
555
|
* Enables or disables the thinking mode capability
|
|
@@ -527,6 +559,10 @@ export type RunAgentFallbackModelConfigurationThinking = {
|
|
|
527
559
|
* 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`.
|
|
528
560
|
*/
|
|
529
561
|
budgetTokens: number;
|
|
562
|
+
/**
|
|
563
|
+
* 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.
|
|
564
|
+
*/
|
|
565
|
+
thinkingLevel?: RunAgentFallbackModelConfigurationThinkingLevel | undefined;
|
|
530
566
|
};
|
|
531
567
|
|
|
532
568
|
/**
|
|
@@ -957,6 +993,7 @@ export type Schema = {
|
|
|
957
993
|
};
|
|
958
994
|
|
|
959
995
|
export type Tools = {
|
|
996
|
+
id?: string | undefined;
|
|
960
997
|
name: string;
|
|
961
998
|
description?: string | undefined;
|
|
962
999
|
schema: Schema;
|
|
@@ -2026,14 +2063,14 @@ export const RunAgentResponseFormatAgentsJsonSchema$inboundSchema: z.ZodType<
|
|
|
2026
2063
|
description: z.string().optional(),
|
|
2027
2064
|
name: z.string(),
|
|
2028
2065
|
schema: z.any().optional(),
|
|
2029
|
-
strict: z.boolean().optional(),
|
|
2066
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2030
2067
|
});
|
|
2031
2068
|
/** @internal */
|
|
2032
2069
|
export type RunAgentResponseFormatAgentsJsonSchema$Outbound = {
|
|
2033
2070
|
description?: string | undefined;
|
|
2034
2071
|
name: string;
|
|
2035
2072
|
schema?: any | undefined;
|
|
2036
|
-
strict?: boolean | undefined;
|
|
2073
|
+
strict?: boolean | null | undefined;
|
|
2037
2074
|
};
|
|
2038
2075
|
|
|
2039
2076
|
/** @internal */
|
|
@@ -2045,7 +2082,7 @@ export const RunAgentResponseFormatAgentsJsonSchema$outboundSchema: z.ZodType<
|
|
|
2045
2082
|
description: z.string().optional(),
|
|
2046
2083
|
name: z.string(),
|
|
2047
2084
|
schema: z.any().optional(),
|
|
2048
|
-
strict: z.boolean().optional(),
|
|
2085
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2049
2086
|
});
|
|
2050
2087
|
|
|
2051
2088
|
export function runAgentResponseFormatAgentsJsonSchemaToJSON(
|
|
@@ -2376,6 +2413,15 @@ export const RunAgentModelConfigurationType$outboundSchema: z.ZodNativeEnum<
|
|
|
2376
2413
|
typeof RunAgentModelConfigurationType
|
|
2377
2414
|
> = RunAgentModelConfigurationType$inboundSchema;
|
|
2378
2415
|
|
|
2416
|
+
/** @internal */
|
|
2417
|
+
export const RunAgentModelConfigurationThinkingLevel$inboundSchema:
|
|
2418
|
+
z.ZodNativeEnum<typeof RunAgentModelConfigurationThinkingLevel> = z
|
|
2419
|
+
.nativeEnum(RunAgentModelConfigurationThinkingLevel);
|
|
2420
|
+
/** @internal */
|
|
2421
|
+
export const RunAgentModelConfigurationThinkingLevel$outboundSchema:
|
|
2422
|
+
z.ZodNativeEnum<typeof RunAgentModelConfigurationThinkingLevel> =
|
|
2423
|
+
RunAgentModelConfigurationThinkingLevel$inboundSchema;
|
|
2424
|
+
|
|
2379
2425
|
/** @internal */
|
|
2380
2426
|
export const RunAgentModelConfigurationThinking$inboundSchema: z.ZodType<
|
|
2381
2427
|
RunAgentModelConfigurationThinking,
|
|
@@ -2384,15 +2430,19 @@ export const RunAgentModelConfigurationThinking$inboundSchema: z.ZodType<
|
|
|
2384
2430
|
> = z.object({
|
|
2385
2431
|
type: RunAgentModelConfigurationType$inboundSchema,
|
|
2386
2432
|
budget_tokens: z.number(),
|
|
2433
|
+
thinking_level: RunAgentModelConfigurationThinkingLevel$inboundSchema
|
|
2434
|
+
.optional(),
|
|
2387
2435
|
}).transform((v) => {
|
|
2388
2436
|
return remap$(v, {
|
|
2389
2437
|
"budget_tokens": "budgetTokens",
|
|
2438
|
+
"thinking_level": "thinkingLevel",
|
|
2390
2439
|
});
|
|
2391
2440
|
});
|
|
2392
2441
|
/** @internal */
|
|
2393
2442
|
export type RunAgentModelConfigurationThinking$Outbound = {
|
|
2394
2443
|
type: string;
|
|
2395
2444
|
budget_tokens: number;
|
|
2445
|
+
thinking_level?: string | undefined;
|
|
2396
2446
|
};
|
|
2397
2447
|
|
|
2398
2448
|
/** @internal */
|
|
@@ -2403,9 +2453,12 @@ export const RunAgentModelConfigurationThinking$outboundSchema: z.ZodType<
|
|
|
2403
2453
|
> = z.object({
|
|
2404
2454
|
type: RunAgentModelConfigurationType$outboundSchema,
|
|
2405
2455
|
budgetTokens: z.number(),
|
|
2456
|
+
thinkingLevel: RunAgentModelConfigurationThinkingLevel$outboundSchema
|
|
2457
|
+
.optional(),
|
|
2406
2458
|
}).transform((v) => {
|
|
2407
2459
|
return remap$(v, {
|
|
2408
2460
|
budgetTokens: "budget_tokens",
|
|
2461
|
+
thinkingLevel: "thinking_level",
|
|
2409
2462
|
});
|
|
2410
2463
|
});
|
|
2411
2464
|
|
|
@@ -2984,7 +3037,7 @@ export const RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$inboundSch
|
|
|
2984
3037
|
description: z.string().optional(),
|
|
2985
3038
|
name: z.string(),
|
|
2986
3039
|
schema: z.any().optional(),
|
|
2987
|
-
strict: z.boolean().optional(),
|
|
3040
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2988
3041
|
});
|
|
2989
3042
|
/** @internal */
|
|
2990
3043
|
export type RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound =
|
|
@@ -2992,7 +3045,7 @@ export type RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound =
|
|
|
2992
3045
|
description?: string | undefined;
|
|
2993
3046
|
name: string;
|
|
2994
3047
|
schema?: any | undefined;
|
|
2995
|
-
strict?: boolean | undefined;
|
|
3048
|
+
strict?: boolean | null | undefined;
|
|
2996
3049
|
};
|
|
2997
3050
|
|
|
2998
3051
|
/** @internal */
|
|
@@ -3005,7 +3058,7 @@ export const RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$outboundSc
|
|
|
3005
3058
|
description: z.string().optional(),
|
|
3006
3059
|
name: z.string(),
|
|
3007
3060
|
schema: z.any().optional(),
|
|
3008
|
-
strict: z.boolean().optional(),
|
|
3061
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
3009
3062
|
});
|
|
3010
3063
|
|
|
3011
3064
|
export function runAgentResponseFormatAgentsRequestRequestBodyJsonSchemaToJSON(
|
|
@@ -3371,21 +3424,35 @@ export const RunAgentFallbackModelConfigurationType$outboundSchema:
|
|
|
3371
3424
|
z.ZodNativeEnum<typeof RunAgentFallbackModelConfigurationType> =
|
|
3372
3425
|
RunAgentFallbackModelConfigurationType$inboundSchema;
|
|
3373
3426
|
|
|
3427
|
+
/** @internal */
|
|
3428
|
+
export const RunAgentFallbackModelConfigurationThinkingLevel$inboundSchema:
|
|
3429
|
+
z.ZodNativeEnum<typeof RunAgentFallbackModelConfigurationThinkingLevel> = z
|
|
3430
|
+
.nativeEnum(RunAgentFallbackModelConfigurationThinkingLevel);
|
|
3431
|
+
/** @internal */
|
|
3432
|
+
export const RunAgentFallbackModelConfigurationThinkingLevel$outboundSchema:
|
|
3433
|
+
z.ZodNativeEnum<typeof RunAgentFallbackModelConfigurationThinkingLevel> =
|
|
3434
|
+
RunAgentFallbackModelConfigurationThinkingLevel$inboundSchema;
|
|
3435
|
+
|
|
3374
3436
|
/** @internal */
|
|
3375
3437
|
export const RunAgentFallbackModelConfigurationThinking$inboundSchema:
|
|
3376
3438
|
z.ZodType<RunAgentFallbackModelConfigurationThinking, z.ZodTypeDef, unknown> =
|
|
3377
3439
|
z.object({
|
|
3378
3440
|
type: RunAgentFallbackModelConfigurationType$inboundSchema,
|
|
3379
3441
|
budget_tokens: z.number(),
|
|
3442
|
+
thinking_level:
|
|
3443
|
+
RunAgentFallbackModelConfigurationThinkingLevel$inboundSchema
|
|
3444
|
+
.optional(),
|
|
3380
3445
|
}).transform((v) => {
|
|
3381
3446
|
return remap$(v, {
|
|
3382
3447
|
"budget_tokens": "budgetTokens",
|
|
3448
|
+
"thinking_level": "thinkingLevel",
|
|
3383
3449
|
});
|
|
3384
3450
|
});
|
|
3385
3451
|
/** @internal */
|
|
3386
3452
|
export type RunAgentFallbackModelConfigurationThinking$Outbound = {
|
|
3387
3453
|
type: string;
|
|
3388
3454
|
budget_tokens: number;
|
|
3455
|
+
thinking_level?: string | undefined;
|
|
3389
3456
|
};
|
|
3390
3457
|
|
|
3391
3458
|
/** @internal */
|
|
@@ -3397,9 +3464,12 @@ export const RunAgentFallbackModelConfigurationThinking$outboundSchema:
|
|
|
3397
3464
|
> = z.object({
|
|
3398
3465
|
type: RunAgentFallbackModelConfigurationType$outboundSchema,
|
|
3399
3466
|
budgetTokens: z.number(),
|
|
3467
|
+
thinkingLevel:
|
|
3468
|
+
RunAgentFallbackModelConfigurationThinkingLevel$outboundSchema.optional(),
|
|
3400
3469
|
}).transform((v) => {
|
|
3401
3470
|
return remap$(v, {
|
|
3402
3471
|
budgetTokens: "budget_tokens",
|
|
3472
|
+
thinkingLevel: "thinking_level",
|
|
3403
3473
|
});
|
|
3404
3474
|
});
|
|
3405
3475
|
|
|
@@ -4687,12 +4757,14 @@ export function schemaFromJSON(
|
|
|
4687
4757
|
/** @internal */
|
|
4688
4758
|
export const Tools$inboundSchema: z.ZodType<Tools, z.ZodTypeDef, unknown> = z
|
|
4689
4759
|
.object({
|
|
4760
|
+
id: z.string().default("01KAD4TR9Q17HN5ZNE6N20V4SW"),
|
|
4690
4761
|
name: z.string(),
|
|
4691
4762
|
description: z.string().optional(),
|
|
4692
4763
|
schema: z.lazy(() => Schema$inboundSchema),
|
|
4693
4764
|
});
|
|
4694
4765
|
/** @internal */
|
|
4695
4766
|
export type Tools$Outbound = {
|
|
4767
|
+
id: string;
|
|
4696
4768
|
name: string;
|
|
4697
4769
|
description?: string | undefined;
|
|
4698
4770
|
schema: Schema$Outbound;
|
|
@@ -4704,6 +4776,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
4704
4776
|
z.ZodTypeDef,
|
|
4705
4777
|
Tools
|
|
4706
4778
|
> = z.object({
|
|
4779
|
+
id: z.string().default("01KAD4TR9Q17HN5ZNE6N20V4SW"),
|
|
4707
4780
|
name: z.string(),
|
|
4708
4781
|
description: z.string().optional(),
|
|
4709
4782
|
schema: z.lazy(() => Schema$outboundSchema),
|
|
@@ -84,7 +84,7 @@ export type StreamRunAgentResponseFormatAgentsJsonSchema = {
|
|
|
84
84
|
/**
|
|
85
85
|
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
|
|
86
86
|
*/
|
|
87
|
-
strict?: boolean | undefined;
|
|
87
|
+
strict?: boolean | null | undefined;
|
|
88
88
|
};
|
|
89
89
|
|
|
90
90
|
/**
|
|
@@ -166,6 +166,20 @@ export type StreamRunAgentModelConfigurationType = ClosedEnum<
|
|
|
166
166
|
typeof StreamRunAgentModelConfigurationType
|
|
167
167
|
>;
|
|
168
168
|
|
|
169
|
+
/**
|
|
170
|
+
* 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.
|
|
171
|
+
*/
|
|
172
|
+
export const StreamRunAgentModelConfigurationThinkingLevel = {
|
|
173
|
+
Low: "low",
|
|
174
|
+
High: "high",
|
|
175
|
+
} as const;
|
|
176
|
+
/**
|
|
177
|
+
* 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.
|
|
178
|
+
*/
|
|
179
|
+
export type StreamRunAgentModelConfigurationThinkingLevel = ClosedEnum<
|
|
180
|
+
typeof StreamRunAgentModelConfigurationThinkingLevel
|
|
181
|
+
>;
|
|
182
|
+
|
|
169
183
|
export type StreamRunAgentModelConfigurationThinking = {
|
|
170
184
|
/**
|
|
171
185
|
* Enables or disables the thinking mode capability
|
|
@@ -175,6 +189,10 @@ export type StreamRunAgentModelConfigurationThinking = {
|
|
|
175
189
|
* 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`.
|
|
176
190
|
*/
|
|
177
191
|
budgetTokens: number;
|
|
192
|
+
/**
|
|
193
|
+
* 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.
|
|
194
|
+
*/
|
|
195
|
+
thinkingLevel?: StreamRunAgentModelConfigurationThinkingLevel | undefined;
|
|
178
196
|
};
|
|
179
197
|
|
|
180
198
|
/**
|
|
@@ -448,7 +466,7 @@ export type StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema = {
|
|
|
448
466
|
/**
|
|
449
467
|
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
|
|
450
468
|
*/
|
|
451
|
-
strict?: boolean | undefined;
|
|
469
|
+
strict?: boolean | null | undefined;
|
|
452
470
|
};
|
|
453
471
|
|
|
454
472
|
/**
|
|
@@ -534,6 +552,20 @@ export type StreamRunAgentFallbackModelConfigurationType = ClosedEnum<
|
|
|
534
552
|
typeof StreamRunAgentFallbackModelConfigurationType
|
|
535
553
|
>;
|
|
536
554
|
|
|
555
|
+
/**
|
|
556
|
+
* 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.
|
|
557
|
+
*/
|
|
558
|
+
export const StreamRunAgentFallbackModelConfigurationThinkingLevel = {
|
|
559
|
+
Low: "low",
|
|
560
|
+
High: "high",
|
|
561
|
+
} as const;
|
|
562
|
+
/**
|
|
563
|
+
* 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.
|
|
564
|
+
*/
|
|
565
|
+
export type StreamRunAgentFallbackModelConfigurationThinkingLevel = ClosedEnum<
|
|
566
|
+
typeof StreamRunAgentFallbackModelConfigurationThinkingLevel
|
|
567
|
+
>;
|
|
568
|
+
|
|
537
569
|
export type StreamRunAgentFallbackModelConfigurationThinking = {
|
|
538
570
|
/**
|
|
539
571
|
* Enables or disables the thinking mode capability
|
|
@@ -543,6 +575,12 @@ export type StreamRunAgentFallbackModelConfigurationThinking = {
|
|
|
543
575
|
* 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`.
|
|
544
576
|
*/
|
|
545
577
|
budgetTokens: number;
|
|
578
|
+
/**
|
|
579
|
+
* 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.
|
|
580
|
+
*/
|
|
581
|
+
thinkingLevel?:
|
|
582
|
+
| StreamRunAgentFallbackModelConfigurationThinkingLevel
|
|
583
|
+
| undefined;
|
|
546
584
|
};
|
|
547
585
|
|
|
548
586
|
/**
|
|
@@ -976,6 +1014,7 @@ export type AgentToolInputRunSchema = {
|
|
|
976
1014
|
};
|
|
977
1015
|
|
|
978
1016
|
export type AgentToolInputRunTools = {
|
|
1017
|
+
id?: string | undefined;
|
|
979
1018
|
name: string;
|
|
980
1019
|
description?: string | undefined;
|
|
981
1020
|
schema: AgentToolInputRunSchema;
|
|
@@ -1867,14 +1906,14 @@ export const StreamRunAgentResponseFormatAgentsJsonSchema$inboundSchema:
|
|
|
1867
1906
|
description: z.string().optional(),
|
|
1868
1907
|
name: z.string(),
|
|
1869
1908
|
schema: z.any().optional(),
|
|
1870
|
-
strict: z.boolean().optional(),
|
|
1909
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
1871
1910
|
});
|
|
1872
1911
|
/** @internal */
|
|
1873
1912
|
export type StreamRunAgentResponseFormatAgentsJsonSchema$Outbound = {
|
|
1874
1913
|
description?: string | undefined;
|
|
1875
1914
|
name: string;
|
|
1876
1915
|
schema?: any | undefined;
|
|
1877
|
-
strict?: boolean | undefined;
|
|
1916
|
+
strict?: boolean | null | undefined;
|
|
1878
1917
|
};
|
|
1879
1918
|
|
|
1880
1919
|
/** @internal */
|
|
@@ -1887,7 +1926,7 @@ export const StreamRunAgentResponseFormatAgentsJsonSchema$outboundSchema:
|
|
|
1887
1926
|
description: z.string().optional(),
|
|
1888
1927
|
name: z.string(),
|
|
1889
1928
|
schema: z.any().optional(),
|
|
1890
|
-
strict: z.boolean().optional(),
|
|
1929
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
1891
1930
|
});
|
|
1892
1931
|
|
|
1893
1932
|
export function streamRunAgentResponseFormatAgentsJsonSchemaToJSON(
|
|
@@ -2238,6 +2277,15 @@ export const StreamRunAgentModelConfigurationType$outboundSchema:
|
|
|
2238
2277
|
z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationType> =
|
|
2239
2278
|
StreamRunAgentModelConfigurationType$inboundSchema;
|
|
2240
2279
|
|
|
2280
|
+
/** @internal */
|
|
2281
|
+
export const StreamRunAgentModelConfigurationThinkingLevel$inboundSchema:
|
|
2282
|
+
z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationThinkingLevel> = z
|
|
2283
|
+
.nativeEnum(StreamRunAgentModelConfigurationThinkingLevel);
|
|
2284
|
+
/** @internal */
|
|
2285
|
+
export const StreamRunAgentModelConfigurationThinkingLevel$outboundSchema:
|
|
2286
|
+
z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationThinkingLevel> =
|
|
2287
|
+
StreamRunAgentModelConfigurationThinkingLevel$inboundSchema;
|
|
2288
|
+
|
|
2241
2289
|
/** @internal */
|
|
2242
2290
|
export const StreamRunAgentModelConfigurationThinking$inboundSchema: z.ZodType<
|
|
2243
2291
|
StreamRunAgentModelConfigurationThinking,
|
|
@@ -2246,15 +2294,19 @@ export const StreamRunAgentModelConfigurationThinking$inboundSchema: z.ZodType<
|
|
|
2246
2294
|
> = z.object({
|
|
2247
2295
|
type: StreamRunAgentModelConfigurationType$inboundSchema,
|
|
2248
2296
|
budget_tokens: z.number(),
|
|
2297
|
+
thinking_level: StreamRunAgentModelConfigurationThinkingLevel$inboundSchema
|
|
2298
|
+
.optional(),
|
|
2249
2299
|
}).transform((v) => {
|
|
2250
2300
|
return remap$(v, {
|
|
2251
2301
|
"budget_tokens": "budgetTokens",
|
|
2302
|
+
"thinking_level": "thinkingLevel",
|
|
2252
2303
|
});
|
|
2253
2304
|
});
|
|
2254
2305
|
/** @internal */
|
|
2255
2306
|
export type StreamRunAgentModelConfigurationThinking$Outbound = {
|
|
2256
2307
|
type: string;
|
|
2257
2308
|
budget_tokens: number;
|
|
2309
|
+
thinking_level?: string | undefined;
|
|
2258
2310
|
};
|
|
2259
2311
|
|
|
2260
2312
|
/** @internal */
|
|
@@ -2265,9 +2317,12 @@ export const StreamRunAgentModelConfigurationThinking$outboundSchema: z.ZodType<
|
|
|
2265
2317
|
> = z.object({
|
|
2266
2318
|
type: StreamRunAgentModelConfigurationType$outboundSchema,
|
|
2267
2319
|
budgetTokens: z.number(),
|
|
2320
|
+
thinkingLevel: StreamRunAgentModelConfigurationThinkingLevel$outboundSchema
|
|
2321
|
+
.optional(),
|
|
2268
2322
|
}).transform((v) => {
|
|
2269
2323
|
return remap$(v, {
|
|
2270
2324
|
budgetTokens: "budget_tokens",
|
|
2325
|
+
thinkingLevel: "thinking_level",
|
|
2271
2326
|
});
|
|
2272
2327
|
});
|
|
2273
2328
|
|
|
@@ -2878,7 +2933,7 @@ export const StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$inbo
|
|
|
2878
2933
|
description: z.string().optional(),
|
|
2879
2934
|
name: z.string(),
|
|
2880
2935
|
schema: z.any().optional(),
|
|
2881
|
-
strict: z.boolean().optional(),
|
|
2936
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2882
2937
|
});
|
|
2883
2938
|
/** @internal */
|
|
2884
2939
|
export type StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound =
|
|
@@ -2886,7 +2941,7 @@ export type StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbo
|
|
|
2886
2941
|
description?: string | undefined;
|
|
2887
2942
|
name: string;
|
|
2888
2943
|
schema?: any | undefined;
|
|
2889
|
-
strict?: boolean | undefined;
|
|
2944
|
+
strict?: boolean | null | undefined;
|
|
2890
2945
|
};
|
|
2891
2946
|
|
|
2892
2947
|
/** @internal */
|
|
@@ -2899,7 +2954,7 @@ export const StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$outb
|
|
|
2899
2954
|
description: z.string().optional(),
|
|
2900
2955
|
name: z.string(),
|
|
2901
2956
|
schema: z.any().optional(),
|
|
2902
|
-
strict: z.boolean().optional(),
|
|
2957
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
2903
2958
|
});
|
|
2904
2959
|
|
|
2905
2960
|
export function streamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchemaToJSON(
|
|
@@ -3285,6 +3340,17 @@ export const StreamRunAgentFallbackModelConfigurationType$outboundSchema:
|
|
|
3285
3340
|
z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationType> =
|
|
3286
3341
|
StreamRunAgentFallbackModelConfigurationType$inboundSchema;
|
|
3287
3342
|
|
|
3343
|
+
/** @internal */
|
|
3344
|
+
export const StreamRunAgentFallbackModelConfigurationThinkingLevel$inboundSchema:
|
|
3345
|
+
z.ZodNativeEnum<
|
|
3346
|
+
typeof StreamRunAgentFallbackModelConfigurationThinkingLevel
|
|
3347
|
+
> = z.nativeEnum(StreamRunAgentFallbackModelConfigurationThinkingLevel);
|
|
3348
|
+
/** @internal */
|
|
3349
|
+
export const StreamRunAgentFallbackModelConfigurationThinkingLevel$outboundSchema:
|
|
3350
|
+
z.ZodNativeEnum<
|
|
3351
|
+
typeof StreamRunAgentFallbackModelConfigurationThinkingLevel
|
|
3352
|
+
> = StreamRunAgentFallbackModelConfigurationThinkingLevel$inboundSchema;
|
|
3353
|
+
|
|
3288
3354
|
/** @internal */
|
|
3289
3355
|
export const StreamRunAgentFallbackModelConfigurationThinking$inboundSchema:
|
|
3290
3356
|
z.ZodType<
|
|
@@ -3294,15 +3360,20 @@ export const StreamRunAgentFallbackModelConfigurationThinking$inboundSchema:
|
|
|
3294
3360
|
> = z.object({
|
|
3295
3361
|
type: StreamRunAgentFallbackModelConfigurationType$inboundSchema,
|
|
3296
3362
|
budget_tokens: z.number(),
|
|
3363
|
+
thinking_level:
|
|
3364
|
+
StreamRunAgentFallbackModelConfigurationThinkingLevel$inboundSchema
|
|
3365
|
+
.optional(),
|
|
3297
3366
|
}).transform((v) => {
|
|
3298
3367
|
return remap$(v, {
|
|
3299
3368
|
"budget_tokens": "budgetTokens",
|
|
3369
|
+
"thinking_level": "thinkingLevel",
|
|
3300
3370
|
});
|
|
3301
3371
|
});
|
|
3302
3372
|
/** @internal */
|
|
3303
3373
|
export type StreamRunAgentFallbackModelConfigurationThinking$Outbound = {
|
|
3304
3374
|
type: string;
|
|
3305
3375
|
budget_tokens: number;
|
|
3376
|
+
thinking_level?: string | undefined;
|
|
3306
3377
|
};
|
|
3307
3378
|
|
|
3308
3379
|
/** @internal */
|
|
@@ -3314,9 +3385,13 @@ export const StreamRunAgentFallbackModelConfigurationThinking$outboundSchema:
|
|
|
3314
3385
|
> = z.object({
|
|
3315
3386
|
type: StreamRunAgentFallbackModelConfigurationType$outboundSchema,
|
|
3316
3387
|
budgetTokens: z.number(),
|
|
3388
|
+
thinkingLevel:
|
|
3389
|
+
StreamRunAgentFallbackModelConfigurationThinkingLevel$outboundSchema
|
|
3390
|
+
.optional(),
|
|
3317
3391
|
}).transform((v) => {
|
|
3318
3392
|
return remap$(v, {
|
|
3319
3393
|
budgetTokens: "budget_tokens",
|
|
3394
|
+
thinkingLevel: "thinking_level",
|
|
3320
3395
|
});
|
|
3321
3396
|
});
|
|
3322
3397
|
|
|
@@ -4709,12 +4784,14 @@ export const AgentToolInputRunTools$inboundSchema: z.ZodType<
|
|
|
4709
4784
|
z.ZodTypeDef,
|
|
4710
4785
|
unknown
|
|
4711
4786
|
> = z.object({
|
|
4787
|
+
id: z.string().default("01KAD4TRAENBG3TXYP990STGQZ"),
|
|
4712
4788
|
name: z.string(),
|
|
4713
4789
|
description: z.string().optional(),
|
|
4714
4790
|
schema: z.lazy(() => AgentToolInputRunSchema$inboundSchema),
|
|
4715
4791
|
});
|
|
4716
4792
|
/** @internal */
|
|
4717
4793
|
export type AgentToolInputRunTools$Outbound = {
|
|
4794
|
+
id: string;
|
|
4718
4795
|
name: string;
|
|
4719
4796
|
description?: string | undefined;
|
|
4720
4797
|
schema: AgentToolInputRunSchema$Outbound;
|
|
@@ -4726,6 +4803,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
4726
4803
|
z.ZodTypeDef,
|
|
4727
4804
|
AgentToolInputRunTools
|
|
4728
4805
|
> = z.object({
|
|
4806
|
+
id: z.string().default("01KAD4TRAENBG3TXYP990STGQZ"),
|
|
4729
4807
|
name: z.string(),
|
|
4730
4808
|
description: z.string().optional(),
|
|
4731
4809
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|