@orq-ai/node 3.14.32 → 3.14.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +210 -210
- package/bin/mcp-server.js.map +35 -35
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +10 -10
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +10 -10
- package/package.json +1 -1
- package/packages/orq-rc/docs/sdks/agents/README.md +2 -2
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/toolsDuplicate.ts +3 -2
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/operations/createagent.ts +403 -17
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -8
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +30 -28
- package/packages/orq-rc/src/models/operations/createprompt.ts +0 -6
- package/packages/orq-rc/src/models/operations/createtool.ts +10 -10
- package/packages/orq-rc/src/models/operations/duplicateagent.ts +206 -0
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +70 -10
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +204 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +0 -6
- package/packages/orq-rc/src/models/operations/getalltools.ts +10 -10
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +0 -6
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +0 -6
- package/packages/orq-rc/src/models/operations/listagents.ts +204 -0
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +0 -6
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/runagent.ts +202 -0
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +204 -0
- package/packages/orq-rc/src/models/operations/updateagent.ts +415 -0
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +30 -28
- package/packages/orq-rc/src/models/operations/updateprompt.ts +0 -12
- package/packages/orq-rc/src/models/operations/updatetool.ts +10 -10
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +10 -10
- package/src/models/operations/duplicatetool.ts +10 -10
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +10 -10
|
@@ -4929,7 +4929,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
4929
4929
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
4930
4930
|
reviewed_by_id: z.string(),
|
|
4931
4931
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
4932
|
-
"2025-11-
|
|
4932
|
+
"2025-11-13T11:08:29.296Z",
|
|
4933
4933
|
).transform(v => new Date(v)),
|
|
4934
4934
|
type: CreateDatasetItemEvaluationsDatasetsType$inboundSchema,
|
|
4935
4935
|
values: z.array(z.string()),
|
|
@@ -4964,7 +4964,7 @@ export const Evaluations3$outboundSchema: z.ZodType<
|
|
|
4964
4964
|
humanReviewId: z.string(),
|
|
4965
4965
|
source: CreateDatasetItemEvaluationsSource$outboundSchema.default("orq"),
|
|
4966
4966
|
reviewedById: z.string(),
|
|
4967
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
4967
|
+
reviewedAt: z.date().default(() => new Date("2025-11-13T11:08:29.296Z"))
|
|
4968
4968
|
.transform(v => v.toISOString()),
|
|
4969
4969
|
type: CreateDatasetItemEvaluationsDatasetsType$outboundSchema,
|
|
4970
4970
|
values: z.array(z.string()),
|
|
@@ -5029,7 +5029,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
5029
5029
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
5030
5030
|
reviewed_by_id: z.string(),
|
|
5031
5031
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
5032
|
-
"2025-11-
|
|
5032
|
+
"2025-11-13T11:08:29.296Z",
|
|
5033
5033
|
).transform(v => new Date(v)),
|
|
5034
5034
|
type: CreateDatasetItemEvaluationsType$inboundSchema,
|
|
5035
5035
|
value: z.number(),
|
|
@@ -5064,7 +5064,7 @@ export const Evaluations2$outboundSchema: z.ZodType<
|
|
|
5064
5064
|
humanReviewId: z.string(),
|
|
5065
5065
|
source: EvaluationsSource$outboundSchema.default("orq"),
|
|
5066
5066
|
reviewedById: z.string(),
|
|
5067
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
5067
|
+
reviewedAt: z.date().default(() => new Date("2025-11-13T11:08:29.296Z"))
|
|
5068
5068
|
.transform(v => v.toISOString()),
|
|
5069
5069
|
type: CreateDatasetItemEvaluationsType$outboundSchema,
|
|
5070
5070
|
value: z.number(),
|
|
@@ -5127,7 +5127,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
5127
5127
|
source: Source$inboundSchema.default("orq"),
|
|
5128
5128
|
reviewed_by_id: z.string(),
|
|
5129
5129
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
5130
|
-
"2025-11-
|
|
5130
|
+
"2025-11-13T11:08:29.295Z",
|
|
5131
5131
|
).transform(v => new Date(v)),
|
|
5132
5132
|
type: EvaluationsType$inboundSchema,
|
|
5133
5133
|
value: z.string(),
|
|
@@ -5162,7 +5162,7 @@ export const Evaluations1$outboundSchema: z.ZodType<
|
|
|
5162
5162
|
humanReviewId: z.string(),
|
|
5163
5163
|
source: Source$outboundSchema.default("orq"),
|
|
5164
5164
|
reviewedById: z.string(),
|
|
5165
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
5165
|
+
reviewedAt: z.date().default(() => new Date("2025-11-13T11:08:29.295Z"))
|
|
5166
5166
|
.transform(v => v.toISOString()),
|
|
5167
5167
|
type: EvaluationsType$outboundSchema,
|
|
5168
5168
|
value: z.string(),
|
|
@@ -5267,7 +5267,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
5267
5267
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
5268
5268
|
.optional(),
|
|
5269
5269
|
updated: z.string().datetime({ offset: true }).default(
|
|
5270
|
-
"2025-11-
|
|
5270
|
+
"2025-11-13T11:08:17.262Z",
|
|
5271
5271
|
).transform(v => new Date(v)),
|
|
5272
5272
|
}).transform((v) => {
|
|
5273
5273
|
return remap$(v, {
|
|
@@ -5345,7 +5345,7 @@ export const CreateDatasetItemResponseBody$outboundSchema: z.ZodType<
|
|
|
5345
5345
|
createdById: z.string().optional(),
|
|
5346
5346
|
updatedById: z.string().optional(),
|
|
5347
5347
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
5348
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
5348
|
+
updated: z.date().default(() => new Date("2025-11-13T11:08:17.262Z"))
|
|
5349
5349
|
.transform(v => v.toISOString()),
|
|
5350
5350
|
}).transform((v) => {
|
|
5351
5351
|
return remap$(v, {
|
|
@@ -608,7 +608,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
608
608
|
z.ZodTypeDef,
|
|
609
609
|
unknown
|
|
610
610
|
> = z.object({
|
|
611
|
-
_id: z.string().default("
|
|
611
|
+
_id: z.string().default("01K9YEE44ABM89H41W0B7VKTTQ"),
|
|
612
612
|
display_name: z.string(),
|
|
613
613
|
description: z.string().optional(),
|
|
614
614
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -651,7 +651,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
651
651
|
z.ZodTypeDef,
|
|
652
652
|
CreateDatasourceResponseBody
|
|
653
653
|
> = z.object({
|
|
654
|
-
id: z.string().default("
|
|
654
|
+
id: z.string().default("01K9YEE44ABM89H41W0B7VKTTQ"),
|
|
655
655
|
displayName: z.string(),
|
|
656
656
|
description: z.string().optional(),
|
|
657
657
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -137,6 +137,7 @@ export type CreateEvalRequestBodyGuardrailConfig =
|
|
|
137
137
|
*/
|
|
138
138
|
export const CreateEvalRequestBodyOutputType = {
|
|
139
139
|
Boolean: "boolean",
|
|
140
|
+
Categorical: "categorical",
|
|
140
141
|
Number: "number",
|
|
141
142
|
String: "string",
|
|
142
143
|
} as const;
|
|
@@ -304,6 +305,7 @@ export type GuardrailConfig = NumberT | Boolean;
|
|
|
304
305
|
*/
|
|
305
306
|
export const OutputType = {
|
|
306
307
|
Boolean: "boolean",
|
|
308
|
+
Categorical: "categorical",
|
|
307
309
|
Number: "number",
|
|
308
310
|
String: "string",
|
|
309
311
|
} as const;
|
|
@@ -2754,8 +2756,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2754
2756
|
> = z.object({
|
|
2755
2757
|
_id: z.string(),
|
|
2756
2758
|
description: z.string(),
|
|
2757
|
-
created: z.string().default("2025-11-
|
|
2758
|
-
updated: z.string().default("2025-11-
|
|
2759
|
+
created: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
2760
|
+
updated: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
2759
2761
|
guardrail_config: z.union([
|
|
2760
2762
|
z.lazy(() =>
|
|
2761
2763
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -2797,8 +2799,8 @@ export const Typescript$outboundSchema: z.ZodType<
|
|
|
2797
2799
|
> = z.object({
|
|
2798
2800
|
id: z.string(),
|
|
2799
2801
|
description: z.string(),
|
|
2800
|
-
created: z.string().default("2025-11-
|
|
2801
|
-
updated: z.string().default("2025-11-
|
|
2802
|
+
created: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
2803
|
+
updated: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
2802
2804
|
guardrailConfig: z.union([
|
|
2803
2805
|
z.lazy(() =>
|
|
2804
2806
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -3079,8 +3081,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
3079
3081
|
.object({
|
|
3080
3082
|
_id: z.string(),
|
|
3081
3083
|
description: z.string(),
|
|
3082
|
-
created: z.string().default("2025-11-
|
|
3083
|
-
updated: z.string().default("2025-11-
|
|
3084
|
+
created: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
3085
|
+
updated: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
3084
3086
|
guardrail_config: z.union([
|
|
3085
3087
|
z.lazy(() =>
|
|
3086
3088
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -3125,8 +3127,8 @@ export const Ragas$outboundSchema: z.ZodType<
|
|
|
3125
3127
|
> = z.object({
|
|
3126
3128
|
id: z.string(),
|
|
3127
3129
|
description: z.string(),
|
|
3128
|
-
created: z.string().default("2025-11-
|
|
3129
|
-
updated: z.string().default("2025-11-
|
|
3130
|
+
created: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
3131
|
+
updated: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
3130
3132
|
guardrailConfig: z.union([
|
|
3131
3133
|
z.lazy(() =>
|
|
3132
3134
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -5414,8 +5416,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
5414
5416
|
> = z.object({
|
|
5415
5417
|
_id: z.string(),
|
|
5416
5418
|
description: z.string(),
|
|
5417
|
-
created: z.string().default("2025-11-
|
|
5418
|
-
updated: z.string().default("2025-11-
|
|
5419
|
+
created: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
5420
|
+
updated: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
5419
5421
|
guardrail_config: z.union([
|
|
5420
5422
|
z.lazy(() =>
|
|
5421
5423
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -5528,8 +5530,8 @@ export const CreateEvalResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
5528
5530
|
> = z.object({
|
|
5529
5531
|
id: z.string(),
|
|
5530
5532
|
description: z.string(),
|
|
5531
|
-
created: z.string().default("2025-11-
|
|
5532
|
-
updated: z.string().default("2025-11-
|
|
5533
|
+
created: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
5534
|
+
updated: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
5533
5535
|
guardrailConfig: z.union([
|
|
5534
5536
|
z.lazy(() =>
|
|
5535
5537
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -5846,8 +5848,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
5846
5848
|
> = z.object({
|
|
5847
5849
|
_id: z.string(),
|
|
5848
5850
|
description: z.string(),
|
|
5849
|
-
created: z.string().default("2025-11-
|
|
5850
|
-
updated: z.string().default("2025-11-
|
|
5851
|
+
created: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
5852
|
+
updated: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
5851
5853
|
guardrail_config: z.union([
|
|
5852
5854
|
z.lazy(() =>
|
|
5853
5855
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -5888,8 +5890,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
5888
5890
|
> = z.object({
|
|
5889
5891
|
id: z.string(),
|
|
5890
5892
|
description: z.string(),
|
|
5891
|
-
created: z.string().default("2025-11-
|
|
5892
|
-
updated: z.string().default("2025-11-
|
|
5893
|
+
created: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
5894
|
+
updated: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
5893
5895
|
guardrailConfig: z.union([
|
|
5894
5896
|
z.lazy(() =>
|
|
5895
5897
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -6169,8 +6171,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
6169
6171
|
> = z.object({
|
|
6170
6172
|
_id: z.string(),
|
|
6171
6173
|
description: z.string(),
|
|
6172
|
-
created: z.string().default("2025-11-
|
|
6173
|
-
updated: z.string().default("2025-11-
|
|
6174
|
+
created: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
6175
|
+
updated: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
6174
6176
|
guardrail_config: z.union([
|
|
6175
6177
|
z.lazy(() =>
|
|
6176
6178
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -6217,8 +6219,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
6217
6219
|
> = z.object({
|
|
6218
6220
|
id: z.string(),
|
|
6219
6221
|
description: z.string(),
|
|
6220
|
-
created: z.string().default("2025-11-
|
|
6221
|
-
updated: z.string().default("2025-11-
|
|
6222
|
+
created: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
6223
|
+
updated: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
6222
6224
|
guardrailConfig: z.union([
|
|
6223
6225
|
z.lazy(() =>
|
|
6224
6226
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -6474,8 +6476,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
6474
6476
|
> = z.object({
|
|
6475
6477
|
_id: z.string(),
|
|
6476
6478
|
description: z.string(),
|
|
6477
|
-
created: z.string().default("2025-11-
|
|
6478
|
-
updated: z.string().default("2025-11-
|
|
6479
|
+
created: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
6480
|
+
updated: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
6479
6481
|
guardrail_config: z.union([
|
|
6480
6482
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
6481
6483
|
z.lazy(() =>
|
|
@@ -6514,8 +6516,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
6514
6516
|
> = z.object({
|
|
6515
6517
|
id: z.string(),
|
|
6516
6518
|
description: z.string(),
|
|
6517
|
-
created: z.string().default("2025-11-
|
|
6518
|
-
updated: z.string().default("2025-11-
|
|
6519
|
+
created: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
6520
|
+
updated: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
6519
6521
|
guardrailConfig: z.union([
|
|
6520
6522
|
z.lazy(() =>
|
|
6521
6523
|
CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -6753,8 +6755,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
6753
6755
|
> = z.object({
|
|
6754
6756
|
_id: z.string(),
|
|
6755
6757
|
description: z.string(),
|
|
6756
|
-
created: z.string().default("2025-11-
|
|
6757
|
-
updated: z.string().default("2025-11-
|
|
6758
|
+
created: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
6759
|
+
updated: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
6758
6760
|
guardrail_config: z.union([
|
|
6759
6761
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
6760
6762
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -6793,8 +6795,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
6793
6795
|
> = z.object({
|
|
6794
6796
|
id: z.string(),
|
|
6795
6797
|
description: z.string(),
|
|
6796
|
-
created: z.string().default("2025-11-
|
|
6797
|
-
updated: z.string().default("2025-11-
|
|
6798
|
+
created: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
6799
|
+
updated: z.string().default("2025-11-13T11:08:19.837Z"),
|
|
6798
6800
|
guardrailConfig: z.union([
|
|
6799
6801
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
6800
6802
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -1561,7 +1561,6 @@ export type CreatePromptPromptsResponseMessages = {
|
|
|
1561
1561
|
export type CreatePromptPromptConfig = {
|
|
1562
1562
|
stream?: boolean | undefined;
|
|
1563
1563
|
model?: string | undefined;
|
|
1564
|
-
displayName?: string | undefined;
|
|
1565
1564
|
/**
|
|
1566
1565
|
* The id of the resource
|
|
1567
1566
|
*/
|
|
@@ -5882,7 +5881,6 @@ export const CreatePromptPromptConfig$inboundSchema: z.ZodType<
|
|
|
5882
5881
|
> = z.object({
|
|
5883
5882
|
stream: z.boolean().optional(),
|
|
5884
5883
|
model: z.string().optional(),
|
|
5885
|
-
display_name: z.string().optional(),
|
|
5886
5884
|
model_db_id: z.nullable(z.string()).optional(),
|
|
5887
5885
|
model_type: z.nullable(CreatePromptModelType$inboundSchema).optional(),
|
|
5888
5886
|
model_parameters: z.lazy(() => CreatePromptModelParameters$inboundSchema)
|
|
@@ -5895,7 +5893,6 @@ export const CreatePromptPromptConfig$inboundSchema: z.ZodType<
|
|
|
5895
5893
|
),
|
|
5896
5894
|
}).transform((v) => {
|
|
5897
5895
|
return remap$(v, {
|
|
5898
|
-
"display_name": "displayName",
|
|
5899
5896
|
"model_db_id": "modelDbId",
|
|
5900
5897
|
"model_type": "modelType",
|
|
5901
5898
|
"model_parameters": "modelParameters",
|
|
@@ -5906,7 +5903,6 @@ export const CreatePromptPromptConfig$inboundSchema: z.ZodType<
|
|
|
5906
5903
|
export type CreatePromptPromptConfig$Outbound = {
|
|
5907
5904
|
stream?: boolean | undefined;
|
|
5908
5905
|
model?: string | undefined;
|
|
5909
|
-
display_name?: string | undefined;
|
|
5910
5906
|
model_db_id?: string | null | undefined;
|
|
5911
5907
|
model_type?: string | null | undefined;
|
|
5912
5908
|
model_parameters?: CreatePromptModelParameters$Outbound | undefined;
|
|
@@ -5924,7 +5920,6 @@ export const CreatePromptPromptConfig$outboundSchema: z.ZodType<
|
|
|
5924
5920
|
> = z.object({
|
|
5925
5921
|
stream: z.boolean().optional(),
|
|
5926
5922
|
model: z.string().optional(),
|
|
5927
|
-
displayName: z.string().optional(),
|
|
5928
5923
|
modelDbId: z.nullable(z.string()).optional(),
|
|
5929
5924
|
modelType: z.nullable(CreatePromptModelType$outboundSchema).optional(),
|
|
5930
5925
|
modelParameters: z.lazy(() => CreatePromptModelParameters$outboundSchema)
|
|
@@ -5937,7 +5932,6 @@ export const CreatePromptPromptConfig$outboundSchema: z.ZodType<
|
|
|
5937
5932
|
),
|
|
5938
5933
|
}).transform((v) => {
|
|
5939
5934
|
return remap$(v, {
|
|
5940
|
-
displayName: "display_name",
|
|
5941
5935
|
modelDbId: "model_db_id",
|
|
5942
5936
|
modelType: "model_type",
|
|
5943
5937
|
modelParameters: "model_parameters",
|
|
@@ -2177,7 +2177,7 @@ export const ResponseBody5$inboundSchema: z.ZodType<
|
|
|
2177
2177
|
z.ZodTypeDef,
|
|
2178
2178
|
unknown
|
|
2179
2179
|
> = z.object({
|
|
2180
|
-
_id: z.string().default("
|
|
2180
|
+
_id: z.string().default("01K9YEE400GDQ03P1C2F8KZ9XC"),
|
|
2181
2181
|
path: z.string(),
|
|
2182
2182
|
key: z.string(),
|
|
2183
2183
|
display_name: z.string().optional(),
|
|
@@ -2231,7 +2231,7 @@ export const ResponseBody5$outboundSchema: z.ZodType<
|
|
|
2231
2231
|
z.ZodTypeDef,
|
|
2232
2232
|
ResponseBody5
|
|
2233
2233
|
> = z.object({
|
|
2234
|
-
id: z.string().default("
|
|
2234
|
+
id: z.string().default("01K9YEE400GDQ03P1C2F8KZ9XC"),
|
|
2235
2235
|
path: z.string(),
|
|
2236
2236
|
key: z.string(),
|
|
2237
2237
|
displayName: z.string().optional(),
|
|
@@ -2477,7 +2477,7 @@ export const ResponseBody4$inboundSchema: z.ZodType<
|
|
|
2477
2477
|
z.ZodTypeDef,
|
|
2478
2478
|
unknown
|
|
2479
2479
|
> = z.object({
|
|
2480
|
-
_id: z.string().default("
|
|
2480
|
+
_id: z.string().default("01K9YEE3ZYNFF8KDXCDA4NEC4S"),
|
|
2481
2481
|
path: z.string(),
|
|
2482
2482
|
key: z.string(),
|
|
2483
2483
|
display_name: z.string().optional(),
|
|
@@ -2530,7 +2530,7 @@ export const ResponseBody4$outboundSchema: z.ZodType<
|
|
|
2530
2530
|
z.ZodTypeDef,
|
|
2531
2531
|
ResponseBody4
|
|
2532
2532
|
> = z.object({
|
|
2533
|
-
id: z.string().default("
|
|
2533
|
+
id: z.string().default("01K9YEE3ZYNFF8KDXCDA4NEC4S"),
|
|
2534
2534
|
path: z.string(),
|
|
2535
2535
|
key: z.string(),
|
|
2536
2536
|
displayName: z.string().optional(),
|
|
@@ -2847,7 +2847,7 @@ export const ResponseBody3$inboundSchema: z.ZodType<
|
|
|
2847
2847
|
z.ZodTypeDef,
|
|
2848
2848
|
unknown
|
|
2849
2849
|
> = z.object({
|
|
2850
|
-
_id: z.string().default("
|
|
2850
|
+
_id: z.string().default("01K9YEE3ZW0FT7Y2S7PF621PVX"),
|
|
2851
2851
|
path: z.string(),
|
|
2852
2852
|
key: z.string(),
|
|
2853
2853
|
display_name: z.string().optional(),
|
|
@@ -2898,7 +2898,7 @@ export const ResponseBody3$outboundSchema: z.ZodType<
|
|
|
2898
2898
|
z.ZodTypeDef,
|
|
2899
2899
|
ResponseBody3
|
|
2900
2900
|
> = z.object({
|
|
2901
|
-
id: z.string().default("
|
|
2901
|
+
id: z.string().default("01K9YEE3ZW0FT7Y2S7PF621PVX"),
|
|
2902
2902
|
path: z.string(),
|
|
2903
2903
|
key: z.string(),
|
|
2904
2904
|
displayName: z.string().optional(),
|
|
@@ -3010,7 +3010,7 @@ export const ResponseBody2$inboundSchema: z.ZodType<
|
|
|
3010
3010
|
z.ZodTypeDef,
|
|
3011
3011
|
unknown
|
|
3012
3012
|
> = z.object({
|
|
3013
|
-
_id: z.string().default("
|
|
3013
|
+
_id: z.string().default("01K9YEE3ZV8AZZ1N2M02W6EE2M"),
|
|
3014
3014
|
path: z.string(),
|
|
3015
3015
|
key: z.string(),
|
|
3016
3016
|
display_name: z.string().optional(),
|
|
@@ -3062,7 +3062,7 @@ export const ResponseBody2$outboundSchema: z.ZodType<
|
|
|
3062
3062
|
z.ZodTypeDef,
|
|
3063
3063
|
ResponseBody2
|
|
3064
3064
|
> = z.object({
|
|
3065
|
-
id: z.string().default("
|
|
3065
|
+
id: z.string().default("01K9YEE3ZV8AZZ1N2M02W6EE2M"),
|
|
3066
3066
|
path: z.string(),
|
|
3067
3067
|
key: z.string(),
|
|
3068
3068
|
displayName: z.string().optional(),
|
|
@@ -3177,7 +3177,7 @@ export const ResponseBody1$inboundSchema: z.ZodType<
|
|
|
3177
3177
|
z.ZodTypeDef,
|
|
3178
3178
|
unknown
|
|
3179
3179
|
> = z.object({
|
|
3180
|
-
_id: z.string().default("
|
|
3180
|
+
_id: z.string().default("01K9YEE3ZS015ZR9BPJ9X0K240"),
|
|
3181
3181
|
path: z.string(),
|
|
3182
3182
|
key: z.string(),
|
|
3183
3183
|
display_name: z.string().optional(),
|
|
@@ -3228,7 +3228,7 @@ export const ResponseBody1$outboundSchema: z.ZodType<
|
|
|
3228
3228
|
z.ZodTypeDef,
|
|
3229
3229
|
ResponseBody1
|
|
3230
3230
|
> = z.object({
|
|
3231
|
-
id: z.string().default("
|
|
3231
|
+
id: z.string().default("01K9YEE3ZS015ZR9BPJ9X0K240"),
|
|
3232
3232
|
path: z.string(),
|
|
3233
3233
|
key: z.string(),
|
|
3234
3234
|
displayName: z.string().optional(),
|
|
@@ -83,6 +83,64 @@ export type DuplicateAgentTools = {
|
|
|
83
83
|
timeout?: number | undefined;
|
|
84
84
|
};
|
|
85
85
|
|
|
86
|
+
/**
|
|
87
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
88
|
+
*/
|
|
89
|
+
export const DuplicateAgentExecuteOn = {
|
|
90
|
+
Input: "input",
|
|
91
|
+
Output: "output",
|
|
92
|
+
} as const;
|
|
93
|
+
/**
|
|
94
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
95
|
+
*/
|
|
96
|
+
export type DuplicateAgentExecuteOn = ClosedEnum<
|
|
97
|
+
typeof DuplicateAgentExecuteOn
|
|
98
|
+
>;
|
|
99
|
+
|
|
100
|
+
export type DuplicateAgentEvaluators = {
|
|
101
|
+
/**
|
|
102
|
+
* Unique key or identifier of the evaluator
|
|
103
|
+
*/
|
|
104
|
+
id: string;
|
|
105
|
+
/**
|
|
106
|
+
* The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
|
|
107
|
+
*/
|
|
108
|
+
sampleRate?: number | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
111
|
+
*/
|
|
112
|
+
executeOn: DuplicateAgentExecuteOn;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
117
|
+
*/
|
|
118
|
+
export const DuplicateAgentAgentsExecuteOn = {
|
|
119
|
+
Input: "input",
|
|
120
|
+
Output: "output",
|
|
121
|
+
} as const;
|
|
122
|
+
/**
|
|
123
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
124
|
+
*/
|
|
125
|
+
export type DuplicateAgentAgentsExecuteOn = ClosedEnum<
|
|
126
|
+
typeof DuplicateAgentAgentsExecuteOn
|
|
127
|
+
>;
|
|
128
|
+
|
|
129
|
+
export type DuplicateAgentGuardrails = {
|
|
130
|
+
/**
|
|
131
|
+
* Unique key or identifier of the evaluator
|
|
132
|
+
*/
|
|
133
|
+
id: string;
|
|
134
|
+
/**
|
|
135
|
+
* The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
|
|
136
|
+
*/
|
|
137
|
+
sampleRate?: number | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
140
|
+
*/
|
|
141
|
+
executeOn: DuplicateAgentAgentsExecuteOn;
|
|
142
|
+
};
|
|
143
|
+
|
|
86
144
|
export type DuplicateAgentSettings = {
|
|
87
145
|
/**
|
|
88
146
|
* Maximum iterations(llm calls) before the agent will stop executing.
|
|
@@ -97,6 +155,14 @@ export type DuplicateAgentSettings = {
|
|
|
97
155
|
*/
|
|
98
156
|
toolApprovalRequired?: DuplicateAgentToolApprovalRequired | undefined;
|
|
99
157
|
tools?: Array<DuplicateAgentTools> | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* Configuration for an evaluator applied to the agent
|
|
160
|
+
*/
|
|
161
|
+
evaluators?: Array<DuplicateAgentEvaluators> | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* Configuration for a guardrail applied to the agent
|
|
164
|
+
*/
|
|
165
|
+
guardrails?: Array<DuplicateAgentGuardrails> | undefined;
|
|
100
166
|
};
|
|
101
167
|
|
|
102
168
|
/**
|
|
@@ -807,6 +873,8 @@ export const DuplicateAgentCollapsedConfigurationSections = {
|
|
|
807
873
|
Tools: "tools",
|
|
808
874
|
Context: "context",
|
|
809
875
|
RuntimeConstraints: "runtime_constraints",
|
|
876
|
+
Evaluators: "evaluators",
|
|
877
|
+
Guardrails: "guardrails",
|
|
810
878
|
} as const;
|
|
811
879
|
export type DuplicateAgentCollapsedConfigurationSections = ClosedEnum<
|
|
812
880
|
typeof DuplicateAgentCollapsedConfigurationSections
|
|
@@ -1046,6 +1114,134 @@ export function duplicateAgentToolsFromJSON(
|
|
|
1046
1114
|
);
|
|
1047
1115
|
}
|
|
1048
1116
|
|
|
1117
|
+
/** @internal */
|
|
1118
|
+
export const DuplicateAgentExecuteOn$inboundSchema: z.ZodNativeEnum<
|
|
1119
|
+
typeof DuplicateAgentExecuteOn
|
|
1120
|
+
> = z.nativeEnum(DuplicateAgentExecuteOn);
|
|
1121
|
+
/** @internal */
|
|
1122
|
+
export const DuplicateAgentExecuteOn$outboundSchema: z.ZodNativeEnum<
|
|
1123
|
+
typeof DuplicateAgentExecuteOn
|
|
1124
|
+
> = DuplicateAgentExecuteOn$inboundSchema;
|
|
1125
|
+
|
|
1126
|
+
/** @internal */
|
|
1127
|
+
export const DuplicateAgentEvaluators$inboundSchema: z.ZodType<
|
|
1128
|
+
DuplicateAgentEvaluators,
|
|
1129
|
+
z.ZodTypeDef,
|
|
1130
|
+
unknown
|
|
1131
|
+
> = z.object({
|
|
1132
|
+
id: z.string(),
|
|
1133
|
+
sample_rate: z.number().default(50),
|
|
1134
|
+
execute_on: DuplicateAgentExecuteOn$inboundSchema,
|
|
1135
|
+
}).transform((v) => {
|
|
1136
|
+
return remap$(v, {
|
|
1137
|
+
"sample_rate": "sampleRate",
|
|
1138
|
+
"execute_on": "executeOn",
|
|
1139
|
+
});
|
|
1140
|
+
});
|
|
1141
|
+
/** @internal */
|
|
1142
|
+
export type DuplicateAgentEvaluators$Outbound = {
|
|
1143
|
+
id: string;
|
|
1144
|
+
sample_rate: number;
|
|
1145
|
+
execute_on: string;
|
|
1146
|
+
};
|
|
1147
|
+
|
|
1148
|
+
/** @internal */
|
|
1149
|
+
export const DuplicateAgentEvaluators$outboundSchema: z.ZodType<
|
|
1150
|
+
DuplicateAgentEvaluators$Outbound,
|
|
1151
|
+
z.ZodTypeDef,
|
|
1152
|
+
DuplicateAgentEvaluators
|
|
1153
|
+
> = z.object({
|
|
1154
|
+
id: z.string(),
|
|
1155
|
+
sampleRate: z.number().default(50),
|
|
1156
|
+
executeOn: DuplicateAgentExecuteOn$outboundSchema,
|
|
1157
|
+
}).transform((v) => {
|
|
1158
|
+
return remap$(v, {
|
|
1159
|
+
sampleRate: "sample_rate",
|
|
1160
|
+
executeOn: "execute_on",
|
|
1161
|
+
});
|
|
1162
|
+
});
|
|
1163
|
+
|
|
1164
|
+
export function duplicateAgentEvaluatorsToJSON(
|
|
1165
|
+
duplicateAgentEvaluators: DuplicateAgentEvaluators,
|
|
1166
|
+
): string {
|
|
1167
|
+
return JSON.stringify(
|
|
1168
|
+
DuplicateAgentEvaluators$outboundSchema.parse(duplicateAgentEvaluators),
|
|
1169
|
+
);
|
|
1170
|
+
}
|
|
1171
|
+
export function duplicateAgentEvaluatorsFromJSON(
|
|
1172
|
+
jsonString: string,
|
|
1173
|
+
): SafeParseResult<DuplicateAgentEvaluators, SDKValidationError> {
|
|
1174
|
+
return safeParse(
|
|
1175
|
+
jsonString,
|
|
1176
|
+
(x) => DuplicateAgentEvaluators$inboundSchema.parse(JSON.parse(x)),
|
|
1177
|
+
`Failed to parse 'DuplicateAgentEvaluators' from JSON`,
|
|
1178
|
+
);
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
/** @internal */
|
|
1182
|
+
export const DuplicateAgentAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<
|
|
1183
|
+
typeof DuplicateAgentAgentsExecuteOn
|
|
1184
|
+
> = z.nativeEnum(DuplicateAgentAgentsExecuteOn);
|
|
1185
|
+
/** @internal */
|
|
1186
|
+
export const DuplicateAgentAgentsExecuteOn$outboundSchema: z.ZodNativeEnum<
|
|
1187
|
+
typeof DuplicateAgentAgentsExecuteOn
|
|
1188
|
+
> = DuplicateAgentAgentsExecuteOn$inboundSchema;
|
|
1189
|
+
|
|
1190
|
+
/** @internal */
|
|
1191
|
+
export const DuplicateAgentGuardrails$inboundSchema: z.ZodType<
|
|
1192
|
+
DuplicateAgentGuardrails,
|
|
1193
|
+
z.ZodTypeDef,
|
|
1194
|
+
unknown
|
|
1195
|
+
> = z.object({
|
|
1196
|
+
id: z.string(),
|
|
1197
|
+
sample_rate: z.number().default(50),
|
|
1198
|
+
execute_on: DuplicateAgentAgentsExecuteOn$inboundSchema,
|
|
1199
|
+
}).transform((v) => {
|
|
1200
|
+
return remap$(v, {
|
|
1201
|
+
"sample_rate": "sampleRate",
|
|
1202
|
+
"execute_on": "executeOn",
|
|
1203
|
+
});
|
|
1204
|
+
});
|
|
1205
|
+
/** @internal */
|
|
1206
|
+
export type DuplicateAgentGuardrails$Outbound = {
|
|
1207
|
+
id: string;
|
|
1208
|
+
sample_rate: number;
|
|
1209
|
+
execute_on: string;
|
|
1210
|
+
};
|
|
1211
|
+
|
|
1212
|
+
/** @internal */
|
|
1213
|
+
export const DuplicateAgentGuardrails$outboundSchema: z.ZodType<
|
|
1214
|
+
DuplicateAgentGuardrails$Outbound,
|
|
1215
|
+
z.ZodTypeDef,
|
|
1216
|
+
DuplicateAgentGuardrails
|
|
1217
|
+
> = z.object({
|
|
1218
|
+
id: z.string(),
|
|
1219
|
+
sampleRate: z.number().default(50),
|
|
1220
|
+
executeOn: DuplicateAgentAgentsExecuteOn$outboundSchema,
|
|
1221
|
+
}).transform((v) => {
|
|
1222
|
+
return remap$(v, {
|
|
1223
|
+
sampleRate: "sample_rate",
|
|
1224
|
+
executeOn: "execute_on",
|
|
1225
|
+
});
|
|
1226
|
+
});
|
|
1227
|
+
|
|
1228
|
+
export function duplicateAgentGuardrailsToJSON(
|
|
1229
|
+
duplicateAgentGuardrails: DuplicateAgentGuardrails,
|
|
1230
|
+
): string {
|
|
1231
|
+
return JSON.stringify(
|
|
1232
|
+
DuplicateAgentGuardrails$outboundSchema.parse(duplicateAgentGuardrails),
|
|
1233
|
+
);
|
|
1234
|
+
}
|
|
1235
|
+
export function duplicateAgentGuardrailsFromJSON(
|
|
1236
|
+
jsonString: string,
|
|
1237
|
+
): SafeParseResult<DuplicateAgentGuardrails, SDKValidationError> {
|
|
1238
|
+
return safeParse(
|
|
1239
|
+
jsonString,
|
|
1240
|
+
(x) => DuplicateAgentGuardrails$inboundSchema.parse(JSON.parse(x)),
|
|
1241
|
+
`Failed to parse 'DuplicateAgentGuardrails' from JSON`,
|
|
1242
|
+
);
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1049
1245
|
/** @internal */
|
|
1050
1246
|
export const DuplicateAgentSettings$inboundSchema: z.ZodType<
|
|
1051
1247
|
DuplicateAgentSettings,
|
|
@@ -1057,6 +1253,10 @@ export const DuplicateAgentSettings$inboundSchema: z.ZodType<
|
|
|
1057
1253
|
tool_approval_required: DuplicateAgentToolApprovalRequired$inboundSchema
|
|
1058
1254
|
.default("respect_tool"),
|
|
1059
1255
|
tools: z.array(z.lazy(() => DuplicateAgentTools$inboundSchema)).optional(),
|
|
1256
|
+
evaluators: z.array(z.lazy(() => DuplicateAgentEvaluators$inboundSchema))
|
|
1257
|
+
.optional(),
|
|
1258
|
+
guardrails: z.array(z.lazy(() => DuplicateAgentGuardrails$inboundSchema))
|
|
1259
|
+
.optional(),
|
|
1060
1260
|
}).transform((v) => {
|
|
1061
1261
|
return remap$(v, {
|
|
1062
1262
|
"max_iterations": "maxIterations",
|
|
@@ -1070,6 +1270,8 @@ export type DuplicateAgentSettings$Outbound = {
|
|
|
1070
1270
|
max_execution_time: number;
|
|
1071
1271
|
tool_approval_required: string;
|
|
1072
1272
|
tools?: Array<DuplicateAgentTools$Outbound> | undefined;
|
|
1273
|
+
evaluators?: Array<DuplicateAgentEvaluators$Outbound> | undefined;
|
|
1274
|
+
guardrails?: Array<DuplicateAgentGuardrails$Outbound> | undefined;
|
|
1073
1275
|
};
|
|
1074
1276
|
|
|
1075
1277
|
/** @internal */
|
|
@@ -1083,6 +1285,10 @@ export const DuplicateAgentSettings$outboundSchema: z.ZodType<
|
|
|
1083
1285
|
toolApprovalRequired: DuplicateAgentToolApprovalRequired$outboundSchema
|
|
1084
1286
|
.default("respect_tool"),
|
|
1085
1287
|
tools: z.array(z.lazy(() => DuplicateAgentTools$outboundSchema)).optional(),
|
|
1288
|
+
evaluators: z.array(z.lazy(() => DuplicateAgentEvaluators$outboundSchema))
|
|
1289
|
+
.optional(),
|
|
1290
|
+
guardrails: z.array(z.lazy(() => DuplicateAgentGuardrails$outboundSchema))
|
|
1291
|
+
.optional(),
|
|
1086
1292
|
}).transform((v) => {
|
|
1087
1293
|
return remap$(v, {
|
|
1088
1294
|
maxIterations: "max_iterations",
|