@orq-ai/node 4.17.24 → 4.17.26

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.
Files changed (78) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +3 -3
  3. package/lib/config.js +3 -3
  4. package/models/components/reasoningpart.js +1 -1
  5. package/models/operations/createtool.js +4 -4
  6. package/models/operations/getalltools.js +4 -4
  7. package/models/operations/getv2humanevalsets.js +2 -2
  8. package/models/operations/getv2humanevalsetsid.js +2 -2
  9. package/models/operations/listdeploymentversions.js +1 -1
  10. package/models/operations/patchv2humanevalsetsid.js +2 -2
  11. package/models/operations/postv2humanevalsets.js +2 -2
  12. package/models/operations/retrievetool.js +4 -4
  13. package/models/operations/runagent.js +1 -1
  14. package/models/operations/streamrunagent.js +1 -1
  15. package/models/operations/updatetool.js +4 -4
  16. package/package.json +9 -9
  17. package/packages/orq-rc/src/funcs/experimentsExecuteRun.ts +1 -1
  18. package/packages/orq-rc/src/funcs/modelsCreateOpenaiLike.ts +1 -1
  19. package/packages/orq-rc/src/lib/config.ts +3 -3
  20. package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +0 -3
  21. package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +30 -37
  22. package/packages/orq-rc/src/models/components/agenttaskconfig.ts +4 -41
  23. package/packages/orq-rc/src/models/components/budgetlimits.ts +1 -1
  24. package/packages/orq-rc/src/models/components/budgetlimitsrestresponse.ts +1 -1
  25. package/packages/orq-rc/src/models/components/budgetrestresponse.ts +1 -1
  26. package/packages/orq-rc/src/models/components/cell.ts +22 -39
  27. package/packages/orq-rc/src/models/components/createbudgetrequest.ts +1 -1
  28. package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +5 -0
  29. package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +5 -0
  30. package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +5 -0
  31. package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +5 -0
  32. package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +5 -0
  33. package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +5 -0
  34. package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +5 -0
  35. package/packages/orq-rc/src/models/components/fileentry.ts +3 -3
  36. package/packages/orq-rc/src/models/components/identity.ts +1 -1
  37. package/packages/orq-rc/src/models/components/mcptoolexposure.ts +9 -0
  38. package/packages/orq-rc/src/models/components/metricsummary.ts +5 -2
  39. package/packages/orq-rc/src/models/components/patchevalcellrequest.ts +3 -19
  40. package/packages/orq-rc/src/models/components/patchreviewcellrequest.ts +6 -25
  41. package/packages/orq-rc/src/models/components/patchtaskcellrequest.ts +3 -23
  42. package/packages/orq-rc/src/models/components/pricing.ts +12 -0
  43. package/packages/orq-rc/src/models/components/pricingvariant.ts +12 -0
  44. package/packages/orq-rc/src/models/components/prompttaskconfig.ts +26 -184
  45. package/packages/orq-rc/src/models/components/queryrow.ts +11 -6
  46. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  47. package/packages/orq-rc/src/models/components/run.ts +14 -8
  48. package/packages/orq-rc/src/models/components/updateruncellrequest.ts +3 -23
  49. package/packages/orq-rc/src/models/errors/errorresponse.ts +2 -2
  50. package/packages/orq-rc/src/models/operations/createagentrequest.ts +0 -3
  51. package/packages/orq-rc/src/models/operations/createeval.ts +18 -0
  52. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  53. package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
  54. package/packages/orq-rc/src/models/operations/geteval.ts +40 -0
  55. package/packages/orq-rc/src/models/operations/listagents.ts +0 -3
  56. package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +1 -1
  57. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +0 -3
  58. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  59. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  60. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  61. package/packages/orq-rc/src/models/operations/updateagent.ts +0 -3
  62. package/packages/orq-rc/src/models/operations/updateeval.ts +6 -0
  63. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  64. package/packages/orq-rc/src/sdk/experiments.ts +1 -1
  65. package/packages/orq-rc/src/sdk/models.ts +1 -1
  66. package/src/lib/config.ts +3 -3
  67. package/src/models/components/reasoningpart.ts +1 -1
  68. package/src/models/operations/createtool.ts +4 -4
  69. package/src/models/operations/getalltools.ts +4 -4
  70. package/src/models/operations/getv2humanevalsets.ts +2 -2
  71. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  72. package/src/models/operations/listdeploymentversions.ts +1 -1
  73. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  74. package/src/models/operations/postv2humanevalsets.ts +2 -2
  75. package/src/models/operations/retrievetool.ts +4 -4
  76. package/src/models/operations/runagent.ts +1 -1
  77. package/src/models/operations/streamrunagent.ts +1 -1
  78. package/src/models/operations/updatetool.ts +4 -4
