@orq-ai/node 4.12.8 → 4.12.10
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/lib/config.js.map +1 -1
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/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.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +5 -5
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/packages/orq-rc/src/models/components/index.ts +2 -1
- package/packages/orq-rc/src/models/components/plugin.ts +7 -0
- package/packages/orq-rc/src/models/components/publicplugin.ts +111 -0
- package/packages/orq-rc/src/models/components/reasoning.ts +1 -0
- package/packages/orq-rc/src/models/components/reasoningparam.ts +1 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/responsehealingplugin.ts +77 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +30 -10
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +9 -3
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +5 -5
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createprompt.ts +19 -8
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +5 -9
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +2 -0
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +2 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +4 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +2 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +10 -5
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +10 -5
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +10 -5
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/invokeeval.ts +66 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +12 -4
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +10 -5
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +12 -4
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +5 -5
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +19 -7
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +19 -7
- package/packages/orq-rc/src/models/operations/updateagent.ts +30 -10
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +5 -5
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateprompt.ts +19 -8
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/feedback.ts +2 -2
- 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/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/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 +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +4 -1
- package/packages/orq-rc/src/models/components/publicpiiredactionplugin.ts +0 -127
|
@@ -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-29T10:16:52.982Z",
|
|
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-29T10:16:52.982Z",
|
|
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-29T10:17:08.110Z",
|
|
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-29T10:17:08.109Z",
|
|
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-29T10:17:08.109Z",
|
|
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-29T10:17:08.108Z",
|
|
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-29T10:16:52.982Z",
|
|
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-29T10:16:52.982Z",
|
|
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("01KYPP1H6DSR6D22QX6RZXQKEP"),
|
|
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_01KYPP1H3PA6EHAWN0ATBXDZ7F"),
|
|
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("01KYPP1H3NFFWMDQ6FY1995XA4"),
|
|
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_01KYPP1H3MBCF7N78A7BXSA0V5"),
|
|
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_01KYPP1H3B27GAG369JEJ8HV4G"),
|
|
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_01KYPP1H39NKVQJV2YQ062ZP0N"),
|
|
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_01KYPP1H38ZGTNAY6CBXVGP16V"),
|
|
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("01KYPP1GV8S10EQ9XFDYD6R8Q4"),
|
|
4092
4104
|
name: z.string(),
|
|
4093
4105
|
description: z.string().optional(),
|
|
4094
4106
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -204,7 +204,8 @@ export type StreamRunAgentModelConfigurationGuardrails = {
|
|
|
204
204
|
export type StreamRunAgentModelConfigurationPlugins =
|
|
205
205
|
| components.PIIRedactionPluginEn
|
|
206
206
|
| components.PIIRedactionPluginNl
|
|
207
|
-
| components.PIIRedactionPluginAuto
|
|
207
|
+
| components.PIIRedactionPluginAuto
|
|
208
|
+
| components.ResponseHealingPlugin;
|
|
208
209
|
|
|
209
210
|
export type StreamRunAgentModelConfigurationFallbacks = {
|
|
210
211
|
/**
|
|
@@ -433,13 +434,14 @@ export type StreamRunAgentModelConfigurationParameters = {
|
|
|
433
434
|
*/
|
|
434
435
|
guardrails?: Array<StreamRunAgentModelConfigurationGuardrails> | undefined;
|
|
435
436
|
/**
|
|
436
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
437
|
+
* 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.
|
|
437
438
|
*/
|
|
438
439
|
plugins?:
|
|
439
440
|
| Array<
|
|
440
441
|
| components.PIIRedactionPluginEn
|
|
441
442
|
| components.PIIRedactionPluginNl
|
|
442
443
|
| components.PIIRedactionPluginAuto
|
|
444
|
+
| components.ResponseHealingPlugin
|
|
443
445
|
>
|
|
444
446
|
| undefined;
|
|
445
447
|
/**
|
|
@@ -708,7 +710,8 @@ export type StreamRunAgentFallbackModelConfigurationGuardrails = {
|
|
|
708
710
|
export type StreamRunAgentFallbackModelConfigurationPlugins =
|
|
709
711
|
| components.PIIRedactionPluginEn
|
|
710
712
|
| components.PIIRedactionPluginNl
|
|
711
|
-
| components.PIIRedactionPluginAuto
|
|
713
|
+
| components.PIIRedactionPluginAuto
|
|
714
|
+
| components.ResponseHealingPlugin;
|
|
712
715
|
|
|
713
716
|
export type StreamRunAgentFallbackModelConfigurationFallbacks = {
|
|
714
717
|
/**
|
|
@@ -941,13 +944,14 @@ export type StreamRunAgentFallbackModelConfigurationParameters = {
|
|
|
941
944
|
| Array<StreamRunAgentFallbackModelConfigurationGuardrails>
|
|
942
945
|
| undefined;
|
|
943
946
|
/**
|
|
944
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
947
|
+
* 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.
|
|
945
948
|
*/
|
|
946
949
|
plugins?:
|
|
947
950
|
| Array<
|
|
948
951
|
| components.PIIRedactionPluginEn
|
|
949
952
|
| components.PIIRedactionPluginNl
|
|
950
953
|
| components.PIIRedactionPluginAuto
|
|
954
|
+
| components.ResponseHealingPlugin
|
|
951
955
|
>
|
|
952
956
|
| undefined;
|
|
953
957
|
/**
|
|
@@ -2473,7 +2477,8 @@ export function streamRunAgentModelConfigurationGuardrailsToJSON(
|
|
|
2473
2477
|
export type StreamRunAgentModelConfigurationPlugins$Outbound =
|
|
2474
2478
|
| components.PIIRedactionPluginEn$Outbound
|
|
2475
2479
|
| components.PIIRedactionPluginNl$Outbound
|
|
2476
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
2480
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
2481
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
2477
2482
|
|
|
2478
2483
|
/** @internal */
|
|
2479
2484
|
export const StreamRunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
@@ -2484,6 +2489,7 @@ export const StreamRunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
|
2484
2489
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
2485
2490
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
2486
2491
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2492
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
2487
2493
|
]);
|
|
2488
2494
|
|
|
2489
2495
|
export function streamRunAgentModelConfigurationPluginsToJSON(
|
|
@@ -2740,6 +2746,7 @@ export type StreamRunAgentModelConfigurationParameters$Outbound = {
|
|
|
2740
2746
|
| components.PIIRedactionPluginEn$Outbound
|
|
2741
2747
|
| components.PIIRedactionPluginNl$Outbound
|
|
2742
2748
|
| components.PIIRedactionPluginAuto$Outbound
|
|
2749
|
+
| components.ResponseHealingPlugin$Outbound
|
|
2743
2750
|
>
|
|
2744
2751
|
| undefined;
|
|
2745
2752
|
fallbacks?:
|
|
@@ -2800,6 +2807,7 @@ export const StreamRunAgentModelConfigurationParameters$outboundSchema:
|
|
|
2800
2807
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
2801
2808
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
2802
2809
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2810
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
2803
2811
|
]),
|
|
2804
2812
|
).optional(),
|
|
2805
2813
|
fallbacks: z.array(
|
|
@@ -3302,7 +3310,8 @@ export function streamRunAgentFallbackModelConfigurationGuardrailsToJSON(
|
|
|
3302
3310
|
export type StreamRunAgentFallbackModelConfigurationPlugins$Outbound =
|
|
3303
3311
|
| components.PIIRedactionPluginEn$Outbound
|
|
3304
3312
|
| components.PIIRedactionPluginNl$Outbound
|
|
3305
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
3313
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
3314
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
3306
3315
|
|
|
3307
3316
|
/** @internal */
|
|
3308
3317
|
export const StreamRunAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
@@ -3314,6 +3323,7 @@ export const StreamRunAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
|
3314
3323
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3315
3324
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3316
3325
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3326
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3317
3327
|
]);
|
|
3318
3328
|
|
|
3319
3329
|
export function streamRunAgentFallbackModelConfigurationPluginsToJSON(
|
|
@@ -3575,6 +3585,7 @@ export type StreamRunAgentFallbackModelConfigurationParameters$Outbound = {
|
|
|
3575
3585
|
| components.PIIRedactionPluginEn$Outbound
|
|
3576
3586
|
| components.PIIRedactionPluginNl$Outbound
|
|
3577
3587
|
| components.PIIRedactionPluginAuto$Outbound
|
|
3588
|
+
| components.ResponseHealingPlugin$Outbound
|
|
3578
3589
|
>
|
|
3579
3590
|
| undefined;
|
|
3580
3591
|
fallbacks?:
|
|
@@ -3644,6 +3655,7 @@ export const StreamRunAgentFallbackModelConfigurationParameters$outboundSchema:
|
|
|
3644
3655
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3645
3656
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3646
3657
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3658
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3647
3659
|
]),
|
|
3648
3660
|
).optional(),
|
|
3649
3661
|
fallbacks: z.array(
|
|
@@ -4144,7 +4156,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
4144
4156
|
z.ZodTypeDef,
|
|
4145
4157
|
AgentToolInputRunTools
|
|
4146
4158
|
> = z.object({
|
|
4147
|
-
id: z.string().default("
|
|
4159
|
+
id: z.string().default("01KYPP1GWWG079R3A6BVEB2YNF"),
|
|
4148
4160
|
name: z.string(),
|
|
4149
4161
|
description: z.string().optional(),
|
|
4150
4162
|
schema: z.lazy(() =>
|
|
@@ -202,7 +202,8 @@ export type ModelConfigurationGuardrails = {
|
|
|
202
202
|
export type ModelConfigurationPlugins =
|
|
203
203
|
| components.PIIRedactionPluginEn
|
|
204
204
|
| components.PIIRedactionPluginNl
|
|
205
|
-
| components.PIIRedactionPluginAuto
|
|
205
|
+
| components.PIIRedactionPluginAuto
|
|
206
|
+
| components.ResponseHealingPlugin;
|
|
206
207
|
|
|
207
208
|
export type UpdateAgentModelConfigurationFallbacks = {
|
|
208
209
|
/**
|
|
@@ -424,13 +425,14 @@ export type ModelConfigurationParameters = {
|
|
|
424
425
|
*/
|
|
425
426
|
guardrails?: Array<ModelConfigurationGuardrails> | undefined;
|
|
426
427
|
/**
|
|
427
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
428
|
+
* 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.
|
|
428
429
|
*/
|
|
429
430
|
plugins?:
|
|
430
431
|
| Array<
|
|
431
432
|
| components.PIIRedactionPluginEn
|
|
432
433
|
| components.PIIRedactionPluginNl
|
|
433
434
|
| components.PIIRedactionPluginAuto
|
|
435
|
+
| components.ResponseHealingPlugin
|
|
434
436
|
>
|
|
435
437
|
| undefined;
|
|
436
438
|
/**
|
|
@@ -696,7 +698,8 @@ export type UpdateAgentFallbackModelConfigurationGuardrails = {
|
|
|
696
698
|
export type UpdateAgentFallbackModelConfigurationPlugins =
|
|
697
699
|
| components.PIIRedactionPluginEn
|
|
698
700
|
| components.PIIRedactionPluginNl
|
|
699
|
-
| components.PIIRedactionPluginAuto
|
|
701
|
+
| components.PIIRedactionPluginAuto
|
|
702
|
+
| components.ResponseHealingPlugin;
|
|
700
703
|
|
|
701
704
|
export type UpdateAgentFallbackModelConfigurationFallbacks = {
|
|
702
705
|
/**
|
|
@@ -929,13 +932,14 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
|
|
|
929
932
|
| Array<UpdateAgentFallbackModelConfigurationGuardrails>
|
|
930
933
|
| undefined;
|
|
931
934
|
/**
|
|
932
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
935
|
+
* 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.
|
|
933
936
|
*/
|
|
934
937
|
plugins?:
|
|
935
938
|
| Array<
|
|
936
939
|
| components.PIIRedactionPluginEn
|
|
937
940
|
| components.PIIRedactionPluginNl
|
|
938
941
|
| components.PIIRedactionPluginAuto
|
|
942
|
+
| components.ResponseHealingPlugin
|
|
939
943
|
>
|
|
940
944
|
| undefined;
|
|
941
945
|
/**
|
|
@@ -1608,7 +1612,8 @@ export type UpdateAgentAgentsResponseGuardrails = {
|
|
|
1608
1612
|
export type UpdateAgentPlugins =
|
|
1609
1613
|
| components.PIIRedactionPluginEn
|
|
1610
1614
|
| components.PIIRedactionPluginNl
|
|
1611
|
-
| components.PIIRedactionPluginAuto
|
|
1615
|
+
| components.PIIRedactionPluginAuto
|
|
1616
|
+
| components.ResponseHealingPlugin;
|
|
1612
1617
|
|
|
1613
1618
|
export type UpdateAgentFallbacks = {
|
|
1614
1619
|
/**
|
|
@@ -1829,13 +1834,14 @@ export type UpdateAgentParameters = {
|
|
|
1829
1834
|
*/
|
|
1830
1835
|
guardrails?: Array<UpdateAgentAgentsResponseGuardrails> | undefined;
|
|
1831
1836
|
/**
|
|
1832
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
1837
|
+
* 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.
|
|
1833
1838
|
*/
|
|
1834
1839
|
plugins?:
|
|
1835
1840
|
| Array<
|
|
1836
1841
|
| components.PIIRedactionPluginEn
|
|
1837
1842
|
| components.PIIRedactionPluginNl
|
|
1838
1843
|
| components.PIIRedactionPluginAuto
|
|
1844
|
+
| components.ResponseHealingPlugin
|
|
1839
1845
|
>
|
|
1840
1846
|
| undefined;
|
|
1841
1847
|
/**
|
|
@@ -2080,7 +2086,8 @@ export type UpdateAgentFallbackModelConfigurationAgentsGuardrails = {
|
|
|
2080
2086
|
export type UpdateAgentFallbackModelConfigurationAgentsPlugins =
|
|
2081
2087
|
| components.PIIRedactionPluginEn
|
|
2082
2088
|
| components.PIIRedactionPluginNl
|
|
2083
|
-
| components.PIIRedactionPluginAuto
|
|
2089
|
+
| components.PIIRedactionPluginAuto
|
|
2090
|
+
| components.ResponseHealingPlugin;
|
|
2084
2091
|
|
|
2085
2092
|
export type UpdateAgentFallbackModelConfigurationAgentsFallbacks = {
|
|
2086
2093
|
/**
|
|
@@ -2311,13 +2318,14 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
|
|
|
2311
2318
|
| Array<UpdateAgentFallbackModelConfigurationAgentsGuardrails>
|
|
2312
2319
|
| undefined;
|
|
2313
2320
|
/**
|
|
2314
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
2321
|
+
* 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.
|
|
2315
2322
|
*/
|
|
2316
2323
|
plugins?:
|
|
2317
2324
|
| Array<
|
|
2318
2325
|
| components.PIIRedactionPluginEn
|
|
2319
2326
|
| components.PIIRedactionPluginNl
|
|
2320
2327
|
| components.PIIRedactionPluginAuto
|
|
2328
|
+
| components.ResponseHealingPlugin
|
|
2321
2329
|
>
|
|
2322
2330
|
| undefined;
|
|
2323
2331
|
/**
|
|
@@ -2822,7 +2830,8 @@ export function modelConfigurationGuardrailsToJSON(
|
|
|
2822
2830
|
export type ModelConfigurationPlugins$Outbound =
|
|
2823
2831
|
| components.PIIRedactionPluginEn$Outbound
|
|
2824
2832
|
| components.PIIRedactionPluginNl$Outbound
|
|
2825
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
2833
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
2834
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
2826
2835
|
|
|
2827
2836
|
/** @internal */
|
|
2828
2837
|
export const ModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
@@ -2833,6 +2842,7 @@ export const ModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
|
2833
2842
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
2834
2843
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
2835
2844
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2845
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
2836
2846
|
]);
|
|
2837
2847
|
|
|
2838
2848
|
export function modelConfigurationPluginsToJSON(
|
|
@@ -3070,6 +3080,7 @@ export type ModelConfigurationParameters$Outbound = {
|
|
|
3070
3080
|
| components.PIIRedactionPluginEn$Outbound
|
|
3071
3081
|
| components.PIIRedactionPluginNl$Outbound
|
|
3072
3082
|
| components.PIIRedactionPluginAuto$Outbound
|
|
3083
|
+
| components.ResponseHealingPlugin$Outbound
|
|
3073
3084
|
>
|
|
3074
3085
|
| undefined;
|
|
3075
3086
|
fallbacks?:
|
|
@@ -3126,6 +3137,7 @@ export const ModelConfigurationParameters$outboundSchema: z.ZodType<
|
|
|
3126
3137
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3127
3138
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3128
3139
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3140
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3129
3141
|
]),
|
|
3130
3142
|
).optional(),
|
|
3131
3143
|
fallbacks: z.array(
|
|
@@ -3617,7 +3629,8 @@ export function updateAgentFallbackModelConfigurationGuardrailsToJSON(
|
|
|
3617
3629
|
export type UpdateAgentFallbackModelConfigurationPlugins$Outbound =
|
|
3618
3630
|
| components.PIIRedactionPluginEn$Outbound
|
|
3619
3631
|
| components.PIIRedactionPluginNl$Outbound
|
|
3620
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
3632
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
3633
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
3621
3634
|
|
|
3622
3635
|
/** @internal */
|
|
3623
3636
|
export const UpdateAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
@@ -3629,6 +3642,7 @@ export const UpdateAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
|
3629
3642
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3630
3643
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3631
3644
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3645
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3632
3646
|
]);
|
|
3633
3647
|
|
|
3634
3648
|
export function updateAgentFallbackModelConfigurationPluginsToJSON(
|
|
@@ -3886,6 +3900,7 @@ export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
|
|
|
3886
3900
|
| components.PIIRedactionPluginEn$Outbound
|
|
3887
3901
|
| components.PIIRedactionPluginNl$Outbound
|
|
3888
3902
|
| components.PIIRedactionPluginAuto$Outbound
|
|
3903
|
+
| components.ResponseHealingPlugin$Outbound
|
|
3889
3904
|
>
|
|
3890
3905
|
| undefined;
|
|
3891
3906
|
fallbacks?:
|
|
@@ -3951,6 +3966,7 @@ export const UpdateAgentFallbackModelConfigurationParameters$outboundSchema:
|
|
|
3951
3966
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3952
3967
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3953
3968
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3969
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3954
3970
|
]),
|
|
3955
3971
|
).optional(),
|
|
3956
3972
|
fallbacks: z.array(
|
|
@@ -4960,6 +4976,7 @@ export const UpdateAgentPlugins$inboundSchema: z.ZodType<
|
|
|
4960
4976
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
4961
4977
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
4962
4978
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
4979
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
4963
4980
|
]);
|
|
4964
4981
|
|
|
4965
4982
|
export function updateAgentPluginsFromJSON(
|
|
@@ -5188,6 +5205,7 @@ export const UpdateAgentParameters$inboundSchema: z.ZodType<
|
|
|
5188
5205
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
5189
5206
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
5190
5207
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
5208
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
5191
5209
|
]),
|
|
5192
5210
|
).optional(),
|
|
5193
5211
|
fallbacks: z.array(z.lazy(() => UpdateAgentFallbacks$inboundSchema))
|
|
@@ -5625,6 +5643,7 @@ export const UpdateAgentFallbackModelConfigurationAgentsPlugins$inboundSchema:
|
|
|
5625
5643
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
5626
5644
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
5627
5645
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
5646
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
5628
5647
|
]);
|
|
5629
5648
|
|
|
5630
5649
|
export function updateAgentFallbackModelConfigurationAgentsPluginsFromJSON(
|
|
@@ -5912,6 +5931,7 @@ export const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema
|
|
|
5912
5931
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
5913
5932
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
5914
5933
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
5934
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
5915
5935
|
]),
|
|
5916
5936
|
).optional(),
|
|
5917
5937
|
fallbacks: z.array(
|