@orq-ai/node 4.13.0-rc.6 → 4.13.0-rc.8
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/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/index.d.ts +2 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -1
- package/models/components/index.js.map +1 -1
- package/models/components/modeldocument.d.ts +2 -2
- package/models/components/modeldocument.d.ts.map +1 -1
- package/models/components/modeldocument.js +2 -2
- package/models/components/modeldocument.js.map +1 -1
- package/models/components/plugin.d.ts +2 -0
- package/models/components/plugin.d.ts.map +1 -1
- package/models/components/plugin.js +3 -0
- package/models/components/plugin.js.map +1 -1
- package/models/components/publicplugin.d.ts +75 -0
- package/models/components/publicplugin.d.ts.map +1 -0
- package/models/components/{publicpiiredactionplugin.js → publicplugin.js} +19 -20
- package/models/components/publicplugin.js.map +1 -0
- package/models/components/reasoning.d.ts +1 -0
- package/models/components/reasoning.d.ts.map +1 -1
- package/models/components/reasoning.js +1 -0
- package/models/components/reasoning.js.map +1 -1
- package/models/components/reasoningparam.d.ts +1 -0
- package/models/components/reasoningparam.d.ts.map +1 -1
- package/models/components/reasoningparam.js +1 -0
- package/models/components/reasoningparam.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/responsehealingplugin.d.ts +35 -0
- package/models/components/responsehealingplugin.d.ts.map +1 -0
- package/models/components/responsehealingplugin.js +68 -0
- package/models/components/responsehealingplugin.js.map +1 -0
- package/models/operations/createagentrequest.d.ts +16 -16
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +8 -0
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +5 -5
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +2 -0
- package/models/operations/createchatcompletion.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/createprompt.d.ts +12 -11
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +8 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +3 -3
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +2 -1
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentgetconfig.d.ts +2 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +2 -0
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +2 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +2 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +4 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +4 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +2 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +2 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallprompts.d.ts +7 -6
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +6 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getoneprompt.d.ts +7 -6
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +6 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +7 -6
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +6 -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/listagents.d.ts +6 -6
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +4 -0
- 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/listpromptversions.d.ts +7 -6
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +6 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/modelcreate.d.ts +2 -2
- package/models/operations/modelcreate.d.ts.map +1 -1
- package/models/operations/modelcreate.js +2 -2
- package/models/operations/modelcreate.js.map +1 -1
- package/models/operations/modelcreateawsbedrock.d.ts +2 -2
- package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelcreateawsbedrock.js +2 -2
- package/models/operations/modelcreateawsbedrock.js.map +1 -1
- package/models/operations/modelcreateopenailike.d.ts +2 -2
- package/models/operations/modelcreateopenailike.d.ts.map +1 -1
- package/models/operations/modelcreateopenailike.js +2 -2
- package/models/operations/modelcreateopenailike.js.map +1 -1
- package/models/operations/modelcreatevertex.d.ts +2 -2
- package/models/operations/modelcreatevertex.d.ts.map +1 -1
- package/models/operations/modelcreatevertex.js +2 -2
- package/models/operations/modelcreatevertex.js.map +1 -1
- package/models/operations/modelupdate.d.ts +2 -2
- package/models/operations/modelupdate.d.ts.map +1 -1
- package/models/operations/modelupdate.js +2 -2
- package/models/operations/modelupdate.js.map +1 -1
- package/models/operations/modelupdateawsbedrock.d.ts +2 -2
- package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelupdateawsbedrock.js +2 -2
- package/models/operations/modelupdateawsbedrock.js.map +1 -1
- package/models/operations/modelupdateopenailike.d.ts +2 -2
- package/models/operations/modelupdateopenailike.d.ts.map +1 -1
- package/models/operations/modelupdateopenailike.js +2 -2
- package/models/operations/modelupdateopenailike.js.map +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 +6 -6
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +4 -0
- 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.js +6 -6
- package/models/operations/runagent.d.ts +10 -10
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +5 -1
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +10 -10
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +5 -1
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +16 -16
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +8 -0
- 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/updateprompt.d.ts +12 -11
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +8 -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 +4 -1
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +4 -1
- package/sdk/feedback.js.map +1 -1
- package/src/lib/config.ts +2 -2
- 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/index.ts +2 -1
- package/src/models/components/modeldocument.ts +4 -4
- package/src/models/components/plugin.ts +7 -0
- package/src/models/components/publicplugin.ts +111 -0
- package/src/models/components/reasoning.ts +1 -0
- package/src/models/components/reasoningparam.ts +1 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/responsehealingplugin.ts +77 -0
- package/src/models/operations/createagentrequest.ts +30 -10
- package/src/models/operations/createchatcompletion.ts +9 -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/createprompt.ts +19 -8
- package/src/models/operations/createrouterresponse.ts +5 -9
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentgetconfig.ts +2 -0
- package/src/models/operations/deploymentinvoke.ts +2 -0
- package/src/models/operations/deployments.ts +4 -0
- package/src/models/operations/deploymentstream.ts +2 -0
- package/src/models/operations/getallprompts.ts +10 -5
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getoneprompt.ts +10 -5
- package/src/models/operations/getpromptversion.ts +10 -5
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listagents.ts +12 -4
- 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/listpromptversions.ts +10 -5
- package/src/models/operations/modelcreate.ts +4 -4
- package/src/models/operations/modelcreateawsbedrock.ts +4 -4
- package/src/models/operations/modelcreateopenailike.ts +4 -4
- package/src/models/operations/modelcreatevertex.ts +4 -4
- package/src/models/operations/modelupdate.ts +4 -4
- package/src/models/operations/modelupdateawsbedrock.ts +4 -4
- package/src/models/operations/modelupdateopenailike.ts +4 -4
- 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 +12 -4
- 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 +6 -6
- package/src/models/operations/runagent.ts +19 -7
- package/src/models/operations/streamrunagent.ts +19 -7
- package/src/models/operations/updateagent.ts +30 -10
- 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/updateprompt.ts +19 -8
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +4 -1
- package/models/components/publicpiiredactionplugin.d.ts +0 -79
- package/models/components/publicpiiredactionplugin.d.ts.map +0 -1
- package/models/components/publicpiiredactionplugin.js.map +0 -1
- package/src/models/components/publicpiiredactionplugin.ts +0 -127
|
@@ -30,7 +30,7 @@ export type ModelCreateRequestBody = {
|
|
|
30
30
|
*/
|
|
31
31
|
export type ModelCreateResponseBody = {
|
|
32
32
|
configuration: components.ModelConfigurationResponse;
|
|
33
|
-
created:
|
|
33
|
+
created: string;
|
|
34
34
|
description: string | null;
|
|
35
35
|
displayName: string;
|
|
36
36
|
docsUrl: string | null;
|
|
@@ -56,7 +56,7 @@ export type ModelCreateResponseBody = {
|
|
|
56
56
|
provider: string;
|
|
57
57
|
refId: string;
|
|
58
58
|
sharing?: components.Config | undefined;
|
|
59
|
-
updated:
|
|
59
|
+
updated: string;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
/** @internal */
|
|
@@ -125,7 +125,7 @@ export const ModelCreateResponseBody$inboundSchema: z.ZodType<
|
|
|
125
125
|
unknown
|
|
126
126
|
> = z.object({
|
|
127
127
|
configuration: components.ModelConfigurationResponse$inboundSchema,
|
|
128
|
-
created: z.string()
|
|
128
|
+
created: z.string(),
|
|
129
129
|
description: z.nullable(z.string()),
|
|
130
130
|
display_name: z.string(),
|
|
131
131
|
docs_url: z.nullable(z.string()),
|
|
@@ -153,7 +153,7 @@ export const ModelCreateResponseBody$inboundSchema: z.ZodType<
|
|
|
153
153
|
provider: z.string(),
|
|
154
154
|
refId: z.string(),
|
|
155
155
|
sharing: components.Config$inboundSchema.optional(),
|
|
156
|
-
updated: z.string()
|
|
156
|
+
updated: z.string(),
|
|
157
157
|
}).transform((v) => {
|
|
158
158
|
return remap$(v, {
|
|
159
159
|
"display_name": "displayName",
|
|
@@ -42,7 +42,7 @@ export type ModelCreateAwsBedrockRequestBody = {
|
|
|
42
42
|
*/
|
|
43
43
|
export type ModelCreateAwsBedrockResponseBody = {
|
|
44
44
|
configuration: components.ModelConfigurationResponse;
|
|
45
|
-
created:
|
|
45
|
+
created: string;
|
|
46
46
|
description: string | null;
|
|
47
47
|
displayName: string;
|
|
48
48
|
docsUrl: string | null;
|
|
@@ -68,7 +68,7 @@ export type ModelCreateAwsBedrockResponseBody = {
|
|
|
68
68
|
provider: string;
|
|
69
69
|
refId: string;
|
|
70
70
|
sharing?: components.Config | undefined;
|
|
71
|
-
updated:
|
|
71
|
+
updated: string;
|
|
72
72
|
};
|
|
73
73
|
|
|
74
74
|
/** @internal */
|
|
@@ -175,7 +175,7 @@ export const ModelCreateAwsBedrockResponseBody$inboundSchema: z.ZodType<
|
|
|
175
175
|
unknown
|
|
176
176
|
> = z.object({
|
|
177
177
|
configuration: components.ModelConfigurationResponse$inboundSchema,
|
|
178
|
-
created: z.string()
|
|
178
|
+
created: z.string(),
|
|
179
179
|
description: z.nullable(z.string()),
|
|
180
180
|
display_name: z.string(),
|
|
181
181
|
docs_url: z.nullable(z.string()),
|
|
@@ -203,7 +203,7 @@ export const ModelCreateAwsBedrockResponseBody$inboundSchema: z.ZodType<
|
|
|
203
203
|
provider: z.string(),
|
|
204
204
|
refId: z.string(),
|
|
205
205
|
sharing: components.Config$inboundSchema.optional(),
|
|
206
|
-
updated: z.string()
|
|
206
|
+
updated: z.string(),
|
|
207
207
|
}).transform((v) => {
|
|
208
208
|
return remap$(v, {
|
|
209
209
|
"display_name": "displayName",
|
|
@@ -34,7 +34,7 @@ export type ModelCreateOpenAILikeRequestBody = {
|
|
|
34
34
|
*/
|
|
35
35
|
export type ModelCreateOpenAILikeResponseBody = {
|
|
36
36
|
configuration: components.ModelConfigurationResponse;
|
|
37
|
-
created:
|
|
37
|
+
created: string;
|
|
38
38
|
description: string | null;
|
|
39
39
|
displayName: string;
|
|
40
40
|
docsUrl: string | null;
|
|
@@ -60,7 +60,7 @@ export type ModelCreateOpenAILikeResponseBody = {
|
|
|
60
60
|
provider: string;
|
|
61
61
|
refId: string;
|
|
62
62
|
sharing?: components.Config | undefined;
|
|
63
|
-
updated:
|
|
63
|
+
updated: string;
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
/** @internal */
|
|
@@ -143,7 +143,7 @@ export const ModelCreateOpenAILikeResponseBody$inboundSchema: z.ZodType<
|
|
|
143
143
|
unknown
|
|
144
144
|
> = z.object({
|
|
145
145
|
configuration: components.ModelConfigurationResponse$inboundSchema,
|
|
146
|
-
created: z.string()
|
|
146
|
+
created: z.string(),
|
|
147
147
|
description: z.nullable(z.string()),
|
|
148
148
|
display_name: z.string(),
|
|
149
149
|
docs_url: z.nullable(z.string()),
|
|
@@ -171,7 +171,7 @@ export const ModelCreateOpenAILikeResponseBody$inboundSchema: z.ZodType<
|
|
|
171
171
|
provider: z.string(),
|
|
172
172
|
refId: z.string(),
|
|
173
173
|
sharing: components.Config$inboundSchema.optional(),
|
|
174
|
-
updated: z.string()
|
|
174
|
+
updated: z.string(),
|
|
175
175
|
}).transform((v) => {
|
|
176
176
|
return remap$(v, {
|
|
177
177
|
"display_name": "displayName",
|
|
@@ -19,7 +19,7 @@ export type ModelCreateVertexRequestBody = {
|
|
|
19
19
|
*/
|
|
20
20
|
export type ModelCreateVertexResponseBody = {
|
|
21
21
|
configuration: components.ModelConfigurationResponse;
|
|
22
|
-
created:
|
|
22
|
+
created: string;
|
|
23
23
|
description: string | null;
|
|
24
24
|
displayName: string;
|
|
25
25
|
docsUrl: string | null;
|
|
@@ -45,7 +45,7 @@ export type ModelCreateVertexResponseBody = {
|
|
|
45
45
|
provider: string;
|
|
46
46
|
refId: string;
|
|
47
47
|
sharing?: components.Config | undefined;
|
|
48
|
-
updated:
|
|
48
|
+
updated: string;
|
|
49
49
|
};
|
|
50
50
|
|
|
51
51
|
/** @internal */
|
|
@@ -85,7 +85,7 @@ export const ModelCreateVertexResponseBody$inboundSchema: z.ZodType<
|
|
|
85
85
|
unknown
|
|
86
86
|
> = z.object({
|
|
87
87
|
configuration: components.ModelConfigurationResponse$inboundSchema,
|
|
88
|
-
created: z.string()
|
|
88
|
+
created: z.string(),
|
|
89
89
|
description: z.nullable(z.string()),
|
|
90
90
|
display_name: z.string(),
|
|
91
91
|
docs_url: z.nullable(z.string()),
|
|
@@ -113,7 +113,7 @@ export const ModelCreateVertexResponseBody$inboundSchema: z.ZodType<
|
|
|
113
113
|
provider: z.string(),
|
|
114
114
|
refId: z.string(),
|
|
115
115
|
sharing: components.Config$inboundSchema.optional(),
|
|
116
|
-
updated: z.string()
|
|
116
|
+
updated: z.string(),
|
|
117
117
|
}).transform((v) => {
|
|
118
118
|
return remap$(v, {
|
|
119
119
|
"display_name": "displayName",
|
|
@@ -32,7 +32,7 @@ export type ModelUpdateRequest = {
|
|
|
32
32
|
*/
|
|
33
33
|
export type ModelUpdateResponseBody = {
|
|
34
34
|
configuration: components.ModelConfigurationResponse;
|
|
35
|
-
created:
|
|
35
|
+
created: string;
|
|
36
36
|
description: string | null;
|
|
37
37
|
displayName: string;
|
|
38
38
|
docsUrl: string | null;
|
|
@@ -58,7 +58,7 @@ export type ModelUpdateResponseBody = {
|
|
|
58
58
|
provider: string;
|
|
59
59
|
refId: string;
|
|
60
60
|
sharing?: components.Config | undefined;
|
|
61
|
-
updated:
|
|
61
|
+
updated: string;
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
/** @internal */
|
|
@@ -139,7 +139,7 @@ export const ModelUpdateResponseBody$inboundSchema: z.ZodType<
|
|
|
139
139
|
unknown
|
|
140
140
|
> = z.object({
|
|
141
141
|
configuration: components.ModelConfigurationResponse$inboundSchema,
|
|
142
|
-
created: z.string()
|
|
142
|
+
created: z.string(),
|
|
143
143
|
description: z.nullable(z.string()),
|
|
144
144
|
display_name: z.string(),
|
|
145
145
|
docs_url: z.nullable(z.string()),
|
|
@@ -167,7 +167,7 @@ export const ModelUpdateResponseBody$inboundSchema: z.ZodType<
|
|
|
167
167
|
provider: z.string(),
|
|
168
168
|
refId: z.string(),
|
|
169
169
|
sharing: components.Config$inboundSchema.optional(),
|
|
170
|
-
updated: z.string()
|
|
170
|
+
updated: z.string(),
|
|
171
171
|
}).transform((v) => {
|
|
172
172
|
return remap$(v, {
|
|
173
173
|
"display_name": "displayName",
|
|
@@ -47,7 +47,7 @@ export type ModelUpdateAwsBedrockRequest = {
|
|
|
47
47
|
*/
|
|
48
48
|
export type ModelUpdateAwsBedrockResponseBody = {
|
|
49
49
|
configuration: components.ModelConfigurationResponse;
|
|
50
|
-
created:
|
|
50
|
+
created: string;
|
|
51
51
|
description: string | null;
|
|
52
52
|
displayName: string;
|
|
53
53
|
docsUrl: string | null;
|
|
@@ -73,7 +73,7 @@ export type ModelUpdateAwsBedrockResponseBody = {
|
|
|
73
73
|
provider: string;
|
|
74
74
|
refId: string;
|
|
75
75
|
sharing?: components.Config | undefined;
|
|
76
|
-
updated:
|
|
76
|
+
updated: string;
|
|
77
77
|
};
|
|
78
78
|
|
|
79
79
|
/** @internal */
|
|
@@ -201,7 +201,7 @@ export const ModelUpdateAwsBedrockResponseBody$inboundSchema: z.ZodType<
|
|
|
201
201
|
unknown
|
|
202
202
|
> = z.object({
|
|
203
203
|
configuration: components.ModelConfigurationResponse$inboundSchema,
|
|
204
|
-
created: z.string()
|
|
204
|
+
created: z.string(),
|
|
205
205
|
description: z.nullable(z.string()),
|
|
206
206
|
display_name: z.string(),
|
|
207
207
|
docs_url: z.nullable(z.string()),
|
|
@@ -229,7 +229,7 @@ export const ModelUpdateAwsBedrockResponseBody$inboundSchema: z.ZodType<
|
|
|
229
229
|
provider: z.string(),
|
|
230
230
|
refId: z.string(),
|
|
231
231
|
sharing: components.Config$inboundSchema.optional(),
|
|
232
|
-
updated: z.string()
|
|
232
|
+
updated: z.string(),
|
|
233
233
|
}).transform((v) => {
|
|
234
234
|
return remap$(v, {
|
|
235
235
|
"display_name": "displayName",
|
|
@@ -41,7 +41,7 @@ export type ModelUpdateOpenAILikeRequest = {
|
|
|
41
41
|
*/
|
|
42
42
|
export type ModelUpdateOpenAILikeResponseBody = {
|
|
43
43
|
configuration: components.ModelConfigurationResponse;
|
|
44
|
-
created:
|
|
44
|
+
created: string;
|
|
45
45
|
description: string | null;
|
|
46
46
|
displayName: string;
|
|
47
47
|
docsUrl: string | null;
|
|
@@ -67,7 +67,7 @@ export type ModelUpdateOpenAILikeResponseBody = {
|
|
|
67
67
|
provider: string;
|
|
68
68
|
refId: string;
|
|
69
69
|
sharing?: components.Config | undefined;
|
|
70
|
-
updated:
|
|
70
|
+
updated: string;
|
|
71
71
|
};
|
|
72
72
|
|
|
73
73
|
/** @internal */
|
|
@@ -177,7 +177,7 @@ export const ModelUpdateOpenAILikeResponseBody$inboundSchema: z.ZodType<
|
|
|
177
177
|
unknown
|
|
178
178
|
> = z.object({
|
|
179
179
|
configuration: components.ModelConfigurationResponse$inboundSchema,
|
|
180
|
-
created: z.string()
|
|
180
|
+
created: z.string(),
|
|
181
181
|
description: z.nullable(z.string()),
|
|
182
182
|
display_name: z.string(),
|
|
183
183
|
docs_url: z.nullable(z.string()),
|
|
@@ -205,7 +205,7 @@ export const ModelUpdateOpenAILikeResponseBody$inboundSchema: z.ZodType<
|
|
|
205
205
|
provider: z.string(),
|
|
206
206
|
refId: z.string(),
|
|
207
207
|
sharing: components.Config$inboundSchema.optional(),
|
|
208
|
-
updated: z.string()
|
|
208
|
+
updated: z.string(),
|
|
209
209
|
}).transform((v) => {
|
|
210
210
|
return remap$(v, {
|
|
211
211
|
"display_name": "displayName",
|
|
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
318
318
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
319
319
|
.optional(),
|
|
320
320
|
updated: z.string().datetime({ offset: true }).default(
|
|
321
|
-
"2026-07-
|
|
321
|
+
"2026-07-28T04:12:12.098Z",
|
|
322
322
|
).transform(v => new Date(v)),
|
|
323
323
|
filter_type: z.literal("name"),
|
|
324
324
|
filter_value: z.string(),
|
|
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
364
364
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
365
365
|
.optional(),
|
|
366
366
|
updated: z.string().datetime({ offset: true }).default(
|
|
367
|
-
"2026-07-
|
|
367
|
+
"2026-07-28T04:12:12.098Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -245,7 +245,7 @@ export const RequestBody4$outboundSchema: z.ZodType<
|
|
|
245
245
|
PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
|
|
246
246
|
.default("orq"),
|
|
247
247
|
explanation: z.string().optional(),
|
|
248
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
248
|
+
reviewedAt: z.date().default(() => new Date("2026-07-28T04:12:43.457Z"))
|
|
249
249
|
.transform(v => v.toISOString()),
|
|
250
250
|
type: z.literal("string_array"),
|
|
251
251
|
values: z.array(z.string()),
|
|
@@ -299,7 +299,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
299
299
|
source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
300
300
|
.default("orq"),
|
|
301
301
|
explanation: z.string().optional(),
|
|
302
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
302
|
+
reviewedAt: z.date().default(() => new Date("2026-07-28T04:12:43.456Z"))
|
|
303
303
|
.transform(v => v.toISOString()),
|
|
304
304
|
type: z.literal("boolean"),
|
|
305
305
|
value: z.boolean(),
|
|
@@ -353,7 +353,7 @@ export const PostV2FeedbackEvaluationRequestBody2$outboundSchema: z.ZodType<
|
|
|
353
353
|
"orq",
|
|
354
354
|
),
|
|
355
355
|
explanation: z.string().optional(),
|
|
356
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
356
|
+
reviewedAt: z.date().default(() => new Date("2026-07-28T04:12:43.455Z"))
|
|
357
357
|
.transform(v => v.toISOString()),
|
|
358
358
|
type: z.literal("number"),
|
|
359
359
|
value: z.number(),
|
|
@@ -411,7 +411,7 @@ export const PostV2FeedbackEvaluationRequestBody1$outboundSchema: z.ZodType<
|
|
|
411
411
|
humanReviewId: z.string().optional(),
|
|
412
412
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
413
413
|
explanation: z.string().optional(),
|
|
414
|
-
reviewedAt: z.date().default(() => new Date("2026-07-
|
|
414
|
+
reviewedAt: z.date().default(() => new Date("2026-07-28T04:12:43.454Z"))
|
|
415
415
|
.transform(v => v.toISOString()),
|
|
416
416
|
type: z.literal("string"),
|
|
417
417
|
value: z.string(),
|
|
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
271
271
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
272
272
|
.optional(),
|
|
273
273
|
updated: z.string().datetime({ offset: true }).default(
|
|
274
|
-
"2026-07-
|
|
274
|
+
"2026-07-28T04:12:12.098Z",
|
|
275
275
|
).transform(v => new Date(v)),
|
|
276
276
|
filter_type: z.literal("name"),
|
|
277
277
|
filter_value: z.string(),
|
|
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
316
316
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
317
317
|
.optional(),
|
|
318
318
|
updated: z.string().datetime({ offset: true }).default(
|
|
319
|
-
"2026-07-
|
|
319
|
+
"2026-07-28T04:12:12.098Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -434,7 +434,8 @@ export type RetrieveAgentRequestAgentsGuardrails = {
|
|
|
434
434
|
export type RetrieveAgentRequestPlugins =
|
|
435
435
|
| components.PIIRedactionPluginEn
|
|
436
436
|
| components.PIIRedactionPluginNl
|
|
437
|
-
| components.PIIRedactionPluginAuto
|
|
437
|
+
| components.PIIRedactionPluginAuto
|
|
438
|
+
| components.ResponseHealingPlugin;
|
|
438
439
|
|
|
439
440
|
export type RetrieveAgentRequestFallbacks = {
|
|
440
441
|
/**
|
|
@@ -660,13 +661,14 @@ export type RetrieveAgentRequestParameters = {
|
|
|
660
661
|
*/
|
|
661
662
|
guardrails?: Array<RetrieveAgentRequestAgentsGuardrails> | undefined;
|
|
662
663
|
/**
|
|
663
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
664
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
664
665
|
*/
|
|
665
666
|
plugins?:
|
|
666
667
|
| Array<
|
|
667
668
|
| components.PIIRedactionPluginEn
|
|
668
669
|
| components.PIIRedactionPluginNl
|
|
669
670
|
| components.PIIRedactionPluginAuto
|
|
671
|
+
| components.ResponseHealingPlugin
|
|
670
672
|
>
|
|
671
673
|
| undefined;
|
|
672
674
|
/**
|
|
@@ -908,7 +910,8 @@ export type RetrieveAgentRequestFallbackModelConfigurationGuardrails = {
|
|
|
908
910
|
export type RetrieveAgentRequestFallbackModelConfigurationPlugins =
|
|
909
911
|
| components.PIIRedactionPluginEn
|
|
910
912
|
| components.PIIRedactionPluginNl
|
|
911
|
-
| components.PIIRedactionPluginAuto
|
|
913
|
+
| components.PIIRedactionPluginAuto
|
|
914
|
+
| components.ResponseHealingPlugin;
|
|
912
915
|
|
|
913
916
|
export type RetrieveAgentRequestFallbackModelConfigurationFallbacks = {
|
|
914
917
|
/**
|
|
@@ -1140,13 +1143,14 @@ export type RetrieveAgentRequestFallbackModelConfigurationParameters = {
|
|
|
1140
1143
|
| Array<RetrieveAgentRequestFallbackModelConfigurationGuardrails>
|
|
1141
1144
|
| undefined;
|
|
1142
1145
|
/**
|
|
1143
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
1146
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
1144
1147
|
*/
|
|
1145
1148
|
plugins?:
|
|
1146
1149
|
| Array<
|
|
1147
1150
|
| components.PIIRedactionPluginEn
|
|
1148
1151
|
| components.PIIRedactionPluginNl
|
|
1149
1152
|
| components.PIIRedactionPluginAuto
|
|
1153
|
+
| components.ResponseHealingPlugin
|
|
1150
1154
|
>
|
|
1151
1155
|
| undefined;
|
|
1152
1156
|
/**
|
|
@@ -1905,6 +1909,7 @@ export const RetrieveAgentRequestPlugins$inboundSchema: z.ZodType<
|
|
|
1905
1909
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
1906
1910
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
1907
1911
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
1912
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
1908
1913
|
]);
|
|
1909
1914
|
|
|
1910
1915
|
export function retrieveAgentRequestPluginsFromJSON(
|
|
@@ -2127,6 +2132,7 @@ export const RetrieveAgentRequestParameters$inboundSchema: z.ZodType<
|
|
|
2127
2132
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2128
2133
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2129
2134
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2135
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
2130
2136
|
]),
|
|
2131
2137
|
).optional(),
|
|
2132
2138
|
fallbacks: z.array(z.lazy(() => RetrieveAgentRequestFallbacks$inboundSchema))
|
|
@@ -2560,6 +2566,7 @@ export const RetrieveAgentRequestFallbackModelConfigurationPlugins$inboundSchema
|
|
|
2560
2566
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2561
2567
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2562
2568
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2569
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
2563
2570
|
]);
|
|
2564
2571
|
|
|
2565
2572
|
export function retrieveAgentRequestFallbackModelConfigurationPluginsFromJSON(
|
|
@@ -2842,6 +2849,7 @@ export const RetrieveAgentRequestFallbackModelConfigurationParameters$inboundSch
|
|
|
2842
2849
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2843
2850
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2844
2851
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2852
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
2845
2853
|
]),
|
|
2846
2854
|
).optional(),
|
|
2847
2855
|
fallbacks: z.array(
|
|
@@ -1579,7 +1579,7 @@ export const RetrieveDatapointEvaluations4$inboundSchema: z.ZodType<
|
|
|
1579
1579
|
explanation: z.string().optional(),
|
|
1580
1580
|
reviewed_by_id: z.string(),
|
|
1581
1581
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1582
|
-
"2026-07-
|
|
1582
|
+
"2026-07-28T04:12:43.217Z",
|
|
1583
1583
|
).transform(v => new Date(v)),
|
|
1584
1584
|
type: z.literal("string_array"),
|
|
1585
1585
|
values: z.array(z.string()),
|
|
@@ -1679,7 +1679,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1679
1679
|
explanation: z.string().optional(),
|
|
1680
1680
|
reviewed_by_id: z.string(),
|
|
1681
1681
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1682
|
-
"2026-07-
|
|
1682
|
+
"2026-07-28T04:12:43.215Z",
|
|
1683
1683
|
).transform(v => new Date(v)),
|
|
1684
1684
|
type: z.literal("boolean"),
|
|
1685
1685
|
value: z.boolean(),
|
|
@@ -1777,7 +1777,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1777
1777
|
explanation: z.string().optional(),
|
|
1778
1778
|
reviewed_by_id: z.string(),
|
|
1779
1779
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1780
|
-
"2026-07-
|
|
1780
|
+
"2026-07-28T04:12:43.214Z",
|
|
1781
1781
|
).transform(v => new Date(v)),
|
|
1782
1782
|
type: z.literal("number"),
|
|
1783
1783
|
value: z.number(),
|
|
@@ -1865,7 +1865,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
1865
1865
|
explanation: z.string().optional(),
|
|
1866
1866
|
reviewed_by_id: z.string(),
|
|
1867
1867
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1868
|
-
"2026-07-
|
|
1868
|
+
"2026-07-28T04:12:43.212Z",
|
|
1869
1869
|
).transform(v => new Date(v)),
|
|
1870
1870
|
type: z.literal("string"),
|
|
1871
1871
|
value: z.string(),
|
|
@@ -1946,7 +1946,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1946
1946
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1947
1947
|
.optional(),
|
|
1948
1948
|
updated: z.string().datetime({ offset: true }).default(
|
|
1949
|
-
"2026-07-
|
|
1949
|
+
"2026-07-28T04:12:12.098Z",
|
|
1950
1950
|
).transform(v => new Date(v)),
|
|
1951
1951
|
}).transform((v) => {
|
|
1952
1952
|
return remap$(v, {
|
|
@@ -126,7 +126,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
126
126
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
127
127
|
.optional(),
|
|
128
128
|
updated: z.string().datetime({ offset: true }).default(
|
|
129
|
-
"2026-07-
|
|
129
|
+
"2026-07-28T04:12:12.098Z",
|
|
130
130
|
).transform(v => new Date(v)),
|
|
131
131
|
}).transform((v) => {
|
|
132
132
|
return remap$(v, {
|
|
@@ -187,7 +187,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
187
187
|
z.ZodTypeDef,
|
|
188
188
|
unknown
|
|
189
189
|
> = z.object({
|
|
190
|
-
_id: z.string().default("
|
|
190
|
+
_id: z.string().default("01KYKESHQWTFNY0BQWSYDY39BZ"),
|
|
191
191
|
display_name: z.string(),
|
|
192
192
|
description: z.nullable(z.string()).optional(),
|
|
193
193
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -757,7 +757,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
757
757
|
z.ZodTypeDef,
|
|
758
758
|
unknown
|
|
759
759
|
> = z.object({
|
|
760
|
-
_id: z.string().default("
|
|
760
|
+
_id: z.string().default("tool_01KYKESHKZC6QYV28V1XZ510C5"),
|
|
761
761
|
path: z.string(),
|
|
762
762
|
key: z.string(),
|
|
763
763
|
display_name: z.string().optional(),
|
|
@@ -863,7 +863,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
863
863
|
z.ZodTypeDef,
|
|
864
864
|
unknown
|
|
865
865
|
> = z.object({
|
|
866
|
-
id: z.string().default("
|
|
866
|
+
id: z.string().default("01KYKESHKYDQXN398VKS6M7909"),
|
|
867
867
|
name: z.string(),
|
|
868
868
|
description: z.string().optional(),
|
|
869
869
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -921,7 +921,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
921
921
|
z.ZodTypeDef,
|
|
922
922
|
unknown
|
|
923
923
|
> = z.object({
|
|
924
|
-
_id: z.string().default("
|
|
924
|
+
_id: z.string().default("tool_01KYKESHKX3J8Q9J4J70HNHVCN"),
|
|
925
925
|
path: z.string(),
|
|
926
926
|
key: z.string(),
|
|
927
927
|
display_name: z.string().optional(),
|
|
@@ -1113,7 +1113,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1113
1113
|
z.ZodTypeDef,
|
|
1114
1114
|
unknown
|
|
1115
1115
|
> = z.object({
|
|
1116
|
-
_id: z.string().default("
|
|
1116
|
+
_id: z.string().default("tool_01KYKESHKTGR5S3DEZG1T4XWZ2"),
|
|
1117
1117
|
path: z.string(),
|
|
1118
1118
|
key: z.string(),
|
|
1119
1119
|
display_name: z.string().optional(),
|
|
@@ -1209,7 +1209,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1209
1209
|
z.ZodTypeDef,
|
|
1210
1210
|
unknown
|
|
1211
1211
|
> = z.object({
|
|
1212
|
-
_id: z.string().default("
|
|
1212
|
+
_id: z.string().default("tool_01KYKESHKR52HTWSP17S8VAK2R"),
|
|
1213
1213
|
path: z.string(),
|
|
1214
1214
|
key: z.string(),
|
|
1215
1215
|
display_name: z.string().optional(),
|
|
@@ -1315,7 +1315,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1315
1315
|
z.ZodTypeDef,
|
|
1316
1316
|
unknown
|
|
1317
1317
|
> = z.object({
|
|
1318
|
-
_id: z.string().default("
|
|
1318
|
+
_id: z.string().default("tool_01KYKESHKP2AP9TRHZS0R622RG"),
|
|
1319
1319
|
path: z.string(),
|
|
1320
1320
|
key: z.string(),
|
|
1321
1321
|
display_name: z.string().optional(),
|
|
@@ -200,7 +200,8 @@ export type RunAgentModelConfigurationGuardrails = {
|
|
|
200
200
|
export type RunAgentModelConfigurationPlugins =
|
|
201
201
|
| components.PIIRedactionPluginEn
|
|
202
202
|
| components.PIIRedactionPluginNl
|
|
203
|
-
| components.PIIRedactionPluginAuto
|
|
203
|
+
| components.PIIRedactionPluginAuto
|
|
204
|
+
| components.ResponseHealingPlugin;
|
|
204
205
|
|
|
205
206
|
export type RunAgentModelConfigurationFallbacks = {
|
|
206
207
|
/**
|
|
@@ -422,13 +423,14 @@ export type RunAgentModelConfigurationParameters = {
|
|
|
422
423
|
*/
|
|
423
424
|
guardrails?: Array<RunAgentModelConfigurationGuardrails> | undefined;
|
|
424
425
|
/**
|
|
425
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
426
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
426
427
|
*/
|
|
427
428
|
plugins?:
|
|
428
429
|
| Array<
|
|
429
430
|
| components.PIIRedactionPluginEn
|
|
430
431
|
| components.PIIRedactionPluginNl
|
|
431
432
|
| components.PIIRedactionPluginAuto
|
|
433
|
+
| components.ResponseHealingPlugin
|
|
432
434
|
>
|
|
433
435
|
| undefined;
|
|
434
436
|
/**
|
|
@@ -690,7 +692,8 @@ export type RunAgentFallbackModelConfigurationGuardrails = {
|
|
|
690
692
|
export type RunAgentFallbackModelConfigurationPlugins =
|
|
691
693
|
| components.PIIRedactionPluginEn
|
|
692
694
|
| components.PIIRedactionPluginNl
|
|
693
|
-
| components.PIIRedactionPluginAuto
|
|
695
|
+
| components.PIIRedactionPluginAuto
|
|
696
|
+
| components.ResponseHealingPlugin;
|
|
694
697
|
|
|
695
698
|
export type RunAgentFallbackModelConfigurationFallbacks = {
|
|
696
699
|
/**
|
|
@@ -921,13 +924,14 @@ export type RunAgentFallbackModelConfigurationParameters = {
|
|
|
921
924
|
*/
|
|
922
925
|
guardrails?: Array<RunAgentFallbackModelConfigurationGuardrails> | undefined;
|
|
923
926
|
/**
|
|
924
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
927
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
925
928
|
*/
|
|
926
929
|
plugins?:
|
|
927
930
|
| Array<
|
|
928
931
|
| components.PIIRedactionPluginEn
|
|
929
932
|
| components.PIIRedactionPluginNl
|
|
930
933
|
| components.PIIRedactionPluginAuto
|
|
934
|
+
| components.ResponseHealingPlugin
|
|
931
935
|
>
|
|
932
936
|
| undefined;
|
|
933
937
|
/**
|
|
@@ -2499,7 +2503,8 @@ export function runAgentModelConfigurationGuardrailsToJSON(
|
|
|
2499
2503
|
export type RunAgentModelConfigurationPlugins$Outbound =
|
|
2500
2504
|
| components.PIIRedactionPluginEn$Outbound
|
|
2501
2505
|
| components.PIIRedactionPluginNl$Outbound
|
|
2502
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
2506
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
2507
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
2503
2508
|
|
|
2504
2509
|
/** @internal */
|
|
2505
2510
|
export const RunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
@@ -2510,6 +2515,7 @@ export const RunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
|
2510
2515
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
2511
2516
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
2512
2517
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2518
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
2513
2519
|
]);
|
|
2514
2520
|
|
|
2515
2521
|
export function runAgentModelConfigurationPluginsToJSON(
|
|
@@ -2751,6 +2757,7 @@ export type RunAgentModelConfigurationParameters$Outbound = {
|
|
|
2751
2757
|
| components.PIIRedactionPluginEn$Outbound
|
|
2752
2758
|
| components.PIIRedactionPluginNl$Outbound
|
|
2753
2759
|
| components.PIIRedactionPluginAuto$Outbound
|
|
2760
|
+
| components.ResponseHealingPlugin$Outbound
|
|
2754
2761
|
>
|
|
2755
2762
|
| undefined;
|
|
2756
2763
|
fallbacks?: Array<RunAgentModelConfigurationFallbacks$Outbound> | undefined;
|
|
@@ -2806,6 +2813,7 @@ export const RunAgentModelConfigurationParameters$outboundSchema: z.ZodType<
|
|
|
2806
2813
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
2807
2814
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
2808
2815
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2816
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
2809
2817
|
]),
|
|
2810
2818
|
).optional(),
|
|
2811
2819
|
fallbacks: z.array(
|
|
@@ -3289,7 +3297,8 @@ export function runAgentFallbackModelConfigurationGuardrailsToJSON(
|
|
|
3289
3297
|
export type RunAgentFallbackModelConfigurationPlugins$Outbound =
|
|
3290
3298
|
| components.PIIRedactionPluginEn$Outbound
|
|
3291
3299
|
| components.PIIRedactionPluginNl$Outbound
|
|
3292
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
3300
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
3301
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
3293
3302
|
|
|
3294
3303
|
/** @internal */
|
|
3295
3304
|
export const RunAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
@@ -3301,6 +3310,7 @@ export const RunAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
|
3301
3310
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3302
3311
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3303
3312
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3313
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3304
3314
|
]);
|
|
3305
3315
|
|
|
3306
3316
|
export function runAgentFallbackModelConfigurationPluginsToJSON(
|
|
@@ -3559,6 +3569,7 @@ export type RunAgentFallbackModelConfigurationParameters$Outbound = {
|
|
|
3559
3569
|
| components.PIIRedactionPluginEn$Outbound
|
|
3560
3570
|
| components.PIIRedactionPluginNl$Outbound
|
|
3561
3571
|
| components.PIIRedactionPluginAuto$Outbound
|
|
3572
|
+
| components.ResponseHealingPlugin$Outbound
|
|
3562
3573
|
>
|
|
3563
3574
|
| undefined;
|
|
3564
3575
|
fallbacks?:
|
|
@@ -3622,6 +3633,7 @@ export const RunAgentFallbackModelConfigurationParameters$outboundSchema:
|
|
|
3622
3633
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3623
3634
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3624
3635
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3636
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3625
3637
|
]),
|
|
3626
3638
|
).optional(),
|
|
3627
3639
|
fallbacks: z.array(
|
|
@@ -4088,7 +4100,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
4088
4100
|
z.ZodTypeDef,
|
|
4089
4101
|
Tools
|
|
4090
4102
|
> = z.object({
|
|
4091
|
-
id: z.string().default("
|
|
4103
|
+
id: z.string().default("01KYKESHAQFCGVFJ23P9JH89S2"),
|
|
4092
4104
|
name: z.string(),
|
|
4093
4105
|
description: z.string().optional(),
|
|
4094
4106
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|