@@ -13,191 +13,35 @@ import {
13
13
  MessagesSource$outboundSchema,
14
14
  } from "./messagessource.js";
15
15
 
16
- export type PromptConfig = {};
17
-
18
- export type Tools = {};
19
-
20
- export type KnowledgeBases = {};
21
-
22
- export type PromptTaskConfigMetadata = {};
23
-
24
- export type EntityConfiguration = {};
25
-
26
16
  export type PromptTaskConfig = {
27
- promptConfig?: PromptConfig | undefined;
17
+ promptConfig: { [k: string]: any };
28
18
  messagesSource?: MessagesSource | undefined;
29
19
  engine?: string | undefined;
30
- tools?: Array<Tools> | undefined;
31
- knowledgeBases?: Array<KnowledgeBases> | undefined;
32
- metadata?: PromptTaskConfigMetadata | undefined;
33
- entityConfiguration?: EntityConfiguration | undefined;
20
+ tools?: Array<{ [k: string]: any }> | undefined;
21
+ knowledgeBases?: Array<{ [k: string]: any }> | undefined;
22
+ /**
23
+ * Null when the column was saved without metadata.
24
+ */
25
+ metadata?: { [k: string]: any } | null | undefined;
26
+ /**
27
+ * Null when the column was saved without an entity configuration.
28
+ */
29
+ entityConfiguration?: { [k: string]: any } | null | undefined;
34
30
  };
35
31
 
