@orq-ai/node 4.12.0-rc.2 → 4.12.0-rc.5
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 +45 -41
- package/funcs/agentsResponsesCreate.d.ts +2 -0
- package/funcs/agentsResponsesCreate.d.ts.map +1 -1
- package/funcs/agentsResponsesCreate.js +2 -0
- package/funcs/agentsResponsesCreate.js.map +1 -1
- package/funcs/agentsResponsesGet.d.ts +2 -0
- package/funcs/agentsResponsesGet.d.ts.map +1 -1
- package/funcs/agentsResponsesGet.js +2 -0
- package/funcs/agentsResponsesGet.js.map +1 -1
- package/funcs/modelsImportLitellm.d.ts +17 -0
- package/funcs/modelsImportLitellm.d.ts.map +1 -0
- package/funcs/modelsImportLitellm.js +118 -0
- package/funcs/modelsImportLitellm.js.map +1 -0
- package/funcs/modelsListLitellm.d.ts +18 -0
- package/funcs/modelsListLitellm.d.ts.map +1 -0
- package/funcs/modelsListLitellm.js +105 -0
- package/funcs/modelsListLitellm.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/agentstartedstreamingevent.d.ts +4 -0
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentstartedstreamingevent.js +2 -0
- package/models/components/agentstartedstreamingevent.js.map +1 -1
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/filepurpose.d.ts +1 -0
- package/models/components/filepurpose.d.ts.map +1 -1
- package/models/components/filepurpose.js +1 -0
- package/models/components/filepurpose.js.map +1 -1
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/litellmmodel.d.ts +18 -0
- package/models/components/litellmmodel.d.ts.map +1 -0
- package/models/components/litellmmodel.js +60 -0
- package/models/components/litellmmodel.js.map +1 -0
- package/models/components/litellmmodelinfo.d.ts +44 -0
- package/models/components/litellmmodelinfo.d.ts.map +1 -0
- package/models/components/litellmmodelinfo.js +83 -0
- package/models/components/litellmmodelinfo.js.map +1 -0
- package/models/components/litellmparams.d.ts +18 -0
- package/models/components/litellmparams.d.ts.map +1 -0
- package/models/components/litellmparams.js +59 -0
- package/models/components/litellmparams.js.map +1 -0
- package/models/components/modeldocument.d.ts +39 -0
- package/models/components/modeldocument.d.ts.map +1 -0
- package/models/components/modeldocument.js +99 -0
- package/models/components/modeldocument.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +66 -24
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +46 -21
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createprompt.d.ts +1 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +1 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +71 -0
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +39 -2
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentinvoke.d.ts +1 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +1 -0
- 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 +1 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +1 -0
- package/models/operations/deploymentstream.js.map +1 -1
- 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.js +6 -6
- 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/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/invokeeval.d.ts +1 -1
- package/models/operations/invokeeval.d.ts.map +1 -1
- package/models/operations/invokeeval.js +1 -1
- package/models/operations/invokeeval.js.map +1 -1
- package/models/operations/listagents.d.ts +4 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +2 -0
- 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/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/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +4 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +2 -0
- 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/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +52 -20
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +34 -16
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +52 -20
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +34 -16
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +66 -24
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +46 -21
- 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/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.js +7 -7
- package/package.json +3 -3
- package/sdk/feedback.d.ts +1 -4
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +1 -4
- package/sdk/feedback.js.map +1 -1
- package/sdk/models.d.ts +17 -0
- package/sdk/models.d.ts.map +1 -1
- package/sdk/models.js +20 -0
- package/sdk/models.js.map +1 -1
- package/sdk/orqresponses.d.ts +4 -0
- package/sdk/orqresponses.d.ts.map +1 -1
- package/sdk/orqresponses.js +4 -0
- package/sdk/orqresponses.js.map +1 -1
- package/src/funcs/agentsResponsesCreate.ts +2 -0
- package/src/funcs/agentsResponsesGet.ts +2 -0
- package/src/funcs/modelsImportLitellm.ts +166 -0
- package/src/funcs/modelsListLitellm.ts +144 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/agentstartedstreamingevent.ts +6 -0
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/filepurpose.ts +1 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/litellmmodel.ts +50 -0
- package/src/models/components/litellmmodelinfo.ts +97 -0
- package/src/models/components/litellmparams.ts +43 -0
- package/src/models/components/modeldocument.ts +112 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +123 -40
- 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/createprompt.ts +1 -0
- package/src/models/operations/createrouterresponse.ts +108 -0
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentinvoke.ts +1 -0
- package/src/models/operations/deployments.ts +1 -0
- package/src/models/operations/deploymentstream.ts +1 -0
- package/src/models/operations/getallprompts.ts +1 -0
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getoneprompt.ts +1 -0
- package/src/models/operations/getpromptversion.ts +1 -0
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/invokeeval.ts +2 -2
- package/src/models/operations/listagents.ts +6 -0
- 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/listpromptversions.ts +1 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +6 -0
- 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/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +93 -33
- package/src/models/operations/streamrunagent.ts +99 -33
- package/src/models/operations/updateagent.ts +125 -40
- 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/updateprompt.ts +1 -0
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +1 -4
- package/src/sdk/models.ts +35 -0
- package/src/sdk/orqresponses.ts +4 -0
|
@@ -1031,16 +1031,16 @@ export type AgentToolInputCRUDProviderBuiltInTool = {
|
|
|
1031
1031
|
/**
|
|
1032
1032
|
* MCP tool type
|
|
1033
1033
|
*/
|
|
1034
|
-
export const
|
|
1034
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools17Type =
|
|
1035
1035
|
{
|
|
1036
1036
|
Mcp: "mcp",
|
|
1037
1037
|
} as const;
|
|
1038
1038
|
/**
|
|
1039
1039
|
* MCP tool type
|
|
1040
1040
|
*/
|
|
1041
|
-
export type
|
|
1041
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools17Type =
|
|
1042
1042
|
ClosedEnum<
|
|
1043
|
-
typeof
|
|
1043
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools17Type
|
|
1044
1044
|
>;
|
|
1045
1045
|
|
|
1046
1046
|
/**
|
|
@@ -1051,7 +1051,7 @@ export type AgentToolInputCRUDMCPTool = {
|
|
|
1051
1051
|
* MCP tool type
|
|
1052
1052
|
*/
|
|
1053
1053
|
type?:
|
|
1054
|
-
|
|
|
1054
|
+
| UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools17Type
|
|
1055
1055
|
| undefined;
|
|
1056
1056
|
/**
|
|
1057
1057
|
* The key of the parent MCP tool
|
|
@@ -1074,16 +1074,16 @@ export type AgentToolInputCRUDMCPTool = {
|
|
|
1074
1074
|
/**
|
|
1075
1075
|
* JSON Schema tool type
|
|
1076
1076
|
*/
|
|
1077
|
-
export const
|
|
1077
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type =
|
|
1078
1078
|
{
|
|
1079
1079
|
JsonSchema: "json_schema",
|
|
1080
1080
|
} as const;
|
|
1081
1081
|
/**
|
|
1082
1082
|
* JSON Schema tool type
|
|
1083
1083
|
*/
|
|
1084
|
-
export type
|
|
1084
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type =
|
|
1085
1085
|
ClosedEnum<
|
|
1086
|
-
typeof
|
|
1086
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type
|
|
1087
1087
|
>;
|
|
1088
1088
|
|
|
1089
1089
|
/**
|
|
@@ -1094,7 +1094,7 @@ export type AgentToolInputCRUDJSONSchemaTool = {
|
|
|
1094
1094
|
* JSON Schema tool type
|
|
1095
1095
|
*/
|
|
1096
1096
|
type?:
|
|
1097
|
-
|
|
|
1097
|
+
| UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type
|
|
1098
1098
|
| undefined;
|
|
1099
1099
|
/**
|
|
1100
1100
|
* The key of the pre-created JSON Schema tool
|
|
@@ -1113,16 +1113,16 @@ export type AgentToolInputCRUDJSONSchemaTool = {
|
|
|
1113
1113
|
/**
|
|
1114
1114
|
* Function tool type
|
|
1115
1115
|
*/
|
|
1116
|
-
export const
|
|
1116
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type =
|
|
1117
1117
|
{
|
|
1118
1118
|
Function: "function",
|
|
1119
1119
|
} as const;
|
|
1120
1120
|
/**
|
|
1121
1121
|
* Function tool type
|
|
1122
1122
|
*/
|
|
1123
|
-
export type
|
|
1123
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type =
|
|
1124
1124
|
ClosedEnum<
|
|
1125
|
-
typeof
|
|
1125
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
|
|
1126
1126
|
>;
|
|
1127
1127
|
|
|
1128
1128
|
/**
|
|
@@ -1133,7 +1133,7 @@ export type AgentToolInputCRUDFunctionTool = {
|
|
|
1133
1133
|
* Function tool type
|
|
1134
1134
|
*/
|
|
1135
1135
|
type?:
|
|
1136
|
-
|
|
|
1136
|
+
| UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
|
|
1137
1137
|
| undefined;
|
|
1138
1138
|
/**
|
|
1139
1139
|
* The key of the pre-created function tool
|
|
@@ -1152,16 +1152,16 @@ export type AgentToolInputCRUDFunctionTool = {
|
|
|
1152
1152
|
/**
|
|
1153
1153
|
* Code execution tool type
|
|
1154
1154
|
*/
|
|
1155
|
-
export const
|
|
1155
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type =
|
|
1156
1156
|
{
|
|
1157
1157
|
Code: "code",
|
|
1158
1158
|
} as const;
|
|
1159
1159
|
/**
|
|
1160
1160
|
* Code execution tool type
|
|
1161
1161
|
*/
|
|
1162
|
-
export type
|
|
1162
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type =
|
|
1163
1163
|
ClosedEnum<
|
|
1164
|
-
typeof
|
|
1164
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
|
|
1165
1165
|
>;
|
|
1166
1166
|
|
|
1167
1167
|
/**
|
|
@@ -1172,7 +1172,7 @@ export type AgentToolInputCRUDCodeExecutionTool = {
|
|
|
1172
1172
|
* Code execution tool type
|
|
1173
1173
|
*/
|
|
1174
1174
|
type?:
|
|
1175
|
-
|
|
|
1175
|
+
| UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
|
|
1176
1176
|
| undefined;
|
|
1177
1177
|
/**
|
|
1178
1178
|
* The key of the pre-created code tool
|
|
@@ -1191,16 +1191,16 @@ export type AgentToolInputCRUDCodeExecutionTool = {
|
|
|
1191
1191
|
/**
|
|
1192
1192
|
* HTTP tool type
|
|
1193
1193
|
*/
|
|
1194
|
-
export const
|
|
1194
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type =
|
|
1195
1195
|
{
|
|
1196
1196
|
Http: "http",
|
|
1197
1197
|
} as const;
|
|
1198
1198
|
/**
|
|
1199
1199
|
* HTTP tool type
|
|
1200
1200
|
*/
|
|
1201
|
-
export type
|
|
1201
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type =
|
|
1202
1202
|
ClosedEnum<
|
|
1203
|
-
typeof
|
|
1203
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
|
|
1204
1204
|
>;
|
|
1205
1205
|
|
|
1206
1206
|
/**
|
|
@@ -1211,7 +1211,7 @@ export type AgentToolInputCRUDHTTPTool = {
|
|
|
1211
1211
|
* HTTP tool type
|
|
1212
1212
|
*/
|
|
1213
1213
|
type?:
|
|
1214
|
-
|
|
|
1214
|
+
| UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
|
|
1215
1215
|
| undefined;
|
|
1216
1216
|
/**
|
|
1217
1217
|
* The key of the pre-created HTTP tool
|
|
@@ -1227,6 +1227,31 @@ export type AgentToolInputCRUDHTTPTool = {
|
|
|
1227
1227
|
requiresApproval?: boolean | undefined;
|
|
1228
1228
|
};
|
|
1229
1229
|
|
|
1230
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type =
|
|
1231
|
+
{
|
|
1232
|
+
CodeInterpreter: "code_interpreter",
|
|
1233
|
+
} as const;
|
|
1234
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type =
|
|
1235
|
+
ClosedEnum<
|
|
1236
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type
|
|
1237
|
+
>;
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* Executes model-written Python code. Uses provider-native code execution when the model supports it, otherwise a secure orq-managed sandbox.
|
|
1241
|
+
*/
|
|
1242
|
+
export type AgentToolInputCRUDCodeInterpreterTool = {
|
|
1243
|
+
type:
|
|
1244
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type;
|
|
1245
|
+
/**
|
|
1246
|
+
* Whether this tool requires approval before execution
|
|
1247
|
+
*/
|
|
1248
|
+
requiresApproval?: boolean | undefined;
|
|
1249
|
+
/**
|
|
1250
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1251
|
+
*/
|
|
1252
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1253
|
+
};
|
|
1254
|
+
|
|
1230
1255
|
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type =
|
|
1231
1256
|
{
|
|
1232
1257
|
CurrentDate: "current_date",
|
|
@@ -1499,6 +1524,7 @@ export type UpdateAgentAgentToolInputCRUD =
|
|
|
1499
1524
|
| AgentToolInputCRUDRetrieveKnowledgeBasesTool
|
|
1500
1525
|
| AgentToolInputCRUDQueryKnowledgeBaseTool
|
|
1501
1526
|
| AgentToolInputCRUDCurrentDateTool
|
|
1527
|
+
| AgentToolInputCRUDCodeInterpreterTool
|
|
1502
1528
|
| AgentToolInputCRUDMCPTool
|
|
1503
1529
|
| AgentToolInputCRUDProviderBuiltInTool
|
|
1504
1530
|
| AgentToolInputCRUDHTTPTool
|
|
@@ -1567,6 +1593,10 @@ export type UpdateAgentSettings = {
|
|
|
1567
1593
|
maxExecutionTime?: number | undefined;
|
|
1568
1594
|
maxCost?: number | undefined;
|
|
1569
1595
|
toolApprovalRequired?: UpdateAgentToolApprovalRequired | undefined;
|
|
1596
|
+
/**
|
|
1597
|
+
* When enabled, this agent is exposed as a selectable target in AI Chat for users to consume.
|
|
1598
|
+
*/
|
|
1599
|
+
chatExposed?: boolean | undefined;
|
|
1570
1600
|
tools?:
|
|
1571
1601
|
| Array<
|
|
1572
1602
|
| AgentToolInputCRUDGoogleSearchTool
|
|
@@ -1580,6 +1610,7 @@ export type UpdateAgentSettings = {
|
|
|
1580
1610
|
| AgentToolInputCRUDRetrieveKnowledgeBasesTool
|
|
1581
1611
|
| AgentToolInputCRUDQueryKnowledgeBaseTool
|
|
1582
1612
|
| AgentToolInputCRUDCurrentDateTool
|
|
1613
|
+
| AgentToolInputCRUDCodeInterpreterTool
|
|
1583
1614
|
| AgentToolInputCRUDMCPTool
|
|
1584
1615
|
| AgentToolInputCRUDProviderBuiltInTool
|
|
1585
1616
|
| AgentToolInputCRUDHTTPTool
|
|
@@ -1909,6 +1940,10 @@ export type UpdateAgentAgentsSettings = {
|
|
|
1909
1940
|
* 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.
|
|
1910
1941
|
*/
|
|
1911
1942
|
toolApprovalRequired: UpdateAgentAgentsToolApprovalRequired;
|
|
1943
|
+
/**
|
|
1944
|
+
* When enabled, this agent is exposed as a selectable target in AI Chat for users to consume.
|
|
1945
|
+
*/
|
|
1946
|
+
chatExposed?: boolean | undefined;
|
|
1912
1947
|
tools?: Array<UpdateAgentTools> | undefined;
|
|
1913
1948
|
/**
|
|
1914
1949
|
* Configuration for an evaluator applied to the agent
|
|
@@ -4632,11 +4667,11 @@ export function agentToolInputCRUDProviderBuiltInToolToJSON(
|
|
|
4632
4667
|
}
|
|
4633
4668
|
|
|
4634
4669
|
/** @internal */
|
|
4635
|
-
export const
|
|
4670
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools17Type$outboundSchema:
|
|
4636
4671
|
z.ZodNativeEnum<
|
|
4637
|
-
typeof
|
|
4672
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools17Type
|
|
4638
4673
|
> = z.nativeEnum(
|
|
4639
|
-
|
|
4674
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools17Type,
|
|
4640
4675
|
);
|
|
4641
4676
|
|
|
4642
4677
|
/** @internal */
|
|
@@ -4655,7 +4690,7 @@ export const AgentToolInputCRUDMCPTool$outboundSchema: z.ZodType<
|
|
|
4655
4690
|
AgentToolInputCRUDMCPTool
|
|
4656
4691
|
> = z.object({
|
|
4657
4692
|
type:
|
|
4658
|
-
|
|
4693
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools17Type$outboundSchema
|
|
4659
4694
|
.default("mcp"),
|
|
4660
4695
|
key: z.string().optional(),
|
|
4661
4696
|
id: z.string().optional(),
|
|
@@ -4677,11 +4712,11 @@ export function agentToolInputCRUDMCPToolToJSON(
|
|
|
4677
4712
|
}
|
|
4678
4713
|
|
|
4679
4714
|
/** @internal */
|
|
4680
|
-
export const
|
|
4715
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type$outboundSchema:
|
|
4681
4716
|
z.ZodNativeEnum<
|
|
4682
|
-
typeof
|
|
4717
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type
|
|
4683
4718
|
> = z.nativeEnum(
|
|
4684
|
-
|
|
4719
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type,
|
|
4685
4720
|
);
|
|
4686
4721
|
|
|
4687
4722
|
/** @internal */
|
|
@@ -4699,7 +4734,7 @@ export const AgentToolInputCRUDJSONSchemaTool$outboundSchema: z.ZodType<
|
|
|
4699
4734
|
AgentToolInputCRUDJSONSchemaTool
|
|
4700
4735
|
> = z.object({
|
|
4701
4736
|
type:
|
|
4702
|
-
|
|
4737
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type$outboundSchema
|
|
4703
4738
|
.default("json_schema"),
|
|
4704
4739
|
key: z.string().optional(),
|
|
4705
4740
|
id: z.string().optional(),
|
|
@@ -4721,11 +4756,11 @@ export function agentToolInputCRUDJSONSchemaToolToJSON(
|
|
|
4721
4756
|
}
|
|
4722
4757
|
|
|
4723
4758
|
/** @internal */
|
|
4724
|
-
export const
|
|
4759
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema:
|
|
4725
4760
|
z.ZodNativeEnum<
|
|
4726
|
-
typeof
|
|
4761
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
|
|
4727
4762
|
> = z.nativeEnum(
|
|
4728
|
-
|
|
4763
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type,
|
|
4729
4764
|
);
|
|
4730
4765
|
|
|
4731
4766
|
/** @internal */
|
|
@@ -4743,7 +4778,7 @@ export const AgentToolInputCRUDFunctionTool$outboundSchema: z.ZodType<
|
|
|
4743
4778
|
AgentToolInputCRUDFunctionTool
|
|
4744
4779
|
> = z.object({
|
|
4745
4780
|
type:
|
|
4746
|
-
|
|
4781
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema
|
|
4747
4782
|
.default("function"),
|
|
4748
4783
|
key: z.string().optional(),
|
|
4749
4784
|
id: z.string().optional(),
|
|
@@ -4765,11 +4800,11 @@ export function agentToolInputCRUDFunctionToolToJSON(
|
|
|
4765
4800
|
}
|
|
4766
4801
|
|
|
4767
4802
|
/** @internal */
|
|
4768
|
-
export const
|
|
4803
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema:
|
|
4769
4804
|
z.ZodNativeEnum<
|
|
4770
|
-
typeof
|
|
4805
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
|
|
4771
4806
|
> = z.nativeEnum(
|
|
4772
|
-
|
|
4807
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type,
|
|
4773
4808
|
);
|
|
4774
4809
|
|
|
4775
4810
|
/** @internal */
|
|
@@ -4787,7 +4822,7 @@ export const AgentToolInputCRUDCodeExecutionTool$outboundSchema: z.ZodType<
|
|
|
4787
4822
|
AgentToolInputCRUDCodeExecutionTool
|
|
4788
4823
|
> = z.object({
|
|
4789
4824
|
type:
|
|
4790
|
-
|
|
4825
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema
|
|
4791
4826
|
.default("code"),
|
|
4792
4827
|
key: z.string().optional(),
|
|
4793
4828
|
id: z.string().optional(),
|
|
@@ -4809,11 +4844,11 @@ export function agentToolInputCRUDCodeExecutionToolToJSON(
|
|
|
4809
4844
|
}
|
|
4810
4845
|
|
|
4811
4846
|
/** @internal */
|
|
4812
|
-
export const
|
|
4847
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema:
|
|
4813
4848
|
z.ZodNativeEnum<
|
|
4814
|
-
typeof
|
|
4849
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
|
|
4815
4850
|
> = z.nativeEnum(
|
|
4816
|
-
|
|
4851
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type,
|
|
4817
4852
|
);
|
|
4818
4853
|
|
|
4819
4854
|
/** @internal */
|
|
@@ -4831,7 +4866,7 @@ export const AgentToolInputCRUDHTTPTool$outboundSchema: z.ZodType<
|
|
|
4831
4866
|
AgentToolInputCRUDHTTPTool
|
|
4832
4867
|
> = z.object({
|
|
4833
4868
|
type:
|
|
4834
|
-
|
|
4869
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema
|
|
4835
4870
|
.default("http"),
|
|
4836
4871
|
key: z.string().optional(),
|
|
4837
4872
|
id: z.string().optional(),
|
|
@@ -4850,6 +4885,47 @@ export function agentToolInputCRUDHTTPToolToJSON(
|
|
|
4850
4885
|
);
|
|
4851
4886
|
}
|
|
4852
4887
|
|
|
4888
|
+
/** @internal */
|
|
4889
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema:
|
|
4890
|
+
z.ZodNativeEnum<
|
|
4891
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type
|
|
4892
|
+
> = z.nativeEnum(
|
|
4893
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type,
|
|
4894
|
+
);
|
|
4895
|
+
|
|
4896
|
+
/** @internal */
|
|
4897
|
+
export type AgentToolInputCRUDCodeInterpreterTool$Outbound = {
|
|
4898
|
+
type: string;
|
|
4899
|
+
requires_approval?: boolean | undefined;
|
|
4900
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4901
|
+
};
|
|
4902
|
+
|
|
4903
|
+
/** @internal */
|
|
4904
|
+
export const AgentToolInputCRUDCodeInterpreterTool$outboundSchema: z.ZodType<
|
|
4905
|
+
AgentToolInputCRUDCodeInterpreterTool$Outbound,
|
|
4906
|
+
z.ZodTypeDef,
|
|
4907
|
+
AgentToolInputCRUDCodeInterpreterTool
|
|
4908
|
+
> = z.object({
|
|
4909
|
+
type:
|
|
4910
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema,
|
|
4911
|
+
requiresApproval: z.boolean().optional(),
|
|
4912
|
+
configuration: z.record(z.any()).optional(),
|
|
4913
|
+
}).transform((v) => {
|
|
4914
|
+
return remap$(v, {
|
|
4915
|
+
requiresApproval: "requires_approval",
|
|
4916
|
+
});
|
|
4917
|
+
});
|
|
4918
|
+
|
|
4919
|
+
export function agentToolInputCRUDCodeInterpreterToolToJSON(
|
|
4920
|
+
agentToolInputCRUDCodeInterpreterTool: AgentToolInputCRUDCodeInterpreterTool,
|
|
4921
|
+
): string {
|
|
4922
|
+
return JSON.stringify(
|
|
4923
|
+
AgentToolInputCRUDCodeInterpreterTool$outboundSchema.parse(
|
|
4924
|
+
agentToolInputCRUDCodeInterpreterTool,
|
|
4925
|
+
),
|
|
4926
|
+
);
|
|
4927
|
+
}
|
|
4928
|
+
|
|
4853
4929
|
/** @internal */
|
|
4854
4930
|
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema:
|
|
4855
4931
|
z.ZodNativeEnum<
|
|
@@ -5309,6 +5385,7 @@ export type UpdateAgentAgentToolInputCRUD$Outbound =
|
|
|
5309
5385
|
| AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound
|
|
5310
5386
|
| AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound
|
|
5311
5387
|
| AgentToolInputCRUDCurrentDateTool$Outbound
|
|
5388
|
+
| AgentToolInputCRUDCodeInterpreterTool$Outbound
|
|
5312
5389
|
| AgentToolInputCRUDMCPTool$Outbound
|
|
5313
5390
|
| AgentToolInputCRUDProviderBuiltInTool$Outbound
|
|
5314
5391
|
| AgentToolInputCRUDHTTPTool$Outbound
|
|
@@ -5333,6 +5410,7 @@ export const UpdateAgentAgentToolInputCRUD$outboundSchema: z.ZodType<
|
|
|
5333
5410
|
z.lazy(() => AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema),
|
|
5334
5411
|
z.lazy(() => AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema),
|
|
5335
5412
|
z.lazy(() => AgentToolInputCRUDCurrentDateTool$outboundSchema),
|
|
5413
|
+
z.lazy(() => AgentToolInputCRUDCodeInterpreterTool$outboundSchema),
|
|
5336
5414
|
z.lazy(() => AgentToolInputCRUDMCPTool$outboundSchema),
|
|
5337
5415
|
z.lazy(() => AgentToolInputCRUDProviderBuiltInTool$outboundSchema),
|
|
5338
5416
|
z.lazy(() => AgentToolInputCRUDHTTPTool$outboundSchema),
|
|
@@ -5429,6 +5507,7 @@ export type UpdateAgentSettings$Outbound = {
|
|
|
5429
5507
|
max_execution_time?: number | undefined;
|
|
5430
5508
|
max_cost?: number | undefined;
|
|
5431
5509
|
tool_approval_required?: string | undefined;
|
|
5510
|
+
chat_exposed?: boolean | undefined;
|
|
5432
5511
|
tools?:
|
|
5433
5512
|
| Array<
|
|
5434
5513
|
| AgentToolInputCRUDGoogleSearchTool$Outbound
|
|
@@ -5442,6 +5521,7 @@ export type UpdateAgentSettings$Outbound = {
|
|
|
5442
5521
|
| AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound
|
|
5443
5522
|
| AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound
|
|
5444
5523
|
| AgentToolInputCRUDCurrentDateTool$Outbound
|
|
5524
|
+
| AgentToolInputCRUDCodeInterpreterTool$Outbound
|
|
5445
5525
|
| AgentToolInputCRUDMCPTool$Outbound
|
|
5446
5526
|
| AgentToolInputCRUDProviderBuiltInTool$Outbound
|
|
5447
5527
|
| AgentToolInputCRUDHTTPTool$Outbound
|
|
@@ -5465,6 +5545,7 @@ export const UpdateAgentSettings$outboundSchema: z.ZodType<
|
|
|
5465
5545
|
maxCost: z.number().optional(),
|
|
5466
5546
|
toolApprovalRequired: UpdateAgentToolApprovalRequired$outboundSchema
|
|
5467
5547
|
.optional(),
|
|
5548
|
+
chatExposed: z.boolean().optional(),
|
|
5468
5549
|
tools: z.array(
|
|
5469
5550
|
z.union([
|
|
5470
5551
|
z.lazy(() => AgentToolInputCRUDGoogleSearchTool$outboundSchema),
|
|
@@ -5478,6 +5559,7 @@ export const UpdateAgentSettings$outboundSchema: z.ZodType<
|
|
|
5478
5559
|
z.lazy(() => AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema),
|
|
5479
5560
|
z.lazy(() => AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema),
|
|
5480
5561
|
z.lazy(() => AgentToolInputCRUDCurrentDateTool$outboundSchema),
|
|
5562
|
+
z.lazy(() => AgentToolInputCRUDCodeInterpreterTool$outboundSchema),
|
|
5481
5563
|
z.lazy(() => AgentToolInputCRUDMCPTool$outboundSchema),
|
|
5482
5564
|
z.lazy(() => AgentToolInputCRUDProviderBuiltInTool$outboundSchema),
|
|
5483
5565
|
z.lazy(() => AgentToolInputCRUDHTTPTool$outboundSchema),
|
|
@@ -5496,6 +5578,7 @@ export const UpdateAgentSettings$outboundSchema: z.ZodType<
|
|
|
5496
5578
|
maxExecutionTime: "max_execution_time",
|
|
5497
5579
|
maxCost: "max_cost",
|
|
5498
5580
|
toolApprovalRequired: "tool_approval_required",
|
|
5581
|
+
chatExposed: "chat_exposed",
|
|
5499
5582
|
});
|
|
5500
5583
|
});
|
|
5501
5584
|
|
|
@@ -5900,6 +5983,7 @@ export const UpdateAgentAgentsSettings$inboundSchema: z.ZodType<
|
|
|
5900
5983
|
max_cost: z.number().default(0),
|
|
5901
5984
|
tool_approval_required: UpdateAgentAgentsToolApprovalRequired$inboundSchema
|
|
5902
5985
|
.default("respect_tool"),
|
|
5986
|
+
chat_exposed: z.boolean().optional(),
|
|
5903
5987
|
tools: z.array(z.lazy(() => UpdateAgentTools$inboundSchema)).optional(),
|
|
5904
5988
|
evaluators: z.array(z.lazy(() => UpdateAgentAgentsEvaluators$inboundSchema))
|
|
5905
5989
|
.optional(),
|
|
@@ -5911,6 +5995,7 @@ export const UpdateAgentAgentsSettings$inboundSchema: z.ZodType<
|
|
|
5911
5995
|
"max_execution_time": "maxExecutionTime",
|
|
5912
5996
|
"max_cost": "maxCost",
|
|
5913
5997
|
"tool_approval_required": "toolApprovalRequired",
|
|
5998
|
+
"chat_exposed": "chatExposed",
|
|
5914
5999
|
});
|
|
5915
6000
|
});
|
|
5916
6001
|
|
|
@@ -2629,7 +2629,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2629
2629
|
explanation: z.string().optional(),
|
|
2630
2630
|
reviewed_by_id: z.string(),
|
|
2631
2631
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2632
|
-
"2026-07-
|
|
2632
|
+
"2026-07-07T16:10:19.165Z",
|
|
2633
2633
|
).transform(v => new Date(v)),
|
|
2634
2634
|
type: z.literal("string_array"),
|
|
2635
2635
|
values: z.array(z.string()),
|
|
@@ -2726,7 +2726,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2726
2726
|
explanation: z.string().optional(),
|
|
2727
2727
|
reviewed_by_id: z.string(),
|
|
2728
2728
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2729
|
-
"2026-07-
|
|
2729
|
+
"2026-07-07T16:10:19.163Z",
|
|
2730
2730
|
).transform(v => new Date(v)),
|
|
2731
2731
|
type: z.literal("number"),
|
|
2732
2732
|
value: z.number(),
|
|
@@ -2815,7 +2815,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2815
2815
|
explanation: z.string().optional(),
|
|
2816
2816
|
reviewed_by_id: z.string(),
|
|
2817
2817
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2818
|
-
"2026-07-
|
|
2818
|
+
"2026-07-07T16:10:19.161Z",
|
|
2819
2819
|
).transform(v => new Date(v)),
|
|
2820
2820
|
type: z.literal("string"),
|
|
2821
2821
|
value: z.string(),
|
|
@@ -2898,7 +2898,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2898
2898
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2899
2899
|
.optional(),
|
|
2900
2900
|
updated: z.string().datetime({ offset: true }).default(
|
|
2901
|
-
"2026-07-
|
|
2901
|
+
"2026-07-07T16:09:53.587Z",
|
|
2902
2902
|
).transform(v => new Date(v)),
|
|
2903
2903
|
}).transform((v) => {
|
|
2904
2904
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2026-07-
|
|
185
|
+
"2026-07-07T16:09:53.587Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -152,7 +152,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
152
152
|
z.ZodTypeDef,
|
|
153
153
|
unknown
|
|
154
154
|
> = z.object({
|
|
155
|
-
_id: z.string().default("
|
|
155
|
+
_id: z.string().default("01KWYNGDGN2SBDJ2YWJ261J4F6"),
|
|
156
156
|
display_name: z.string(),
|
|
157
157
|
description: z.nullable(z.string()).optional(),
|
|
158
158
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -1472,7 +1472,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1472
1472
|
z.ZodTypeDef,
|
|
1473
1473
|
RequestBodyTools
|
|
1474
1474
|
> = z.object({
|
|
1475
|
-
id: z.string().default("
|
|
1475
|
+
id: z.string().default("01KWYNGDCKCY8GRB7F0PYM0CS4"),
|
|
1476
1476
|
name: z.string(),
|
|
1477
1477
|
description: z.string().optional(),
|
|
1478
1478
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2193,7 +2193,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2193
2193
|
z.ZodTypeDef,
|
|
2194
2194
|
unknown
|
|
2195
2195
|
> = z.object({
|
|
2196
|
-
_id: z.string().default("
|
|
2196
|
+
_id: z.string().default("tool_01KWYNGDCC5T9GAQAFX3382A4C"),
|
|
2197
2197
|
path: z.string(),
|
|
2198
2198
|
key: z.string(),
|
|
2199
2199
|
display_name: z.string().optional(),
|
|
@@ -2296,7 +2296,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2296
2296
|
z.ZodTypeDef,
|
|
2297
2297
|
unknown
|
|
2298
2298
|
> = z.object({
|
|
2299
|
-
id: z.string().default("
|
|
2299
|
+
id: z.string().default("01KWYNGDCBXQ7BX21993DFTJ10"),
|
|
2300
2300
|
name: z.string(),
|
|
2301
2301
|
description: z.string().optional(),
|
|
2302
2302
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2354,7 +2354,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2354
2354
|
z.ZodTypeDef,
|
|
2355
2355
|
unknown
|
|
2356
2356
|
> = z.object({
|
|
2357
|
-
_id: z.string().default("
|
|
2357
|
+
_id: z.string().default("tool_01KWYNGDCA97GT38WAW9Z54SM7"),
|
|
2358
2358
|
path: z.string(),
|
|
2359
2359
|
key: z.string(),
|
|
2360
2360
|
display_name: z.string().optional(),
|
|
@@ -2543,7 +2543,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2543
2543
|
z.ZodTypeDef,
|
|
2544
2544
|
unknown
|
|
2545
2545
|
> = z.object({
|
|
2546
|
-
_id: z.string().default("
|
|
2546
|
+
_id: z.string().default("tool_01KWYNGDC8WZMTXZHVW256QSHE"),
|
|
2547
2547
|
path: z.string(),
|
|
2548
2548
|
key: z.string(),
|
|
2549
2549
|
display_name: z.string().optional(),
|
|
@@ -2638,7 +2638,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2638
2638
|
z.ZodTypeDef,
|
|
2639
2639
|
unknown
|
|
2640
2640
|
> = z.object({
|
|
2641
|
-
_id: z.string().default("
|
|
2641
|
+
_id: z.string().default("tool_01KWYNGDC6RC57NP1YV4Q0AJ80"),
|
|
2642
2642
|
path: z.string(),
|
|
2643
2643
|
key: z.string(),
|
|
2644
2644
|
display_name: z.string().optional(),
|
|
@@ -2741,7 +2741,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2741
2741
|
z.ZodTypeDef,
|
|
2742
2742
|
unknown
|
|
2743
2743
|
> = z.object({
|
|
2744
|
-
_id: z.string().default("
|
|
2744
|
+
_id: z.string().default("tool_01KWYNGDC5V610TM09T3ZF0WXZ"),
|
|
2745
2745
|
path: z.string(),
|
|
2746
2746
|
key: z.string(),
|
|
2747
2747
|
display_name: z.string().optional(),
|
package/src/sdk/feedback.ts
CHANGED
|
@@ -45,10 +45,7 @@ export class Feedback extends ClientSDK {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Create
|
|
49
|
-
*
|
|
50
|
-
* @remarks
|
|
51
|
-
* Creates a new custom model for the workspace. Provider credentials in the configuration are encrypted using the workspace encryption key before being persisted.
|
|
48
|
+
* Create a human review set
|
|
52
49
|
*/
|
|
53
50
|
async create(
|
|
54
51
|
request?: operations.PostV2FeedbackRequestBody | undefined,
|
package/src/sdk/models.ts
CHANGED
|
@@ -11,7 +11,9 @@ import { modelsCreateVertex } from "../funcs/modelsCreateVertex.js";
|
|
|
11
11
|
import { modelsDelete } from "../funcs/modelsDelete.js";
|
|
12
12
|
import { modelsDisable } from "../funcs/modelsDisable.js";
|
|
13
13
|
import { modelsEnable } from "../funcs/modelsEnable.js";
|
|
14
|
+
import { modelsImportLitellm } from "../funcs/modelsImportLitellm.js";
|
|
14
15
|
import { modelsList } from "../funcs/modelsList.js";
|
|
16
|
+
import { modelsListLitellm } from "../funcs/modelsListLitellm.js";
|
|
15
17
|
import { modelsUpdate } from "../funcs/modelsUpdate.js";
|
|
16
18
|
import { modelsUpdateAutorouter } from "../funcs/modelsUpdateAutorouter.js";
|
|
17
19
|
import { modelsUpdateAwsBedrock } from "../funcs/modelsUpdateAwsBedrock.js";
|
|
@@ -19,6 +21,7 @@ import { modelsUpdateOpenaiLike } from "../funcs/modelsUpdateOpenaiLike.js";
|
|
|
19
21
|
import { modelsValidate } from "../funcs/modelsValidate.js";
|
|
20
22
|
import { modelsValidateAwsBedrock } from "../funcs/modelsValidateAwsBedrock.js";
|
|
21
23
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
24
|
+
import * as components from "../models/components/index.js";
|
|
22
25
|
import * as operations from "../models/operations/index.js";
|
|
23
26
|
import { unwrapAsync } from "../types/fp.js";
|
|
24
27
|
|
|
@@ -142,6 +145,38 @@ export class Models extends ClientSDK {
|
|
|
142
145
|
));
|
|
143
146
|
}
|
|
144
147
|
|
|
148
|
+
/**
|
|
149
|
+
* Import models from LiteLLM
|
|
150
|
+
*
|
|
151
|
+
* @remarks
|
|
152
|
+
* Bulk-imports a list of LiteLLM model definitions into the workspace model garden.
|
|
153
|
+
*/
|
|
154
|
+
async importLitellm(
|
|
155
|
+
request: Array<components.LiteLLMModel> | null,
|
|
156
|
+
options?: RequestOptions,
|
|
157
|
+
): Promise<Array<components.ModelDocument>> {
|
|
158
|
+
return unwrapAsync(modelsImportLitellm(
|
|
159
|
+
this,
|
|
160
|
+
request,
|
|
161
|
+
options,
|
|
162
|
+
));
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* List models from configured LiteLLM instance
|
|
167
|
+
*
|
|
168
|
+
* @remarks
|
|
169
|
+
* Fetches the list of models from the LiteLLM instance configured for the workspace. Requires a stored LiteLLM integration.
|
|
170
|
+
*/
|
|
171
|
+
async listLitellm(
|
|
172
|
+
options?: RequestOptions,
|
|
173
|
+
): Promise<Array<{ [k: string]: any }>> {
|
|
174
|
+
return unwrapAsync(modelsListLitellm(
|
|
175
|
+
this,
|
|
176
|
+
options,
|
|
177
|
+
));
|
|
178
|
+
}
|
|
179
|
+
|
|
145
180
|
/**
|
|
146
181
|
* Create OpenAI-compatible custom model
|
|
147
182
|
*
|
package/src/sdk/orqresponses.ts
CHANGED
|
@@ -20,6 +20,8 @@ export class OrqResponses extends ClientSDK {
|
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
22
|
* Initiates an agent conversation and returns a complete response. This endpoint manages the full lifecycle of an agent interaction, from receiving the initial message through all processing steps until completion. Supports synchronous execution (waits for completion) and asynchronous execution (returns immediately with task ID). The response includes all messages exchanged, tool calls made, and token usage statistics. Ideal for request-response patterns where you need the complete interaction result.
|
|
23
|
+
*
|
|
24
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
23
25
|
*/
|
|
24
26
|
async create(
|
|
25
27
|
agentResponseRequest: components.AgentResponseRequest,
|
|
@@ -39,6 +41,8 @@ export class OrqResponses extends ClientSDK {
|
|
|
39
41
|
*
|
|
40
42
|
* @remarks
|
|
41
43
|
* Retrieves the current state of an agent response by task ID. Returns the response output, model information, token usage, and execution status. When the agent is still processing, the output array will be empty and status will be `in_progress`. Once completed, the response includes the full output, usage statistics, and finish reason.
|
|
44
|
+
*
|
|
45
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
42
46
|
*/
|
|
43
47
|
async get(
|
|
44
48
|
request: operations.GetAgentResponseRequest,
|