@orq-ai/node 4.13.0-rc.7 → 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/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/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 +6 -6
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- 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/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/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 +2 -2
- 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
|
@@ -813,9 +813,9 @@ export type CreateRouterResponseRequestBody = {
|
|
|
813
813
|
*/
|
|
814
814
|
parallelToolCalls?: boolean | undefined;
|
|
815
815
|
/**
|
|
816
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
816
|
+
* 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 model output.
|
|
817
817
|
*/
|
|
818
|
-
plugins?: Array<components.
|
|
818
|
+
plugins?: Array<components.PublicPlugin> | null | undefined;
|
|
819
819
|
/**
|
|
820
820
|
* Penalize new tokens based on their presence in the text so far. Between -2.0 and 2.0.
|
|
821
821
|
*/
|
|
@@ -1828,10 +1828,7 @@ export type CreateRouterResponseRequestBody$Outbound = {
|
|
|
1828
1828
|
metadata?: { [k: string]: string } | undefined;
|
|
1829
1829
|
model?: string | undefined;
|
|
1830
1830
|
parallel_tool_calls?: boolean | undefined;
|
|
1831
|
-
plugins?:
|
|
1832
|
-
| Array<components.PublicPIIRedactionPlugin$Outbound>
|
|
1833
|
-
| null
|
|
1834
|
-
| undefined;
|
|
1831
|
+
plugins?: Array<components.PublicPlugin$Outbound> | null | undefined;
|
|
1835
1832
|
presence_penalty?: number | undefined;
|
|
1836
1833
|
previous_response_id?: string | undefined;
|
|
1837
1834
|
prompt_cache_key?: string | undefined;
|
|
@@ -1890,9 +1887,8 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
|
|
|
1890
1887
|
metadata: z.record(z.string()).optional(),
|
|
1891
1888
|
model: z.string().optional(),
|
|
1892
1889
|
parallelToolCalls: z.boolean().optional(),
|
|
1893
|
-
plugins: z.nullable(
|
|
1894
|
-
|
|
1895
|
-
).optional(),
|
|
1890
|
+
plugins: z.nullable(z.array(components.PublicPlugin$outboundSchema))
|
|
1891
|
+
.optional(),
|
|
1896
1892
|
presencePenalty: z.number().optional(),
|
|
1897
1893
|
previousResponseId: z.string().optional(),
|
|
1898
1894
|
promptCacheKey: z.string().optional(),
|
|
@@ -1892,7 +1892,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1892
1892
|
z.ZodTypeDef,
|
|
1893
1893
|
unknown
|
|
1894
1894
|
> = z.object({
|
|
1895
|
-
_id: z.string().default("
|
|
1895
|
+
_id: z.string().default("tool_01KYKESHJB765T9JZ0AFZNVRJC"),
|
|
1896
1896
|
path: z.string(),
|
|
1897
1897
|
key: z.string(),
|
|
1898
1898
|
display_name: z.string().optional(),
|
|
@@ -1989,7 +1989,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1989
1989
|
z.ZodTypeDef,
|
|
1990
1990
|
unknown
|
|
1991
1991
|
> = z.object({
|
|
1992
|
-
id: z.string().default("
|
|
1992
|
+
id: z.string().default("01KYKESHJA46KQ89AWEN7GCA61"),
|
|
1993
1993
|
name: z.string(),
|
|
1994
1994
|
description: z.string().optional(),
|
|
1995
1995
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2045,7 +2045,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2045
2045
|
z.ZodTypeDef,
|
|
2046
2046
|
unknown
|
|
2047
2047
|
> = z.object({
|
|
2048
|
-
_id: z.string().default("
|
|
2048
|
+
_id: z.string().default("tool_01KYKESHJ82SW2RA10CQV8JC43"),
|
|
2049
2049
|
path: z.string(),
|
|
2050
2050
|
key: z.string(),
|
|
2051
2051
|
display_name: z.string().optional(),
|
|
@@ -2232,7 +2232,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2232
2232
|
z.ZodTypeDef,
|
|
2233
2233
|
unknown
|
|
2234
2234
|
> = z.object({
|
|
2235
|
-
_id: z.string().default("
|
|
2235
|
+
_id: z.string().default("tool_01KYKESHJ5WPG7ANQ1SFNNNQ7J"),
|
|
2236
2236
|
path: z.string(),
|
|
2237
2237
|
key: z.string(),
|
|
2238
2238
|
display_name: z.string().optional(),
|
|
@@ -2325,7 +2325,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2325
2325
|
z.ZodTypeDef,
|
|
2326
2326
|
unknown
|
|
2327
2327
|
> = z.object({
|
|
2328
|
-
_id: z.string().default("
|
|
2328
|
+
_id: z.string().default("tool_01KYKESHJ4G7YS9ND2BGDSYJ5S"),
|
|
2329
2329
|
path: z.string(),
|
|
2330
2330
|
key: z.string(),
|
|
2331
2331
|
display_name: z.string().optional(),
|
|
@@ -2426,7 +2426,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2426
2426
|
z.ZodTypeDef,
|
|
2427
2427
|
unknown
|
|
2428
2428
|
> = z.object({
|
|
2429
|
-
_id: z.string().default("
|
|
2429
|
+
_id: z.string().default("tool_01KYKESHJ1DGWC22ANAXSCM1EE"),
|
|
2430
2430
|
path: z.string(),
|
|
2431
2431
|
key: z.string(),
|
|
2432
2432
|
display_name: z.string().optional(),
|
|
@@ -1464,6 +1464,8 @@ export const DeploymentGetConfigReasoningEffort = {
|
|
|
1464
1464
|
Low: "low",
|
|
1465
1465
|
Medium: "medium",
|
|
1466
1466
|
High: "high",
|
|
1467
|
+
Xhigh: "xhigh",
|
|
1468
|
+
Max: "max",
|
|
1467
1469
|
} as const;
|
|
1468
1470
|
/**
|
|
1469
1471
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
@@ -315,6 +315,8 @@ export const DeploymentsReasoningEffort = {
|
|
|
315
315
|
Low: "low",
|
|
316
316
|
Medium: "medium",
|
|
317
317
|
High: "high",
|
|
318
|
+
Xhigh: "xhigh",
|
|
319
|
+
Max: "max",
|
|
318
320
|
} as const;
|
|
319
321
|
/**
|
|
320
322
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
@@ -490,6 +492,8 @@ export const DeploymentsProvider = {
|
|
|
490
492
|
Poolside: "poolside",
|
|
491
493
|
Tencent: "tencent",
|
|
492
494
|
Nebius: "nebius",
|
|
495
|
+
Fireworks: "fireworks",
|
|
496
|
+
Baseten: "baseten",
|
|
493
497
|
Reson8: "reson8",
|
|
494
498
|
Slack: "slack",
|
|
495
499
|
Orq: "orq",
|
|
@@ -266,6 +266,8 @@ export const GetAllPromptsPromptsReasoningEffort = {
|
|
|
266
266
|
Low: "low",
|
|
267
267
|
Medium: "medium",
|
|
268
268
|
High: "high",
|
|
269
|
+
Xhigh: "xhigh",
|
|
270
|
+
Max: "max",
|
|
269
271
|
} as const;
|
|
270
272
|
/**
|
|
271
273
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
@@ -441,6 +443,8 @@ export const GetAllPromptsProvider = {
|
|
|
441
443
|
Poolside: "poolside",
|
|
442
444
|
Tencent: "tencent",
|
|
443
445
|
Nebius: "nebius",
|
|
446
|
+
Fireworks: "fireworks",
|
|
447
|
+
Baseten: "baseten",
|
|
444
448
|
Reson8: "reson8",
|
|
445
449
|
Slack: "slack",
|
|
446
450
|
Orq: "orq",
|
|
@@ -582,9 +586,6 @@ export type GetAllPromptsMessages = {
|
|
|
582
586
|
export type GetAllPromptsPromptConfig = {
|
|
583
587
|
stream?: boolean | undefined;
|
|
584
588
|
model?: string | null | undefined;
|
|
585
|
-
/**
|
|
586
|
-
* The id of the resource
|
|
587
|
-
*/
|
|
588
589
|
modelDbId?: string | null | undefined;
|
|
589
590
|
/**
|
|
590
591
|
* The modality of the model
|
|
@@ -852,7 +853,8 @@ export type GetAllPromptsGuardrails = {
|
|
|
852
853
|
export type GetAllPromptsPlugins =
|
|
853
854
|
| components.PIIRedactionPluginEn
|
|
854
855
|
| components.PIIRedactionPluginNl
|
|
855
|
-
| components.PIIRedactionPluginAuto
|
|
856
|
+
| components.PIIRedactionPluginAuto
|
|
857
|
+
| components.ResponseHealingPlugin;
|
|
856
858
|
|
|
857
859
|
export type GetAllPromptsFallbacks = {
|
|
858
860
|
/**
|
|
@@ -1435,13 +1437,14 @@ export type GetAllPromptsPromptField = {
|
|
|
1435
1437
|
*/
|
|
1436
1438
|
guardrails?: Array<GetAllPromptsGuardrails> | undefined;
|
|
1437
1439
|
/**
|
|
1438
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
1440
|
+
* 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.
|
|
1439
1441
|
*/
|
|
1440
1442
|
plugins?:
|
|
1441
1443
|
| Array<
|
|
1442
1444
|
| components.PIIRedactionPluginEn
|
|
1443
1445
|
| components.PIIRedactionPluginNl
|
|
1444
1446
|
| components.PIIRedactionPluginAuto
|
|
1447
|
+
| components.ResponseHealingPlugin
|
|
1445
1448
|
>
|
|
1446
1449
|
| undefined;
|
|
1447
1450
|
/**
|
|
@@ -2532,6 +2535,7 @@ export const GetAllPromptsPlugins$inboundSchema: z.ZodType<
|
|
|
2532
2535
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2533
2536
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2534
2537
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2538
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
2535
2539
|
]);
|
|
2536
2540
|
|
|
2537
2541
|
export function getAllPromptsPluginsFromJSON(
|
|
@@ -3274,6 +3278,7 @@ export const GetAllPromptsPromptField$inboundSchema: z.ZodType<
|
|
|
3274
3278
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
3275
3279
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
3276
3280
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
3281
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
3277
3282
|
]),
|
|
3278
3283
|
).optional(),
|
|
3279
3284
|
fallbacks: z.array(z.lazy(() => GetAllPromptsFallbacks$inboundSchema))
|
|
@@ -770,7 +770,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
770
770
|
z.ZodTypeDef,
|
|
771
771
|
unknown
|
|
772
772
|
> = z.object({
|
|
773
|
-
_id: z.string().default("
|
|
773
|
+
_id: z.string().default("tool_01KYKESHHKDVQ4QY7ZM2S707BV"),
|
|
774
774
|
path: z.string(),
|
|
775
775
|
key: z.string(),
|
|
776
776
|
display_name: z.string().optional(),
|
|
@@ -867,7 +867,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
867
867
|
z.ZodTypeDef,
|
|
868
868
|
unknown
|
|
869
869
|
> = z.object({
|
|
870
|
-
id: z.string().default("
|
|
870
|
+
id: z.string().default("01KYKESHHJ4MKHZC91WKDDRHMF"),
|
|
871
871
|
name: z.string(),
|
|
872
872
|
description: z.string().optional(),
|
|
873
873
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -920,7 +920,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
920
920
|
z.ZodTypeDef,
|
|
921
921
|
unknown
|
|
922
922
|
> = z.object({
|
|
923
|
-
_id: z.string().default("
|
|
923
|
+
_id: z.string().default("tool_01KYKESHHHDG40K60EPJXP3S0P"),
|
|
924
924
|
path: z.string(),
|
|
925
925
|
key: z.string(),
|
|
926
926
|
display_name: z.string().optional(),
|
|
@@ -1105,7 +1105,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1105
1105
|
z.ZodTypeDef,
|
|
1106
1106
|
unknown
|
|
1107
1107
|
> = z.object({
|
|
1108
|
-
_id: z.string().default("
|
|
1108
|
+
_id: z.string().default("tool_01KYKESHHEZ81959SA4KN53TH2"),
|
|
1109
1109
|
path: z.string(),
|
|
1110
1110
|
key: z.string(),
|
|
1111
1111
|
display_name: z.string().optional(),
|
|
@@ -1198,7 +1198,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1198
1198
|
z.ZodTypeDef,
|
|
1199
1199
|
unknown
|
|
1200
1200
|
> = z.object({
|
|
1201
|
-
_id: z.string().default("
|
|
1201
|
+
_id: z.string().default("tool_01KYKESHHBVWNWGG5HCRNVZK45"),
|
|
1202
1202
|
path: z.string(),
|
|
1203
1203
|
key: z.string(),
|
|
1204
1204
|
display_name: z.string().optional(),
|
|
@@ -1296,7 +1296,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1296
1296
|
z.ZodTypeDef,
|
|
1297
1297
|
unknown
|
|
1298
1298
|
> = z.object({
|
|
1299
|
-
_id: z.string().default("
|
|
1299
|
+
_id: z.string().default("tool_01KYKESHH93THPN8QZ6N3T6B01"),
|
|
1300
1300
|
path: z.string(),
|
|
1301
1301
|
key: z.string(),
|
|
1302
1302
|
display_name: z.string().optional(),
|
|
@@ -250,6 +250,8 @@ export const GetOnePromptPromptsReasoningEffort = {
|
|
|
250
250
|
Low: "low",
|
|
251
251
|
Medium: "medium",
|
|
252
252
|
High: "high",
|
|
253
|
+
Xhigh: "xhigh",
|
|
254
|
+
Max: "max",
|
|
253
255
|
} as const;
|
|
254
256
|
/**
|
|
255
257
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
@@ -425,6 +427,8 @@ export const GetOnePromptProvider = {
|
|
|
425
427
|
Poolside: "poolside",
|
|
426
428
|
Tencent: "tencent",
|
|
427
429
|
Nebius: "nebius",
|
|
430
|
+
Fireworks: "fireworks",
|
|
431
|
+
Baseten: "baseten",
|
|
428
432
|
Reson8: "reson8",
|
|
429
433
|
Slack: "slack",
|
|
430
434
|
Orq: "orq",
|
|
@@ -566,9 +570,6 @@ export type GetOnePromptMessages = {
|
|
|
566
570
|
export type GetOnePromptPromptConfig = {
|
|
567
571
|
stream?: boolean | undefined;
|
|
568
572
|
model?: string | null | undefined;
|
|
569
|
-
/**
|
|
570
|
-
* The id of the resource
|
|
571
|
-
*/
|
|
572
573
|
modelDbId?: string | null | undefined;
|
|
573
574
|
/**
|
|
574
575
|
* The modality of the model
|
|
@@ -834,7 +835,8 @@ export type GetOnePromptGuardrails = {
|
|
|
834
835
|
export type GetOnePromptPlugins =
|
|
835
836
|
| components.PIIRedactionPluginEn
|
|
836
837
|
| components.PIIRedactionPluginNl
|
|
837
|
-
| components.PIIRedactionPluginAuto
|
|
838
|
+
| components.PIIRedactionPluginAuto
|
|
839
|
+
| components.ResponseHealingPlugin;
|
|
838
840
|
|
|
839
841
|
export type GetOnePromptFallbacks = {
|
|
840
842
|
/**
|
|
@@ -1417,13 +1419,14 @@ export type GetOnePromptPromptField = {
|
|
|
1417
1419
|
*/
|
|
1418
1420
|
guardrails?: Array<GetOnePromptGuardrails> | undefined;
|
|
1419
1421
|
/**
|
|
1420
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
1422
|
+
* 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.
|
|
1421
1423
|
*/
|
|
1422
1424
|
plugins?:
|
|
1423
1425
|
| Array<
|
|
1424
1426
|
| components.PIIRedactionPluginEn
|
|
1425
1427
|
| components.PIIRedactionPluginNl
|
|
1426
1428
|
| components.PIIRedactionPluginAuto
|
|
1429
|
+
| components.ResponseHealingPlugin
|
|
1427
1430
|
>
|
|
1428
1431
|
| undefined;
|
|
1429
1432
|
/**
|
|
@@ -2490,6 +2493,7 @@ export const GetOnePromptPlugins$inboundSchema: z.ZodType<
|
|
|
2490
2493
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2491
2494
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2492
2495
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2496
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
2493
2497
|
]);
|
|
2494
2498
|
|
|
2495
2499
|
export function getOnePromptPluginsFromJSON(
|
|
@@ -3222,6 +3226,7 @@ export const GetOnePromptPromptField$inboundSchema: z.ZodType<
|
|
|
3222
3226
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
3223
3227
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
3224
3228
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
3229
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
3225
3230
|
]),
|
|
3226
3231
|
).optional(),
|
|
3227
3232
|
fallbacks: z.array(z.lazy(() => GetOnePromptFallbacks$inboundSchema))
|
|
@@ -254,6 +254,8 @@ export const GetPromptVersionPromptsReasoningEffort = {
|
|
|
254
254
|
Low: "low",
|
|
255
255
|
Medium: "medium",
|
|
256
256
|
High: "high",
|
|
257
|
+
Xhigh: "xhigh",
|
|
258
|
+
Max: "max",
|
|
257
259
|
} as const;
|
|
258
260
|
/**
|
|
259
261
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
@@ -431,6 +433,8 @@ export const GetPromptVersionProvider = {
|
|
|
431
433
|
Poolside: "poolside",
|
|
432
434
|
Tencent: "tencent",
|
|
433
435
|
Nebius: "nebius",
|
|
436
|
+
Fireworks: "fireworks",
|
|
437
|
+
Baseten: "baseten",
|
|
434
438
|
Reson8: "reson8",
|
|
435
439
|
Slack: "slack",
|
|
436
440
|
Orq: "orq",
|
|
@@ -574,9 +578,6 @@ export type GetPromptVersionMessages = {
|
|
|
574
578
|
export type GetPromptVersionPromptConfig = {
|
|
575
579
|
stream?: boolean | undefined;
|
|
576
580
|
model?: string | null | undefined;
|
|
577
|
-
/**
|
|
578
|
-
* The id of the resource
|
|
579
|
-
*/
|
|
580
581
|
modelDbId?: string | null | undefined;
|
|
581
582
|
/**
|
|
582
583
|
* The modality of the model
|
|
@@ -846,7 +847,8 @@ export type GetPromptVersionGuardrails = {
|
|
|
846
847
|
export type GetPromptVersionPlugins =
|
|
847
848
|
| components.PIIRedactionPluginEn
|
|
848
849
|
| components.PIIRedactionPluginNl
|
|
849
|
-
| components.PIIRedactionPluginAuto
|
|
850
|
+
| components.PIIRedactionPluginAuto
|
|
851
|
+
| components.ResponseHealingPlugin;
|
|
850
852
|
|
|
851
853
|
export type GetPromptVersionFallbacks = {
|
|
852
854
|
/**
|
|
@@ -1430,13 +1432,14 @@ export type GetPromptVersionPromptField = {
|
|
|
1430
1432
|
*/
|
|
1431
1433
|
guardrails?: Array<GetPromptVersionGuardrails> | undefined;
|
|
1432
1434
|
/**
|
|
1433
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
1435
|
+
* 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.
|
|
1434
1436
|
*/
|
|
1435
1437
|
plugins?:
|
|
1436
1438
|
| Array<
|
|
1437
1439
|
| components.PIIRedactionPluginEn
|
|
1438
1440
|
| components.PIIRedactionPluginNl
|
|
1439
1441
|
| components.PIIRedactionPluginAuto
|
|
1442
|
+
| components.ResponseHealingPlugin
|
|
1440
1443
|
>
|
|
1441
1444
|
| undefined;
|
|
1442
1445
|
/**
|
|
@@ -2519,6 +2522,7 @@ export const GetPromptVersionPlugins$inboundSchema: z.ZodType<
|
|
|
2519
2522
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2520
2523
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2521
2524
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2525
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
2522
2526
|
]);
|
|
2523
2527
|
|
|
2524
2528
|
export function getPromptVersionPluginsFromJSON(
|
|
@@ -3278,6 +3282,7 @@ export const GetPromptVersionPromptField$inboundSchema: z.ZodType<
|
|
|
3278
3282
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
3279
3283
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
3280
3284
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
3285
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
3281
3286
|
]),
|
|
3282
3287
|
).optional(),
|
|
3283
3288
|
fallbacks: z.array(z.lazy(() => GetPromptVersionFallbacks$inboundSchema))
|
|
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
140
140
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
141
|
.optional(),
|
|
142
142
|
updated: z.string().datetime({ offset: true }).default(
|
|
143
|
-
"2026-07-
|
|
143
|
+
"2026-07-28T04:12:12.098Z",
|
|
144
144
|
).transform(v => new Date(v)),
|
|
145
145
|
filter_type: z.literal("name"),
|
|
146
146
|
filter_value: z.string(),
|
|
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
185
185
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
186
186
|
.optional(),
|
|
187
187
|
updated: z.string().datetime({ offset: true }).default(
|
|
188
|
-
"2026-07-
|
|
188
|
+
"2026-07-28T04:12:12.098Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-07-
|
|
144
|
+
"2026-07-28T04:12:12.098Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-07-
|
|
189
|
+
"2026-07-28T04:12:12.098Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -446,7 +446,8 @@ export type ListAgentsAgentsGuardrails = {
|
|
|
446
446
|
export type ListAgentsPlugins =
|
|
447
447
|
| components.PIIRedactionPluginEn
|
|
448
448
|
| components.PIIRedactionPluginNl
|
|
449
|
-
| components.PIIRedactionPluginAuto
|
|
449
|
+
| components.PIIRedactionPluginAuto
|
|
450
|
+
| components.ResponseHealingPlugin;
|
|
450
451
|
|
|
451
452
|
export type ListAgentsFallbacks = {
|
|
452
453
|
/**
|
|
@@ -664,13 +665,14 @@ export type ListAgentsParameters = {
|
|
|
664
665
|
*/
|
|
665
666
|
guardrails?: Array<ListAgentsAgentsGuardrails> | undefined;
|
|
666
667
|
/**
|
|
667
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
668
|
+
* 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.
|
|
668
669
|
*/
|
|
669
670
|
plugins?:
|
|
670
671
|
| Array<
|
|
671
672
|
| components.PIIRedactionPluginEn
|
|
672
673
|
| components.PIIRedactionPluginNl
|
|
673
674
|
| components.PIIRedactionPluginAuto
|
|
675
|
+
| components.ResponseHealingPlugin
|
|
674
676
|
>
|
|
675
677
|
| undefined;
|
|
676
678
|
/**
|
|
@@ -909,7 +911,8 @@ export type ListAgentsFallbackModelConfigurationGuardrails = {
|
|
|
909
911
|
export type ListAgentsFallbackModelConfigurationPlugins =
|
|
910
912
|
| components.PIIRedactionPluginEn
|
|
911
913
|
| components.PIIRedactionPluginNl
|
|
912
|
-
| components.PIIRedactionPluginAuto
|
|
914
|
+
| components.PIIRedactionPluginAuto
|
|
915
|
+
| components.ResponseHealingPlugin;
|
|
913
916
|
|
|
914
917
|
export type ListAgentsFallbackModelConfigurationFallbacks = {
|
|
915
918
|
/**
|
|
@@ -1142,13 +1145,14 @@ export type ListAgentsFallbackModelConfigurationParameters = {
|
|
|
1142
1145
|
| Array<ListAgentsFallbackModelConfigurationGuardrails>
|
|
1143
1146
|
| undefined;
|
|
1144
1147
|
/**
|
|
1145
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
1148
|
+
* 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.
|
|
1146
1149
|
*/
|
|
1147
1150
|
plugins?:
|
|
1148
1151
|
| Array<
|
|
1149
1152
|
| components.PIIRedactionPluginEn
|
|
1150
1153
|
| components.PIIRedactionPluginNl
|
|
1151
1154
|
| components.PIIRedactionPluginAuto
|
|
1155
|
+
| components.ResponseHealingPlugin
|
|
1152
1156
|
>
|
|
1153
1157
|
| undefined;
|
|
1154
1158
|
/**
|
|
@@ -1896,6 +1900,7 @@ export const ListAgentsPlugins$inboundSchema: z.ZodType<
|
|
|
1896
1900
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
1897
1901
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
1898
1902
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
1903
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
1899
1904
|
]);
|
|
1900
1905
|
|
|
1901
1906
|
export function listAgentsPluginsFromJSON(
|
|
@@ -2109,6 +2114,7 @@ export const ListAgentsParameters$inboundSchema: z.ZodType<
|
|
|
2109
2114
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2110
2115
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2111
2116
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2117
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
2112
2118
|
]),
|
|
2113
2119
|
).optional(),
|
|
2114
2120
|
fallbacks: z.array(z.lazy(() => ListAgentsFallbacks$inboundSchema))
|
|
@@ -2514,6 +2520,7 @@ export const ListAgentsFallbackModelConfigurationPlugins$inboundSchema:
|
|
|
2514
2520
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2515
2521
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2516
2522
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2523
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
2517
2524
|
]);
|
|
2518
2525
|
|
|
2519
2526
|
export function listAgentsFallbackModelConfigurationPluginsFromJSON(
|
|
@@ -2779,6 +2786,7 @@ export const ListAgentsFallbackModelConfigurationParameters$inboundSchema:
|
|
|
2779
2786
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2780
2787
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2781
2788
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2789
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
2782
2790
|
]),
|
|
2783
2791
|
).optional(),
|
|
2784
2792
|
fallbacks: z.array(
|
|
@@ -1647,7 +1647,7 @@ export const ListDatasetDatapointsEvaluations4$inboundSchema: z.ZodType<
|
|
|
1647
1647
|
explanation: z.string().optional(),
|
|
1648
1648
|
reviewed_by_id: z.string(),
|
|
1649
1649
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1650
|
-
"2026-07-
|
|
1650
|
+
"2026-07-28T04:12:43.201Z",
|
|
1651
1651
|
).transform(v => new Date(v)),
|
|
1652
1652
|
type: z.literal("string_array"),
|
|
1653
1653
|
values: z.array(z.string()),
|
|
@@ -1743,7 +1743,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1743
1743
|
explanation: z.string().optional(),
|
|
1744
1744
|
reviewed_by_id: z.string(),
|
|
1745
1745
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1746
|
-
"2026-07-
|
|
1746
|
+
"2026-07-28T04:12:43.200Z",
|
|
1747
1747
|
).transform(v => new Date(v)),
|
|
1748
1748
|
type: z.literal("boolean"),
|
|
1749
1749
|
value: z.boolean(),
|
|
@@ -1847,7 +1847,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
1847
1847
|
explanation: z.string().optional(),
|
|
1848
1848
|
reviewed_by_id: z.string(),
|
|
1849
1849
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1850
|
-
"2026-07-
|
|
1850
|
+
"2026-07-28T04:12:43.199Z",
|
|
1851
1851
|
).transform(v => new Date(v)),
|
|
1852
1852
|
type: z.literal("number"),
|
|
1853
1853
|
value: z.number(),
|
|
@@ -1953,7 +1953,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
1953
1953
|
explanation: z.string().optional(),
|
|
1954
1954
|
reviewed_by_id: z.string(),
|
|
1955
1955
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1956
|
-
"2026-07-
|
|
1956
|
+
"2026-07-28T04:12:43.197Z",
|
|
1957
1957
|
).transform(v => new Date(v)),
|
|
1958
1958
|
type: z.literal("string"),
|
|
1959
1959
|
value: z.string(),
|
|
@@ -2036,7 +2036,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
2036
2036
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2037
2037
|
.optional(),
|
|
2038
2038
|
updated: z.string().datetime({ offset: true }).default(
|
|
2039
|
-
"2026-07-
|
|
2039
|
+
"2026-07-28T04:12:12.098Z",
|
|
2040
2040
|
).transform(v => new Date(v)),
|
|
2041
2041
|
}).transform((v) => {
|
|
2042
2042
|
return remap$(v, {
|
|
@@ -169,7 +169,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
169
169
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
170
170
|
.optional(),
|
|
171
171
|
updated: z.string().datetime({ offset: true }).default(
|
|
172
|
-
"2026-07-
|
|
172
|
+
"2026-07-28T04:12:12.098Z",
|
|
173
173
|
).transform(v => new Date(v)),
|
|
174
174
|
}).transform((v) => {
|
|
175
175
|
return remap$(v, {
|
|
@@ -278,7 +278,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
278
278
|
z.ZodTypeDef,
|
|
279
279
|
unknown
|
|
280
280
|
> = z.object({
|
|
281
|
-
_id: z.string().default("
|
|
281
|
+
_id: z.string().default("01KYKESHQTHB9EA7RRRMAJC8VW"),
|
|
282
282
|
display_name: z.string(),
|
|
283
283
|
description: z.nullable(z.string()).optional(),
|
|
284
284
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -268,6 +268,8 @@ export const ListPromptVersionsPromptsReasoningEffort = {
|
|
|
268
268
|
Low: "low",
|
|
269
269
|
Medium: "medium",
|
|
270
270
|
High: "high",
|
|
271
|
+
Xhigh: "xhigh",
|
|
272
|
+
Max: "max",
|
|
271
273
|
} as const;
|
|
272
274
|
/**
|
|
273
275
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
@@ -445,6 +447,8 @@ export const ListPromptVersionsProvider = {
|
|
|
445
447
|
Poolside: "poolside",
|
|
446
448
|
Tencent: "tencent",
|
|
447
449
|
Nebius: "nebius",
|
|
450
|
+
Fireworks: "fireworks",
|
|
451
|
+
Baseten: "baseten",
|
|
448
452
|
Reson8: "reson8",
|
|
449
453
|
Slack: "slack",
|
|
450
454
|
Orq: "orq",
|
|
@@ -588,9 +592,6 @@ export type ListPromptVersionsMessages = {
|
|
|
588
592
|
export type ListPromptVersionsPromptConfig = {
|
|
589
593
|
stream?: boolean | undefined;
|
|
590
594
|
model?: string | null | undefined;
|
|
591
|
-
/**
|
|
592
|
-
* The id of the resource
|
|
593
|
-
*/
|
|
594
595
|
modelDbId?: string | null | undefined;
|
|
595
596
|
/**
|
|
596
597
|
* The modality of the model
|
|
@@ -862,7 +863,8 @@ export type ListPromptVersionsGuardrails = {
|
|
|
862
863
|
export type ListPromptVersionsPlugins =
|
|
863
864
|
| components.PIIRedactionPluginEn
|
|
864
865
|
| components.PIIRedactionPluginNl
|
|
865
|
-
| components.PIIRedactionPluginAuto
|
|
866
|
+
| components.PIIRedactionPluginAuto
|
|
867
|
+
| components.ResponseHealingPlugin;
|
|
866
868
|
|
|
867
869
|
export type ListPromptVersionsFallbacks = {
|
|
868
870
|
/**
|
|
@@ -1445,13 +1447,14 @@ export type ListPromptVersionsPromptField = {
|
|
|
1445
1447
|
*/
|
|
1446
1448
|
guardrails?: Array<ListPromptVersionsGuardrails> | undefined;
|
|
1447
1449
|
/**
|
|
1448
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
1450
|
+
* 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.
|
|
1449
1451
|
*/
|
|
1450
1452
|
plugins?:
|
|
1451
1453
|
| Array<
|
|
1452
1454
|
| components.PIIRedactionPluginEn
|
|
1453
1455
|
| components.PIIRedactionPluginNl
|
|
1454
1456
|
| components.PIIRedactionPluginAuto
|
|
1457
|
+
| components.ResponseHealingPlugin
|
|
1455
1458
|
>
|
|
1456
1459
|
| undefined;
|
|
1457
1460
|
/**
|
|
@@ -2552,6 +2555,7 @@ export const ListPromptVersionsPlugins$inboundSchema: z.ZodType<
|
|
|
2552
2555
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
2553
2556
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
2554
2557
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2558
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
2555
2559
|
]);
|
|
2556
2560
|
|
|
2557
2561
|
export function listPromptVersionsPluginsFromJSON(
|
|
@@ -3328,6 +3332,7 @@ export const ListPromptVersionsPromptField$inboundSchema: z.ZodType<
|
|
|
3328
3332
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
3329
3333
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
3330
3334
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
3335
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
3331
3336
|
]),
|
|
3332
3337
|
).optional(),
|
|
3333
3338
|
fallbacks: z.array(z.lazy(() => ListPromptVersionsFallbacks$inboundSchema))
|