36
- /** @internal */
37
- export const PromptConfig$inboundSchema: z.ZodType<
38
- PromptConfig,
39
- z.ZodTypeDef,
40
- unknown
41
- > = z.object({});
42
- /** @internal */
43
- export type PromptConfig$Outbound = {};
44
-
45
- /** @internal */
46
- export const PromptConfig$outboundSchema: z.ZodType<
47
- PromptConfig$Outbound,
48
- z.ZodTypeDef,
49
- PromptConfig
50
- > = z.object({});
51
-
52
- export function promptConfigToJSON(promptConfig: PromptConfig): string {
53
- return JSON.stringify(PromptConfig$outboundSchema.parse(promptConfig));
54
- }
55
- export function promptConfigFromJSON(
56
- jsonString: string,
57
- ): SafeParseResult<PromptConfig, SDKValidationError> {
58
- return safeParse(
59
- jsonString,
60
- (x) => PromptConfig$inboundSchema.parse(JSON.parse(x)),
61
- `Failed to parse 'PromptConfig' from JSON`,
62
- );
63
- }
64
-
65
- /** @internal */
66
- export const Tools$inboundSchema: z.ZodType<Tools, z.ZodTypeDef, unknown> = z
67
- .object({});
68
- /** @internal */
69
- export type Tools$Outbound = {};
70
-
71
- /** @internal */
72
- export const Tools$outboundSchema: z.ZodType<
73
- Tools$Outbound,
74
- z.ZodTypeDef,
75
- Tools
76
- > = z.object({});
77
-
78
- export function toolsToJSON(tools: Tools): string {
79
- return JSON.stringify(Tools$outboundSchema.parse(tools));
80
- }
81
- export function toolsFromJSON(
82
- jsonString: string,
83
- ): SafeParseResult<Tools, SDKValidationError> {
84
- return safeParse(
85
- jsonString,
86
- (x) => Tools$inboundSchema.parse(JSON.parse(x)),
87
- `Failed to parse 'Tools' from JSON`,
88
- );
89
- }
90
-
91
- /** @internal */
92
- export const KnowledgeBases$inboundSchema: z.ZodType<
93
- KnowledgeBases,
94
- z.ZodTypeDef,
95
- unknown
96
- > = z.object({});
97
- /** @internal */
98
- export type KnowledgeBases$Outbound = {};
99
-
100
- /** @internal */
101
- export const KnowledgeBases$outboundSchema: z.ZodType<
102
- KnowledgeBases$Outbound,
103
- z.ZodTypeDef,
104
- KnowledgeBases
105
- > = z.object({});
106
-
107
- export function knowledgeBasesToJSON(knowledgeBases: KnowledgeBases): string {
108
- return JSON.stringify(KnowledgeBases$outboundSchema.parse(knowledgeBases));
109
- }
110
- export function knowledgeBasesFromJSON(
111
- jsonString: string,
112
- ): SafeParseResult<KnowledgeBases, SDKValidationError> {
113
- return safeParse(
114
- jsonString,
115
- (x) => KnowledgeBases$inboundSchema.parse(JSON.parse(x)),
116
- `Failed to parse 'KnowledgeBases' from JSON`,
117
- );
118
- }
119
-
120
- /** @internal */
121
- export const PromptTaskConfigMetadata$inboundSchema: z.ZodType<
122
- PromptTaskConfigMetadata,
123
- z.ZodTypeDef,
124
- unknown
125
- > = z.object({});
126
- /** @internal */
127
- export type PromptTaskConfigMetadata$Outbound = {};
128
-
129
- /** @internal */
130
- export const PromptTaskConfigMetadata$outboundSchema: z.ZodType<
131
- PromptTaskConfigMetadata$Outbound,
132
- z.ZodTypeDef,
133
- PromptTaskConfigMetadata
134
- > = z.object({});
135
-
136
- export function promptTaskConfigMetadataToJSON(
137
- promptTaskConfigMetadata: PromptTaskConfigMetadata,
138
- ): string {
139
- return JSON.stringify(
140
- PromptTaskConfigMetadata$outboundSchema.parse(promptTaskConfigMetadata),
141
- );
142
- }
143
- export function promptTaskConfigMetadataFromJSON(
144
- jsonString: string,
145
- ): SafeParseResult<PromptTaskConfigMetadata, SDKValidationError> {
146
- return safeParse(
147
- jsonString,
148
- (x) => PromptTaskConfigMetadata$inboundSchema.parse(JSON.parse(x)),
149
- `Failed to parse 'PromptTaskConfigMetadata' from JSON`,
150
- );
151
- }
152
-
153
- /** @internal */
154
- export const EntityConfiguration$inboundSchema: z.ZodType<
155
- EntityConfiguration,
156
- z.ZodTypeDef,
157
- unknown
158
- > = z.object({});
159
- /** @internal */
160
- export type EntityConfiguration$Outbound = {};
161
-
162
- /** @internal */
163
- export const EntityConfiguration$outboundSchema: z.ZodType<
164
- EntityConfiguration$Outbound,
165
- z.ZodTypeDef,
166
- EntityConfiguration
167
- > = z.object({});
168
-
169
- export function entityConfigurationToJSON(
170
- entityConfiguration: EntityConfiguration,
171
- ): string {
172
- return JSON.stringify(
173
- EntityConfiguration$outboundSchema.parse(entityConfiguration),
174
- );
175
- }
176
- export function entityConfigurationFromJSON(
177
- jsonString: string,
178
- ): SafeParseResult<EntityConfiguration, SDKValidationError> {
179
- return safeParse(
180
- jsonString,
181
- (x) => EntityConfiguration$inboundSchema.parse(JSON.parse(x)),
182
- `Failed to parse 'EntityConfiguration' from JSON`,
183
- );
184
- }
185
-
186
32
  /** @internal */
187
33
  export const PromptTaskConfig$inboundSchema: z.ZodType<
188
34
  PromptTaskConfig,
189
35
  z.ZodTypeDef,
190
36
  unknown
