@orq-ai/node 4.12.0-rc.39 → 4.12.0-rc.41
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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/actionreviewrequestedstreamingevent.d.ts +2 -2
- package/models/components/actionreviewrequestedstreamingevent.d.ts.map +1 -1
- package/models/components/actionreviewrequestedstreamingevent.js +1 -1
- package/models/components/actionreviewrequestedstreamingevent.js.map +1 -1
- package/models/components/agentstartedstreamingevent.d.ts +2 -2
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentstartedstreamingevent.js +1 -1
- 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/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +12 -2
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +3 -1
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createtool.d.ts +9 -0
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +8 -6
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/getalltools.d.ts +4 -0
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +7 -6
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listagents.d.ts +2 -2
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +1 -1
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +2 -2
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +1 -1
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.d.ts +4 -0
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +7 -6
- package/models/operations/retrievetool.js.map +1 -1
- package/models/operations/runagent.d.ts +15 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +4 -1
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +15 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +4 -1
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +12 -2
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +3 -1
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updatetool.d.ts +9 -0
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +9 -7
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +1 -1
- 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/src/lib/config.ts +2 -2
- package/src/models/components/actionreviewrequestedstreamingevent.ts +3 -3
- package/src/models/components/agentstartedstreamingevent.ts +3 -3
- 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/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +15 -3
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createtool.ts +17 -6
- package/src/models/operations/getalltools.ts +11 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listagents.ts +3 -3
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +3 -3
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +11 -6
- package/src/models/operations/runagent.ts +19 -1
- package/src/models/operations/streamrunagent.ts +19 -1
- package/src/models/operations/updateagent.ts +15 -3
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updatetool.ts +18 -7
- package/src/sdk/feedback.ts +1 -4
|
@@ -1468,6 +1468,10 @@ export type AgentToolInputRunCodeToolRun = {
|
|
|
1468
1468
|
description: string;
|
|
1469
1469
|
codeTool: AgentToolInputRunCodeTool;
|
|
1470
1470
|
requiresApproval?: boolean | undefined;
|
|
1471
|
+
/**
|
|
1472
|
+
* Tool execution timeout in seconds for this agent (max: 2 minutes, the code sandbox cap). Overrides the timeout configured on the tool definition.
|
|
1473
|
+
*/
|
|
1474
|
+
timeout?: number | undefined;
|
|
1471
1475
|
};
|
|
1472
1476
|
|
|
1473
1477
|
/**
|
|
@@ -1515,6 +1519,10 @@ export type AgentToolInputRunBlueprint = {
|
|
|
1515
1519
|
* The body to send with the request.
|
|
1516
1520
|
*/
|
|
1517
1521
|
body?: { [k: string]: any } | undefined;
|
|
1522
|
+
/**
|
|
1523
|
+
* The request timeout in seconds. Defaults to 60 seconds when not set. When used in an agent, tool executions are also bound by the agent run `limits.tool_timeout` (default 5 minutes), so raise that limit for longer-running tools.
|
|
1524
|
+
*/
|
|
1525
|
+
timeout?: number | undefined;
|
|
1518
1526
|
};
|
|
1519
1527
|
|
|
1520
1528
|
/**
|
|
@@ -1587,6 +1595,10 @@ export type AgentToolInputRunHTTPToolRun = {
|
|
|
1587
1595
|
description: string;
|
|
1588
1596
|
http: AgentToolInputRunHttp;
|
|
1589
1597
|
requiresApproval?: boolean | undefined;
|
|
1598
|
+
/**
|
|
1599
|
+
* Tool execution timeout in seconds for this agent (max: 10 minutes). Overrides the timeout configured on the tool definition.
|
|
1600
|
+
*/
|
|
1601
|
+
timeout?: number | undefined;
|
|
1590
1602
|
};
|
|
1591
1603
|
|
|
1592
1604
|
/**
|
|
@@ -4098,7 +4110,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
4098
4110
|
z.ZodTypeDef,
|
|
4099
4111
|
AgentToolInputRunTools
|
|
4100
4112
|
> = z.object({
|
|
4101
|
-
id: z.string().default("
|
|
4113
|
+
id: z.string().default("01KXZSX40BAP4P74WJQYMAGGZG"),
|
|
4102
4114
|
name: z.string(),
|
|
4103
4115
|
description: z.string().optional(),
|
|
4104
4116
|
schema: z.lazy(() =>
|
|
@@ -4529,6 +4541,7 @@ export type AgentToolInputRunCodeToolRun$Outbound = {
|
|
|
4529
4541
|
description: string;
|
|
4530
4542
|
code_tool: AgentToolInputRunCodeTool$Outbound;
|
|
4531
4543
|
requires_approval: boolean;
|
|
4544
|
+
timeout?: number | undefined;
|
|
4532
4545
|
};
|
|
4533
4546
|
|
|
4534
4547
|
/** @internal */
|
|
@@ -4544,6 +4557,7 @@ export const AgentToolInputRunCodeToolRun$outboundSchema: z.ZodType<
|
|
|
4544
4557
|
description: z.string(),
|
|
4545
4558
|
codeTool: z.lazy(() => AgentToolInputRunCodeTool$outboundSchema),
|
|
4546
4559
|
requiresApproval: z.boolean().default(false),
|
|
4560
|
+
timeout: z.number().optional(),
|
|
4547
4561
|
}).transform((v) => {
|
|
4548
4562
|
return remap$(v, {
|
|
4549
4563
|
id: "_id",
|
|
@@ -4623,6 +4637,7 @@ export type AgentToolInputRunBlueprint$Outbound = {
|
|
|
4623
4637
|
| { [k: string]: StreamRunAgentHeaders2$Outbound | string }
|
|
4624
4638
|
| undefined;
|
|
4625
4639
|
body?: { [k: string]: any } | undefined;
|
|
4640
|
+
timeout?: number | undefined;
|
|
4626
4641
|
};
|
|
4627
4642
|
|
|
4628
4643
|
/** @internal */
|
|
@@ -4637,6 +4652,7 @@ export const AgentToolInputRunBlueprint$outboundSchema: z.ZodType<
|
|
|
4637
4652
|
z.union([z.lazy(() => StreamRunAgentHeaders2$outboundSchema), z.string()]),
|
|
4638
4653
|
).optional(),
|
|
4639
4654
|
body: z.record(z.any()).optional(),
|
|
4655
|
+
timeout: z.number().optional(),
|
|
4640
4656
|
});
|
|
4641
4657
|
|
|
4642
4658
|
export function agentToolInputRunBlueprintToJSON(
|
|
@@ -4743,6 +4759,7 @@ export type AgentToolInputRunHTTPToolRun$Outbound = {
|
|
|
4743
4759
|
description: string;
|
|
4744
4760
|
http: AgentToolInputRunHttp$Outbound;
|
|
4745
4761
|
requires_approval: boolean;
|
|
4762
|
+
timeout?: number | undefined;
|
|
4746
4763
|
};
|
|
4747
4764
|
|
|
4748
4765
|
/** @internal */
|
|
@@ -4758,6 +4775,7 @@ export const AgentToolInputRunHTTPToolRun$outboundSchema: z.ZodType<
|
|
|
4758
4775
|
description: z.string(),
|
|
4759
4776
|
http: z.lazy(() => AgentToolInputRunHttp$outboundSchema),
|
|
4760
4777
|
requiresApproval: z.boolean().default(false),
|
|
4778
|
+
timeout: z.number().optional(),
|
|
4761
4779
|
}).transform((v) => {
|
|
4762
4780
|
return remap$(v, {
|
|
4763
4781
|
id: "_id",
|
|
@@ -1188,6 +1188,10 @@ export type AgentToolInputCRUDCodeExecutionTool = {
|
|
|
1188
1188
|
* Whether this tool requires approval before execution
|
|
1189
1189
|
*/
|
|
1190
1190
|
requiresApproval?: boolean | undefined;
|
|
1191
|
+
/**
|
|
1192
|
+
* Tool execution timeout in seconds for this agent (max: 2 minutes, the code sandbox cap). Overrides the timeout configured on the tool definition.
|
|
1193
|
+
*/
|
|
1194
|
+
timeout?: number | undefined;
|
|
1191
1195
|
};
|
|
1192
1196
|
|
|
1193
1197
|
/**
|
|
@@ -1227,6 +1231,10 @@ export type AgentToolInputCRUDHTTPTool = {
|
|
|
1227
1231
|
* Whether this tool requires approval before execution
|
|
1228
1232
|
*/
|
|
1229
1233
|
requiresApproval?: boolean | undefined;
|
|
1234
|
+
/**
|
|
1235
|
+
* Tool execution timeout in seconds for this agent (max: 10 minutes). Overrides the timeout configured on the tool definition.
|
|
1236
|
+
*/
|
|
1237
|
+
timeout?: number | undefined;
|
|
1230
1238
|
};
|
|
1231
1239
|
|
|
1232
1240
|
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type =
|
|
@@ -1862,9 +1870,9 @@ export type UpdateAgentTools = {
|
|
|
1862
1870
|
toolId?: string | undefined;
|
|
1863
1871
|
conditions?: Array<UpdateAgentConditions> | undefined;
|
|
1864
1872
|
/**
|
|
1865
|
-
* Tool execution timeout in seconds
|
|
1873
|
+
* Tool execution timeout in seconds for this agent (max: 10 minutes). Overrides the timeout configured on the tool definition.
|
|
1866
1874
|
*/
|
|
1867
|
-
timeout
|
|
1875
|
+
timeout?: number | undefined;
|
|
1868
1876
|
};
|
|
1869
1877
|
|
|
1870
1878
|
/**
|
|
@@ -4817,6 +4825,7 @@ export type AgentToolInputCRUDCodeExecutionTool$Outbound = {
|
|
|
4817
4825
|
key?: string | undefined;
|
|
4818
4826
|
id?: string | undefined;
|
|
4819
4827
|
requires_approval: boolean;
|
|
4828
|
+
timeout?: number | undefined;
|
|
4820
4829
|
};
|
|
4821
4830
|
|
|
4822
4831
|
/** @internal */
|
|
@@ -4831,6 +4840,7 @@ export const AgentToolInputCRUDCodeExecutionTool$outboundSchema: z.ZodType<
|
|
|
4831
4840
|
key: z.string().optional(),
|
|
4832
4841
|
id: z.string().optional(),
|
|
4833
4842
|
requiresApproval: z.boolean().default(false),
|
|
4843
|
+
timeout: z.number().optional(),
|
|
4834
4844
|
}).transform((v) => {
|
|
4835
4845
|
return remap$(v, {
|
|
4836
4846
|
requiresApproval: "requires_approval",
|
|
@@ -4861,6 +4871,7 @@ export type AgentToolInputCRUDHTTPTool$Outbound = {
|
|
|
4861
4871
|
key?: string | undefined;
|
|
4862
4872
|
id?: string | undefined;
|
|
4863
4873
|
requires_approval: boolean;
|
|
4874
|
+
timeout?: number | undefined;
|
|
4864
4875
|
};
|
|
4865
4876
|
|
|
4866
4877
|
/** @internal */
|
|
@@ -4875,6 +4886,7 @@ export const AgentToolInputCRUDHTTPTool$outboundSchema: z.ZodType<
|
|
|
4875
4886
|
key: z.string().optional(),
|
|
4876
4887
|
id: z.string().optional(),
|
|
4877
4888
|
requiresApproval: z.boolean().default(false),
|
|
4889
|
+
timeout: z.number().optional(),
|
|
4878
4890
|
}).transform((v) => {
|
|
4879
4891
|
return remap$(v, {
|
|
4880
4892
|
requiresApproval: "requires_approval",
|
|
@@ -5893,7 +5905,7 @@ export const UpdateAgentTools$inboundSchema: z.ZodType<
|
|
|
5893
5905
|
tool_id: z.string().optional(),
|
|
5894
5906
|
conditions: z.array(z.lazy(() => UpdateAgentConditions$inboundSchema))
|
|
5895
5907
|
.optional(),
|
|
5896
|
-
timeout: z.number().
|
|
5908
|
+
timeout: z.number().optional(),
|
|
5897
5909
|
}).transform((v) => {
|
|
5898
5910
|
return remap$(v, {
|
|
5899
5911
|
"action_type": "actionType",
|
|
@@ -2747,7 +2747,7 @@ export const UpdateDatapointEvaluations4$inboundSchema: z.ZodType<
|
|
|
2747
2747
|
explanation: z.string().optional(),
|
|
2748
2748
|
reviewed_by_id: z.string(),
|
|
2749
2749
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2750
|
-
"2026-07-
|
|
2750
|
+
"2026-07-20T13:02:06.462Z",
|
|
2751
2751
|
).transform(v => new Date(v)),
|
|
2752
2752
|
type: z.literal("string_array"),
|
|
2753
2753
|
values: z.array(z.string()),
|
|
@@ -2847,7 +2847,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2847
2847
|
explanation: z.string().optional(),
|
|
2848
2848
|
reviewed_by_id: z.string(),
|
|
2849
2849
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2850
|
-
"2026-07-
|
|
2850
|
+
"2026-07-20T13:02:06.460Z",
|
|
2851
2851
|
).transform(v => new Date(v)),
|
|
2852
2852
|
type: z.literal("boolean"),
|
|
2853
2853
|
value: z.boolean(),
|
|
@@ -2944,7 +2944,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2944
2944
|
explanation: z.string().optional(),
|
|
2945
2945
|
reviewed_by_id: z.string(),
|
|
2946
2946
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2947
|
-
"2026-07-
|
|
2947
|
+
"2026-07-20T13:02:06.459Z",
|
|
2948
2948
|
).transform(v => new Date(v)),
|
|
2949
2949
|
type: z.literal("number"),
|
|
2950
2950
|
value: z.number(),
|
|
@@ -3033,7 +3033,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
3033
3033
|
explanation: z.string().optional(),
|
|
3034
3034
|
reviewed_by_id: z.string(),
|
|
3035
3035
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3036
|
-
"2026-07-
|
|
3036
|
+
"2026-07-20T13:02:06.457Z",
|
|
3037
3037
|
).transform(v => new Date(v)),
|
|
3038
3038
|
type: z.literal("string"),
|
|
3039
3039
|
value: z.string(),
|
|
@@ -3118,7 +3118,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
3118
3118
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3119
3119
|
.optional(),
|
|
3120
3120
|
updated: z.string().datetime({ offset: true }).default(
|
|
3121
|
-
"2026-07-
|
|
3121
|
+
"2026-07-20T13:01:25.156Z",
|
|
3122
3122
|
).transform(v => new Date(v)),
|
|
3123
3123
|
}).transform((v) => {
|
|
3124
3124
|
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-20T13:01:25.156Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -221,7 +221,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
221
221
|
z.ZodTypeDef,
|
|
222
222
|
unknown
|
|
223
223
|
> = z.object({
|
|
224
|
-
_id: z.string().default("
|
|
224
|
+
_id: z.string().default("01KXZSX4EJ20QMJP18Y9K67JSN"),
|
|
225
225
|
display_name: z.string(),
|
|
226
226
|
description: z.nullable(z.string()).optional(),
|
|
227
227
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -307,6 +307,10 @@ export type UpdateToolRequestBodyBlueprint = {
|
|
|
307
307
|
* The body to send with the request.
|
|
308
308
|
*/
|
|
309
309
|
body?: { [k: string]: any } | undefined;
|
|
310
|
+
/**
|
|
311
|
+
* The request timeout in seconds. Defaults to 60 seconds when not set. When used in an agent, tool executions are also bound by the agent run `limits.tool_timeout` (default 5 minutes), so raise that limit for longer-running tools.
|
|
312
|
+
*/
|
|
313
|
+
timeout?: number | undefined;
|
|
310
314
|
};
|
|
311
315
|
|
|
312
316
|
/**
|
|
@@ -938,6 +942,10 @@ export type UpdateToolResponseBodyBlueprint = {
|
|
|
938
942
|
* The body to send with the request.
|
|
939
943
|
*/
|
|
940
944
|
body?: { [k: string]: any } | undefined;
|
|
945
|
+
/**
|
|
946
|
+
* The request timeout in seconds. Defaults to 60 seconds when not set. When used in an agent, tool executions are also bound by the agent run `limits.tool_timeout` (default 5 minutes), so raise that limit for longer-running tools.
|
|
947
|
+
*/
|
|
948
|
+
timeout?: number | undefined;
|
|
941
949
|
};
|
|
942
950
|
|
|
943
951
|
/**
|
|
@@ -1472,7 +1480,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1472
1480
|
z.ZodTypeDef,
|
|
1473
1481
|
RequestBodyTools
|
|
1474
1482
|
> = z.object({
|
|
1475
|
-
id: z.string().default("
|
|
1483
|
+
id: z.string().default("01KXZSX48DP9Q72H9J4VQ74H83"),
|
|
1476
1484
|
name: z.string(),
|
|
1477
1485
|
description: z.string().optional(),
|
|
1478
1486
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -1637,6 +1645,7 @@ export type UpdateToolRequestBodyBlueprint$Outbound = {
|
|
|
1637
1645
|
method: string;
|
|
1638
1646
|
headers?: { [k: string]: UpdateToolHeaders2$Outbound | string } | undefined;
|
|
1639
1647
|
body?: { [k: string]: any } | undefined;
|
|
1648
|
+
timeout?: number | undefined;
|
|
1640
1649
|
};
|
|
1641
1650
|
|
|
1642
1651
|
/** @internal */
|
|
@@ -1651,6 +1660,7 @@ export const UpdateToolRequestBodyBlueprint$outboundSchema: z.ZodType<
|
|
|
1651
1660
|
z.union([z.lazy(() => UpdateToolHeaders2$outboundSchema), z.string()]),
|
|
1652
1661
|
).optional(),
|
|
1653
1662
|
body: z.record(z.any()).optional(),
|
|
1663
|
+
timeout: z.number().optional(),
|
|
1654
1664
|
});
|
|
1655
1665
|
|
|
1656
1666
|
export function updateToolRequestBodyBlueprintToJSON(
|
|
@@ -2193,7 +2203,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2193
2203
|
z.ZodTypeDef,
|
|
2194
2204
|
unknown
|
|
2195
2205
|
> = z.object({
|
|
2196
|
-
_id: z.string().default("
|
|
2206
|
+
_id: z.string().default("tool_01KXZSX4841AXVCM775VZZR8BP"),
|
|
2197
2207
|
path: z.string(),
|
|
2198
2208
|
key: z.string(),
|
|
2199
2209
|
display_name: z.string().optional(),
|
|
@@ -2296,7 +2306,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2296
2306
|
z.ZodTypeDef,
|
|
2297
2307
|
unknown
|
|
2298
2308
|
> = z.object({
|
|
2299
|
-
id: z.string().default("
|
|
2309
|
+
id: z.string().default("01KXZSX483Y4QF4NKC0GJ2G0E7"),
|
|
2300
2310
|
name: z.string(),
|
|
2301
2311
|
description: z.string().optional(),
|
|
2302
2312
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2354,7 +2364,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2354
2364
|
z.ZodTypeDef,
|
|
2355
2365
|
unknown
|
|
2356
2366
|
> = z.object({
|
|
2357
|
-
_id: z.string().default("
|
|
2367
|
+
_id: z.string().default("tool_01KXZSX482H41GJ73JT8FKKX9M"),
|
|
2358
2368
|
path: z.string(),
|
|
2359
2369
|
key: z.string(),
|
|
2360
2370
|
display_name: z.string().optional(),
|
|
@@ -2451,6 +2461,7 @@ export const UpdateToolResponseBodyBlueprint$inboundSchema: z.ZodType<
|
|
|
2451
2461
|
z.union([z.lazy(() => UpdateToolHeadersTools2$inboundSchema), z.string()]),
|
|
2452
2462
|
).optional(),
|
|
2453
2463
|
body: z.record(z.any()).optional(),
|
|
2464
|
+
timeout: z.number().optional(),
|
|
2454
2465
|
});
|
|
2455
2466
|
|
|
2456
2467
|
export function updateToolResponseBodyBlueprintFromJSON(
|
|
@@ -2543,7 +2554,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2543
2554
|
z.ZodTypeDef,
|
|
2544
2555
|
unknown
|
|
2545
2556
|
> = z.object({
|
|
2546
|
-
_id: z.string().default("
|
|
2557
|
+
_id: z.string().default("tool_01KXZSX47Y4T8GGSCKSWAYJDXJ"),
|
|
2547
2558
|
path: z.string(),
|
|
2548
2559
|
key: z.string(),
|
|
2549
2560
|
display_name: z.string().optional(),
|
|
@@ -2638,7 +2649,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2638
2649
|
z.ZodTypeDef,
|
|
2639
2650
|
unknown
|
|
2640
2651
|
> = z.object({
|
|
2641
|
-
_id: z.string().default("
|
|
2652
|
+
_id: z.string().default("tool_01KXZSX47VBTBZYTY8AFDT5XP5"),
|
|
2642
2653
|
path: z.string(),
|
|
2643
2654
|
key: z.string(),
|
|
2644
2655
|
display_name: z.string().optional(),
|
|
@@ -2741,7 +2752,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2741
2752
|
z.ZodTypeDef,
|
|
2742
2753
|
unknown
|
|
2743
2754
|
> = z.object({
|
|
2744
|
-
_id: z.string().default("
|
|
2755
|
+
_id: z.string().default("tool_01KXZSX47SYAM83ESM2NZYAH2C"),
|
|
2745
2756
|
path: z.string(),
|
|
2746
2757
|
key: z.string(),
|
|
2747
2758
|
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
|
-
*
|
|
49
|
-
*
|
|
50
|
-
* @remarks
|
|
51
|
-
* Attach one or more annotations to a specific span. A standard annotation references a human review by key and supplies a value. A correction references an existing evaluator output by parent_annotation_id and supplies the corrected value, validated against that evaluator's output schema.
|
|
48
|
+
* Create a human review set
|
|
52
49
|
*/
|
|
53
50
|
async create(
|
|
54
51
|
request?: operations.PostV2FeedbackRequestBody | undefined,
|