191
37
  > = z.object({
192
- prompt_config: z.lazy(() => PromptConfig$inboundSchema).optional(),
38
+ prompt_config: z.record(z.any()),
193
39
  messages_source: MessagesSource$inboundSchema.optional(),
194
40
  engine: z.string().optional(),
195
- tools: z.array(z.lazy(() => Tools$inboundSchema)).optional(),
196
- knowledge_bases: z.array(z.lazy(() => KnowledgeBases$inboundSchema))
197
- .optional(),
198
- metadata: z.lazy(() => PromptTaskConfigMetadata$inboundSchema).optional(),
199
- entity_configuration: z.lazy(() => EntityConfiguration$inboundSchema)
200
- .optional(),
41
+ tools: z.array(z.record(z.any())).optional(),
42
+ knowledge_bases: z.array(z.record(z.any())).optional(),
43
+ metadata: z.nullable(z.record(z.any())).optional(),
44
+ entity_configuration: z.nullable(z.record(z.any())).optional(),
201
45
  }).transform((v) => {
202
46
  return remap$(v, {
203
47
  "prompt_config": "promptConfig",
@@ -208,13 +52,13 @@ export const PromptTaskConfig$inboundSchema: z.ZodType<
208
52
  });
209
53
  /** @internal */
210
54
  export type PromptTaskConfig$Outbound = {
211
- prompt_config?: PromptConfig$Outbound | undefined;
55
+ prompt_config: { [k: string]: any };
212
56
  messages_source?: string | undefined;
213
57
  engine?: string | undefined;
214
- tools?: Array<Tools$Outbound> | undefined;
215
- knowledge_bases?: Array<KnowledgeBases$Outbound> | undefined;
216
- metadata?: PromptTaskConfigMetadata$Outbound | undefined;
217
- entity_configuration?: EntityConfiguration$Outbound | undefined;
58
+ tools?: Array<{ [k: string]: any }> | undefined;
59
+ knowledge_bases?: Array<{ [k: string]: any }> | undefined;
60
+ metadata?: { [k: string]: any } | null | undefined;
61
+ entity_configuration?: { [k: string]: any } | null | undefined;
218
62
  };
219
63
 
220
64
  /** @internal */
@@ -223,15 +67,13 @@ export const PromptTaskConfig$outboundSchema: z.ZodType<
223
67
  z.ZodTypeDef,
224
68
  PromptTaskConfig
225
69
  > = z.object({
226
- promptConfig: z.lazy(() => PromptConfig$outboundSchema).optional(),
70
+ promptConfig: z.record(z.any()),
227
71
  messagesSource: MessagesSource$outboundSchema.optional(),
228
72
  engine: z.string().optional(),
229
- tools: z.array(z.lazy(() => Tools$outboundSchema)).optional(),
230
- knowledgeBases: z.array(z.lazy(() => KnowledgeBases$outboundSchema))
231
- .optional(),
232
- metadata: z.lazy(() => PromptTaskConfigMetadata$outboundSchema).optional(),
233
- entityConfiguration: z.lazy(() => EntityConfiguration$outboundSchema)
234
- .optional(),
73
+ tools: z.array(z.record(z.any())).optional(),
74
+ knowledgeBases: z.array(z.record(z.any())).optional(),
75
+ metadata: z.nullable(z.record(z.any())).optional(),
76
+ entityConfiguration: z.nullable(z.record(z.any())).optional(),
235
77
  }).transform((v) => {
236
78
  return remap$(v, {
237
79
  promptConfig: "prompt_config",
@@ -15,8 +15,11 @@ export type QueryRow = {
15
15
  displayName?: string | undefined;
16
16
  cells?: Array<Cell> | undefined;
17
17
  status?: RowStatus | undefined;
18
- createdAt?: Date | undefined;
19
- updatedAt?: Date | undefined;
18
+ /**
19
+ * Null on rows written before timestamps were recorded.
20
+ */
21
+ createdAt?: Date | null | undefined;
22
+ updatedAt?: Date | null | undefined;
20
23
  };
21
24
 
22
25
  /** @internal */
@@ -29,10 +32,12 @@ export const QueryRow$inboundSchema: z.ZodType<
29
32
  display_name: z.string().optional(),
30
33
  cells: z.array(Cell$inboundSchema).optional(),
31
34
  status: RowStatus$inboundSchema.optional(),
32
- created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
33
- .optional(),
34
- updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
35
- .optional(),
35
+ created_at: z.nullable(
36
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
37
+ ).optional(),
38
+ updated_at: z.nullable(
39
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
40
+ ).optional(),
36
41
  }).transform((v) => {
37
42
  return remap$(v, {
38
43
  "row_id": "rowId",
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- _id: z.string().default("reasoning_01m6e5cqsw8bqxrt5nrh4hxfcd"),
43
+ _id: z.string().default("reasoning_01m6r843e3kgfmvx9y2ap4ms5e"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -26,9 +26,15 @@ export type Run = {
26
26
  rowCount?: number | undefined;
27
27
  cellStatusCounts?: CellStatusCounts | undefined;
28
28
  columns?: Array<Column> | undefined;
29
- settings?: RunSettings | undefined;
30
- startedAt?: Date | undefined;
31
- completedAt?: Date | undefined;
29
+ /**
30
+ * Null on runs created without settings, such as evaluatorq uploads.
31
+ */
32
+ settings?: RunSettings | null | undefined;
33
+ /**
34
+ * Null until the run is executed.
35
+ */
36
+ startedAt?: Date | null | undefined;
37
+ completedAt?: Date | null | undefined;
32
38
  createdAt?: Date | undefined;
33
39
  updatedAt?: Date | undefined;
34
40
  /**
@@ -54,12 +60,12 @@ export const Run$inboundSchema: z.ZodType<Run, z.ZodTypeDef, unknown> = z
54
60
  row_count: z.number().int().optional(),
55
61
  cell_status_counts: CellStatusCounts$inboundSchema.optional(),
56
62
  columns: z.array(Column$inboundSchema).optional(),
57
- settings: RunSettings$inboundSchema.optional(),
58
- started_at: z.string().datetime({ offset: true }).transform(v =>
59
- new Date(v)
63
+ settings: z.nullable(RunSettings$inboundSchema).optional(),
64
+ started_at: z.nullable(
65
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
60
66
  ).optional(),
61
- completed_at: z.string().datetime({ offset: true }).transform(v =>
62
- new Date(v)
67
+ completed_at: z.nullable(
68
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
63
69
  ).optional(),
64
70
  created_at: z.string().datetime({ offset: true }).transform(v =>
65
71
  new Date(v)
@@ -4,33 +4,13 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
 
7
- export type UpdateRunCellRequestValue = {};
8
-
9
7
  export type UpdateRunCellRequest = {
10
- value?: UpdateRunCellRequestValue | undefined;
8
+ value?: { [k: string]: any } | undefined;
11
9
  };
12
10
 
13
- /** @internal */
14
- export type UpdateRunCellRequestValue$Outbound = {};
15
-
16
- /** @internal */
17
- export const UpdateRunCellRequestValue$outboundSchema: z.ZodType<
18
- UpdateRunCellRequestValue$Outbound,
19
- z.ZodTypeDef,
20
- UpdateRunCellRequestValue
21
- > = z.object({});
22
-
23
- export function updateRunCellRequestValueToJSON(
24
- updateRunCellRequestValue: UpdateRunCellRequestValue,
25
- ): string {
26
- return JSON.stringify(
27
- UpdateRunCellRequestValue$outboundSchema.parse(updateRunCellRequestValue),
28
- );
29
- }
30
-
31
11
  /** @internal */
32
12
  export type UpdateRunCellRequest$Outbound = {
33
- value?: UpdateRunCellRequestValue$Outbound | undefined;
13
+ value?: { [k: string]: any } | undefined;
34
14
  };
35
15
 
36
16
  /** @internal */
@@ -39,7 +19,7 @@ export const UpdateRunCellRequest$outboundSchema: z.ZodType<
39
19
  z.ZodTypeDef,
40
20
  UpdateRunCellRequest
41
21
  > = z.object({
42
- value: z.lazy(() => UpdateRunCellRequestValue$outboundSchema).optional(),
22
+ value: z.record(z.any()).optional(),
43
23
  });
44
24
 
45
25
  export function updateRunCellRequestToJSON(
@@ -11,7 +11,7 @@ export type ErrorResponseData = {
11
11
  */
12
12
  message: string;
13
13
  /**
14
- * gRPC status code, when the service reports one.
14
+ * Numeric error code, when one is available.
15
15
  */
16
16
  code?: number | undefined;
17
17
  /**
@@ -22,7 +22,7 @@ export type ErrorResponseData = {
22
22
 
23
23
  export class ErrorResponse extends OrqError {
24
24
  /**
25
- * gRPC status code, when the service reports one.
25
+ * Numeric error code, when one is available.
26
26
  */
27
27
  code?: number | undefined;
28
28
  /**
@@ -1302,9 +1302,6 @@ export type Conditions = {
1302
1302
  };
1303
1303
 
1304
1304
  export type CreateAgentRequestTools = {
1305
- /**
1306
- * The id of the resource
1307
- */
1308
1305
  id: string;
1309
1306
  /**
1310
1307
  * Optional tool key for custom tools
@@ -24,6 +24,10 @@ export type CreateEvalRequestBodyType = ClosedEnum<
24
24
  >;
25
25
 
26
26
  export type Python = {
27
+ /**
28
+ * Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
29
+ */
30
+ timeout?: number | null | undefined;
27
31
  guardrailConfig?: any | undefined;
28
32
  outputType?: OutputType | undefined;
29
33
  code: string;
@@ -107,6 +111,10 @@ export type OneJury = {
107
111
  };
108
112
 
109
113
  export type LLMJury = {
114
+ /**
115
+ * Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
116
+ */
117
+ timeout?: number | null | undefined;
110
118
  guardrailConfig?: any | undefined;
111
119
  /**
112
120
  * The type of output expected from the evaluator
@@ -157,6 +165,10 @@ export type CreateEval1CategoricalLabels = {
157
165
  };
158
166
 
159
167
  export type Llm = {
168
+ /**
169
+ * Maximum time in milliseconds the evaluator may run. A request can shorten it but not extend it. Defaults to 60000.
170
+ */
171
+ timeout?: number | null | undefined;
160
172
  guardrailConfig?: any | undefined;
161
173
  /**
162
174
  * The type of output expected from the evaluator
@@ -209,6 +221,7 @@ export const CreateEvalRequestBodyType$outboundSchema: z.ZodNativeEnum<
209
221
 
210
222
  /** @internal */
211
223
  export type Python$Outbound = {
224
+ timeout?: number | null | undefined;
212
225
  guardrail_config?: any | undefined;
213
226
  output_type?: string | undefined;
214
227
  code: string;
@@ -225,6 +238,7 @@ export const Python$outboundSchema: z.ZodType<
225
238
  z.ZodTypeDef,
226
239
  Python
227
240
  > = z.object({
241
+ timeout: z.nullable(z.number().int()).optional(),
228
242
  guardrailConfig: z.any().optional(),
229
243
  outputType: OutputType$outboundSchema.optional(),
230
244
  code: z.string(),
@@ -457,6 +471,7 @@ export function oneJuryToJSON(oneJury: OneJury): string {
457
471
 
458
472
  /** @internal */
459
473
  export type LLMJury$Outbound = {
474
+ timeout?: number | null | undefined;
460
475
  guardrail_config?: any | undefined;
461
476
  output_type?: string | undefined;
462
477
  type: string;
@@ -479,6 +494,7 @@ export const LLMJury$outboundSchema: z.ZodType<
479
494
  z.ZodTypeDef,
480
495
  LLMJury
481
496
  > = z.object({
497
+ timeout: z.nullable(z.number().int()).optional(),
482
498
  guardrailConfig: z.any().optional(),
483
499
  outputType: OneOutputType$outboundSchema.optional(),
484
500
  type: CreateEval1Type$outboundSchema,
@@ -546,6 +562,7 @@ export function createEval1CategoricalLabelsToJSON(
546
562
 
547
563
  /** @internal */
548
564
  export type Llm$Outbound = {
565
+ timeout?: number | null | undefined;
549
566
  guardrail_config?: any | undefined;
550
567
  output_type?: string | undefined;
551
568
  type: string;
@@ -568,6 +585,7 @@ export type Llm$Outbound = {
568
585
  /** @internal */
569
586
  export const Llm$outboundSchema: z.ZodType<Llm$Outbound, z.ZodTypeDef, Llm> = z
570
587
  .object({
588
+ timeout: z.nullable(z.number().int()).optional(),
571
589
  guardrailConfig: z.any().optional(),
572
590
  outputType: CreateEval1OutputType$outboundSchema.optional(),
573
591
  type: OneType$outboundSchema,
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1575
1575
  z.ZodTypeDef,
1576
1576
  unknown
1577
1577
  > = z.object({
1578
- _id: z.string().default("tool_01M6E5CQVVDQPBK1HQFYZAZR2E"),
1578
+ _id: z.string().default("tool_01M6R843GJJFT4GS7SEC174X81"),
1579
1579
  path: z.string(),
1580
1580
  key: z.string(),
1581
1581
  display_name: z.string().optional(),
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
1761
1761
  z.ZodTypeDef,
1762
1762
  unknown
1763
1763
  > = z.object({
1764
- _id: z.string().default("tool_01M6E5CQVTT4FD48VKARY0C5J6"),
1764
+ _id: z.string().default("tool_01M6R843GH6V0DCMS756Q3HHKZ"),
1765
1765
  path: z.string(),
1766
1766
  key: z.string(),
1767
1767
  display_name: z.string().optional(),
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1854
1854
  z.ZodTypeDef,
1855
1855
  unknown
1856
1856
  > = z.object({
1857
- _id: z.string().default("tool_01M6E5CQVT793V0V3BD4FTF2XW"),
1857
+ _id: z.string().default("tool_01M6R843GHP6MKPE09K6GNJYV4"),
1858
1858
  path: z.string(),
1859
1859
  key: z.string(),
1860
1860
  display_name: z.string().optional(),
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
1955
1955
  z.ZodTypeDef,
1956
1956
  unknown
1957
1957
  > = z.object({
1958
- _id: z.string().default("tool_01M6E5CQVTJ4F8CQWREYNT4XEJ"),
1958
+ _id: z.string().default("tool_01M6R843GHKVY831JXQC982PR7"),
1959
1959
  path: z.string(),
1960
1960
  key: z.string(),
1961
1961
  display_name: z.string().optional(),
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
639
639
  z.ZodTypeDef,
640
640
  unknown
641
641
  > = z.object({
642
- _id: z.string().default("tool_01M6E5CQVS71D06D966TH1D83M"),
642
+ _id: z.string().default("tool_01M6R843GEDSQEKD2FFD48E4P6"),
643
643
  path: z.string(),
644
644
  key: z.string(),
645
645
  display_name: z.string().optional(),
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
821
821
  z.ZodTypeDef,
822
822
  unknown
823
823
  > = z.object({
824
- _id: z.string().default("tool_01M6E5CQVRW36VY4GYH5H35ZJ0"),
824
+ _id: z.string().default("tool_01M6R843GE2NX3BHH6J60ADF46"),
825
825
  path: z.string(),
826
826
  key: z.string(),
827
827
  display_name: z.string().optional(),
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
914
914
  z.ZodTypeDef,
915
915
  unknown
916
916
  > = z.object({
917
- _id: z.string().default("tool_01M6E5CQVRTZ6D0AP9RRNW3WHD"),
917
+ _id: z.string().default("tool_01M6R843GDN36T4CEA77AVW4M9"),
918
918
  path: z.string(),
919
919
  key: z.string(),
920
920
  display_name: z.string().optional(),
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1012
1012
  z.ZodTypeDef,
1013
1013
  unknown
1014
1014
  > = z.object({
1015
- _id: z.string().default("tool_01M6E5CQVRV6H9645X1CHB72ZX"),
1015
+ _id: z.string().default("tool_01M6R843GDAYNWAANFCT56AH9V"),
1016
1016
  path: z.string(),
1017
1017
  key: z.string(),
1018
1018
  display_name: z.string().optional(),