@orq-ai/node 4.18.0-rc.23 → 4.18.0-rc.25
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/funcs/routerClassifyCreate.d.ts +1 -1
- package/funcs/routerClassifyCreate.js +1 -1
- package/funcs/routerDecisionsCreate.d.ts +1 -1
- package/funcs/routerDecisionsCreate.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/agentstartedstreamingevent.d.ts +4 -4
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentstartedstreamingevent.js +7 -7
- package/models/components/agentstartedstreamingevent.js.map +1 -1
- package/models/components/agenttaskconfig.d.ts +6 -11
- package/models/components/agenttaskconfig.d.ts.map +1 -1
- package/models/components/agenttaskconfig.js +3 -17
- package/models/components/agenttaskconfig.js.map +1 -1
- package/models/components/cell.d.ts +17 -17
- package/models/components/cell.d.ts.map +1 -1
- package/models/components/cell.js +6 -12
- package/models/components/cell.js.map +1 -1
- package/models/components/externalagent.d.ts +3 -5
- package/models/components/externalagent.d.ts.map +1 -1
- package/models/components/externalagent.js +2 -8
- package/models/components/externalagent.js.map +1 -1
- package/models/components/mcptoolexposure.d.ts +5 -0
- package/models/components/mcptoolexposure.d.ts.map +1 -1
- package/models/components/mcptoolexposure.js +4 -0
- package/models/components/mcptoolexposure.js.map +1 -1
- package/models/components/memorystoreembeddingconfig.d.ts +1 -1
- package/models/components/metricsummary.d.ts +4 -1
- package/models/components/metricsummary.d.ts.map +1 -1
- package/models/components/metricsummary.js +1 -1
- package/models/components/metricsummary.js.map +1 -1
- package/models/components/patchevalcellrequest.d.ts +6 -8
- package/models/components/patchevalcellrequest.d.ts.map +1 -1
- package/models/components/patchevalcellrequest.js +2 -8
- package/models/components/patchevalcellrequest.js.map +1 -1
- package/models/components/patchreviewcellrequest.d.ts +6 -8
- package/models/components/patchreviewcellrequest.d.ts.map +1 -1
- package/models/components/patchreviewcellrequest.js +2 -8
- package/models/components/patchreviewcellrequest.js.map +1 -1
- package/models/components/patchtaskcellrequest.d.ts +6 -8
- package/models/components/patchtaskcellrequest.d.ts.map +1 -1
- package/models/components/patchtaskcellrequest.js +2 -8
- package/models/components/patchtaskcellrequest.js.map +1 -1
- package/models/components/prompttaskconfig.d.ts +30 -55
- package/models/components/prompttaskconfig.d.ts.map +1 -1
- package/models/components/prompttaskconfig.js +11 -76
- package/models/components/prompttaskconfig.js.map +1 -1
- package/models/components/queryrow.d.ts +5 -2
- package/models/components/queryrow.d.ts.map +1 -1
- package/models/components/queryrow.js +2 -4
- package/models/components/queryrow.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/redactedreasoningpartschema.d.ts +1 -1
- package/models/components/run.d.ts +9 -3
- package/models/components/run.d.ts.map +1 -1
- package/models/components/run.js +3 -3
- package/models/components/run.js.map +1 -1
- package/models/components/testexternalagentconnectionresponse.d.ts +3 -5
- package/models/components/testexternalagentconnectionresponse.d.ts.map +1 -1
- package/models/components/testexternalagentconnectionresponse.js +2 -9
- package/models/components/testexternalagentconnectionresponse.js.map +1 -1
- package/models/components/updateruncellrequest.d.ts +6 -8
- package/models/components/updateruncellrequest.d.ts.map +1 -1
- package/models/components/updateruncellrequest.js +2 -8
- package/models/components/updateruncellrequest.js.map +1 -1
- package/models/operations/createimagevariation.d.ts +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/listdeploymentversions.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +1 -1
- package/sdk/classify.d.ts +1 -1
- package/sdk/classify.js +1 -1
- package/sdk/decisions.d.ts +1 -1
- package/sdk/decisions.js +1 -1
- package/src/funcs/routerClassifyCreate.ts +1 -1
- package/src/funcs/routerDecisionsCreate.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/agentstartedstreamingevent.ts +30 -34
- package/src/models/components/agenttaskconfig.ts +4 -41
- package/src/models/components/cell.ts +22 -39
- package/src/models/components/externalagent.ts +2 -21
- package/src/models/components/mcptoolexposure.ts +9 -0
- package/src/models/components/memorystoreembeddingconfig.ts +1 -1
- package/src/models/components/metricsummary.ts +5 -2
- package/src/models/components/patchevalcellrequest.ts +3 -19
- package/src/models/components/patchreviewcellrequest.ts +3 -25
- package/src/models/components/patchtaskcellrequest.ts +3 -23
- package/src/models/components/prompttaskconfig.ts +20 -184
- package/src/models/components/queryrow.ts +11 -6
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/redactedreasoningpartschema.ts +1 -1
- package/src/models/components/run.ts +14 -8
- package/src/models/components/testexternalagentconnectionresponse.ts +2 -18
- package/src/models/components/updateruncellrequest.ts +3 -23
- package/src/models/operations/createimagevariation.ts +1 -1
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/listdeploymentversions.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/classify.ts +1 -1
- package/src/sdk/decisions.ts +1 -1
|
@@ -26,9 +26,15 @@ export type Run = {
|
|
|
26
26
|
rowCount?: number | undefined;
|
|
27
27
|
cellStatusCounts?: CellStatusCounts | undefined;
|
|
28
28
|
columns?: Array<Column> | undefined;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
/**
|
|
30
|
+
* Null on runs created without settings, such as evaluatorq uploads.
|
|
31
|
+
*/
|
|
32
|
+
settings?: RunSettings | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Null until the run is executed.
|
|
35
|
+
*/
|
|
36
|
+
startedAt?: Date | null | undefined;
|
|
37
|
+
completedAt?: Date | null | undefined;
|
|
32
38
|
createdAt?: Date | undefined;
|
|
33
39
|
updatedAt?: Date | undefined;
|
|
34
40
|
/**
|
|
@@ -54,12 +60,12 @@ export const Run$inboundSchema: z.ZodType<Run, z.ZodTypeDef, unknown> = z
|
|
|
54
60
|
row_count: z.number().int().optional(),
|
|
55
61
|
cell_status_counts: CellStatusCounts$inboundSchema.optional(),
|
|
56
62
|
columns: z.array(Column$inboundSchema).optional(),
|
|
57
|
-
settings: RunSettings$inboundSchema.optional(),
|
|
58
|
-
started_at: z.
|
|
59
|
-
new Date(v)
|
|
63
|
+
settings: z.nullable(RunSettings$inboundSchema).optional(),
|
|
64
|
+
started_at: z.nullable(
|
|
65
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
60
66
|
).optional(),
|
|
61
|
-
completed_at: z.
|
|
62
|
-
new Date(v)
|
|
67
|
+
completed_at: z.nullable(
|
|
68
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
63
69
|
).optional(),
|
|
64
70
|
created_at: z.string().datetime({ offset: true }).transform(v =>
|
|
65
71
|
new Date(v)
|
|
@@ -7,27 +7,11 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
|
-
export type Card = {};
|
|
11
|
-
|
|
12
10
|
export type TestExternalAgentConnectionResponse = {
|
|
13
11
|
reachable?: boolean | undefined;
|
|
14
|
-
card?:
|
|
12
|
+
card?: { [k: string]: any } | undefined;
|
|
15
13
|
};
|
|
16
14
|
|
|
17
|
-
/** @internal */
|
|
18
|
-
export const Card$inboundSchema: z.ZodType<Card, z.ZodTypeDef, unknown> = z
|
|
19
|
-
.object({});
|
|
20
|
-
|
|
21
|
-
export function cardFromJSON(
|
|
22
|
-
jsonString: string,
|
|
23
|
-
): SafeParseResult<Card, SDKValidationError> {
|
|
24
|
-
return safeParse(
|
|
25
|
-
jsonString,
|
|
26
|
-
(x) => Card$inboundSchema.parse(JSON.parse(x)),
|
|
27
|
-
`Failed to parse 'Card' from JSON`,
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
15
|
/** @internal */
|
|
32
16
|
export const TestExternalAgentConnectionResponse$inboundSchema: z.ZodType<
|
|
33
17
|
TestExternalAgentConnectionResponse,
|
|
@@ -35,7 +19,7 @@ export const TestExternalAgentConnectionResponse$inboundSchema: z.ZodType<
|
|
|
35
19
|
unknown
|
|
36
20
|
> = z.object({
|
|
37
21
|
reachable: z.boolean().optional(),
|
|
38
|
-
card: z.
|
|
22
|
+
card: z.record(z.any()).optional(),
|
|
39
23
|
});
|
|
40
24
|
|
|
41
25
|
export function testExternalAgentConnectionResponseFromJSON(
|
|
@@ -4,33 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
|
|
7
|
-
export type UpdateRunCellRequestValue = {};
|
|
8
|
-
|
|
9
7
|
export type UpdateRunCellRequest = {
|
|
10
|
-
value?:
|
|
8
|
+
value?: { [k: string]: any } | undefined;
|
|
11
9
|
};
|
|
12
10
|
|
|
13
|
-
/** @internal */
|
|
14
|
-
export type UpdateRunCellRequestValue$Outbound = {};
|
|
15
|
-
|
|
16
|
-
/** @internal */
|
|
17
|
-
export const UpdateRunCellRequestValue$outboundSchema: z.ZodType<
|
|
18
|
-
UpdateRunCellRequestValue$Outbound,
|
|
19
|
-
z.ZodTypeDef,
|
|
20
|
-
UpdateRunCellRequestValue
|
|
21
|
-
> = z.object({});
|
|
22
|
-
|
|
23
|
-
export function updateRunCellRequestValueToJSON(
|
|
24
|
-
updateRunCellRequestValue: UpdateRunCellRequestValue,
|
|
25
|
-
): string {
|
|
26
|
-
return JSON.stringify(
|
|
27
|
-
UpdateRunCellRequestValue$outboundSchema.parse(updateRunCellRequestValue),
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
11
|
/** @internal */
|
|
32
12
|
export type UpdateRunCellRequest$Outbound = {
|
|
33
|
-
value?:
|
|
13
|
+
value?: { [k: string]: any } | undefined;
|
|
34
14
|
};
|
|
35
15
|
|
|
36
16
|
/** @internal */
|
|
@@ -39,7 +19,7 @@ export const UpdateRunCellRequest$outboundSchema: z.ZodType<
|
|
|
39
19
|
z.ZodTypeDef,
|
|
40
20
|
UpdateRunCellRequest
|
|
41
21
|
> = z.object({
|
|
42
|
-
value: z.
|
|
22
|
+
value: z.record(z.any()).optional(),
|
|
43
23
|
});
|
|
44
24
|
|
|
45
25
|
export function updateRunCellRequestToJSON(
|
|
@@ -279,7 +279,7 @@ export type CreateImageVariationOrq = {
|
|
|
279
279
|
*/
|
|
280
280
|
export type CreateImageVariationRequestBody = {
|
|
281
281
|
/**
|
|
282
|
-
* The image to
|
|
282
|
+
* The image to vary. Must be a supported image file. It should be a png, webp, or jpg file less than 50MB.
|
|
283
283
|
*/
|
|
284
284
|
image?: CreateImageVariationImage | Blob | undefined;
|
|
285
285
|
/**
|
|
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1575
1575
|
z.ZodTypeDef,
|
|
1576
1576
|
unknown
|
|
1577
1577
|
> = z.object({
|
|
1578
|
-
_id: z.string().default("
|
|
1578
|
+
_id: z.string().default("tool_01M6FXGGAQWYD4XRVCN49JHN1S"),
|
|
1579
1579
|
path: z.string(),
|
|
1580
1580
|
key: z.string(),
|
|
1581
1581
|
display_name: z.string().optional(),
|
|
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1761
1761
|
z.ZodTypeDef,
|
|
1762
1762
|
unknown
|
|
1763
1763
|
> = z.object({
|
|
1764
|
-
_id: z.string().default("
|
|
1764
|
+
_id: z.string().default("tool_01M6FXGGAPKT3SMNZ9FW7096B8"),
|
|
1765
1765
|
path: z.string(),
|
|
1766
1766
|
key: z.string(),
|
|
1767
1767
|
display_name: z.string().optional(),
|
|
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1854
1854
|
z.ZodTypeDef,
|
|
1855
1855
|
unknown
|
|
1856
1856
|
> = z.object({
|
|
1857
|
-
_id: z.string().default("
|
|
1857
|
+
_id: z.string().default("tool_01M6FXGGAPA1ZJYTWE5KMMB468"),
|
|
1858
1858
|
path: z.string(),
|
|
1859
1859
|
key: z.string(),
|
|
1860
1860
|
display_name: z.string().optional(),
|
|
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1955
1955
|
z.ZodTypeDef,
|
|
1956
1956
|
unknown
|
|
1957
1957
|
> = z.object({
|
|
1958
|
-
_id: z.string().default("
|
|
1958
|
+
_id: z.string().default("tool_01M6FXGGAPF9R013Y73EWFKX8Z"),
|
|
1959
1959
|
path: z.string(),
|
|
1960
1960
|
key: z.string(),
|
|
1961
1961
|
display_name: z.string().optional(),
|
|
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
639
639
|
z.ZodTypeDef,
|
|
640
640
|
unknown
|
|
641
641
|
> = z.object({
|
|
642
|
-
_id: z.string().default("
|
|
642
|
+
_id: z.string().default("tool_01M6FXGGAN1CCDET343C5AH9DC"),
|
|
643
643
|
path: z.string(),
|
|
644
644
|
key: z.string(),
|
|
645
645
|
display_name: z.string().optional(),
|
|
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
821
821
|
z.ZodTypeDef,
|
|
822
822
|
unknown
|
|
823
823
|
> = z.object({
|
|
824
|
-
_id: z.string().default("
|
|
824
|
+
_id: z.string().default("tool_01M6FXGGAMST2TWE77E7W00T5G"),
|
|
825
825
|
path: z.string(),
|
|
826
826
|
key: z.string(),
|
|
827
827
|
display_name: z.string().optional(),
|
|
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
914
914
|
z.ZodTypeDef,
|
|
915
915
|
unknown
|
|
916
916
|
> = z.object({
|
|
917
|
-
_id: z.string().default("
|
|
917
|
+
_id: z.string().default("tool_01M6FXGGAMEF6W1FY5Z09A5AKP"),
|
|
918
918
|
path: z.string(),
|
|
919
919
|
key: z.string(),
|
|
920
920
|
display_name: z.string().optional(),
|
|
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1012
1012
|
z.ZodTypeDef,
|
|
1013
1013
|
unknown
|
|
1014
1014
|
> = z.object({
|
|
1015
|
-
_id: z.string().default("
|
|
1015
|
+
_id: z.string().default("tool_01M6FXGGAMQ96KQ7ZNBBY9W59K"),
|
|
1016
1016
|
path: z.string(),
|
|
1017
1017
|
key: z.string(),
|
|
1018
1018
|
display_name: z.string().optional(),
|
|
@@ -2531,7 +2531,7 @@ export const ListDeploymentVersionsKnowledgeBases$inboundSchema: z.ZodType<
|
|
|
2531
2531
|
z.ZodTypeDef,
|
|
2532
2532
|
unknown
|
|
2533
2533
|
> = z.object({
|
|
2534
|
-
id: z.string().default("
|
|
2534
|
+
id: z.string().default("01M6FXGG7YRWTR564RD95W67RG"),
|
|
2535
2535
|
knowledge_id: z.string(),
|
|
2536
2536
|
configuration: z.union([
|
|
2537
2537
|
z.lazy(() => KnowledgeBaseLastUserMessage$inboundSchema),
|
|
@@ -624,7 +624,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
624
624
|
z.ZodTypeDef,
|
|
625
625
|
unknown
|
|
626
626
|
> = z.object({
|
|
627
|
-
_id: z.string().default("
|
|
627
|
+
_id: z.string().default("tool_01M6FXGGAVWVXZEXMVM2F0YH6M"),
|
|
628
628
|
path: z.string(),
|
|
629
629
|
key: z.string(),
|
|
630
630
|
display_name: z.string().optional(),
|
|
@@ -820,7 +820,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
820
820
|
z.ZodTypeDef,
|
|
821
821
|
unknown
|
|
822
822
|
> = z.object({
|
|
823
|
-
_id: z.string().default("
|
|
823
|
+
_id: z.string().default("tool_01M6FXGGAVPHR2XC1YHCQBZB7J"),
|
|
824
824
|
path: z.string(),
|
|
825
825
|
key: z.string(),
|
|
826
826
|
display_name: z.string().optional(),
|
|
@@ -916,7 +916,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
916
916
|
z.ZodTypeDef,
|
|
917
917
|
unknown
|
|
918
918
|
> = z.object({
|
|
919
|
-
_id: z.string().default("
|
|
919
|
+
_id: z.string().default("tool_01M6FXGGAT0GK138HCF35XX7F0"),
|
|
920
920
|
path: z.string(),
|
|
921
921
|
key: z.string(),
|
|
922
922
|
display_name: z.string().optional(),
|
|
@@ -1022,7 +1022,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1022
1022
|
z.ZodTypeDef,
|
|
1023
1023
|
unknown
|
|
1024
1024
|
> = z.object({
|
|
1025
|
-
_id: z.string().default("
|
|
1025
|
+
_id: z.string().default("tool_01M6FXGGATT3FBRMR86GQCCWXY"),
|
|
1026
1026
|
path: z.string(),
|
|
1027
1027
|
key: z.string(),
|
|
1028
1028
|
display_name: z.string().optional(),
|
|
@@ -3918,7 +3918,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3918
3918
|
z.ZodTypeDef,
|
|
3919
3919
|
Tools
|
|
3920
3920
|
> = z.object({
|
|
3921
|
-
id: z.string().default("
|
|
3921
|
+
id: z.string().default("01M6FXGG9KF08R86C7601NJTEP"),
|
|
3922
3922
|
name: z.string(),
|
|
3923
3923
|
description: z.string().optional(),
|
|
3924
3924
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -3977,7 +3977,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3977
3977
|
z.ZodTypeDef,
|
|
3978
3978
|
AgentToolInputRunTools
|
|
3979
3979
|
> = z.object({
|
|
3980
|
-
id: z.string().default("
|
|
3980
|
+
id: z.string().default("01M6FXGG9XAADWM4MZ7D76BDSQ"),
|
|
3981
3981
|
name: z.string(),
|
|
3982
3982
|
description: z.string().optional(),
|
|
3983
3983
|
schema: z.lazy(() =>
|
|
@@ -1764,7 +1764,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1764
1764
|
z.ZodTypeDef,
|
|
1765
1765
|
unknown
|
|
1766
1766
|
> = z.object({
|
|
1767
|
-
_id: z.string().default("
|
|
1767
|
+
_id: z.string().default("tool_01M6FXGGARDWTVWYT0M6XAJTB2"),
|
|
1768
1768
|
path: z.string(),
|
|
1769
1769
|
key: z.string(),
|
|
1770
1770
|
display_name: z.string().optional(),
|
|
@@ -1959,7 +1959,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1959
1959
|
z.ZodTypeDef,
|
|
1960
1960
|
unknown
|
|
1961
1961
|
> = z.object({
|
|
1962
|
-
_id: z.string().default("
|
|
1962
|
+
_id: z.string().default("tool_01M6FXGGARDNNN37DAV09VDN1H"),
|
|
1963
1963
|
path: z.string(),
|
|
1964
1964
|
key: z.string(),
|
|
1965
1965
|
display_name: z.string().optional(),
|
|
@@ -2054,7 +2054,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2054
2054
|
z.ZodTypeDef,
|
|
2055
2055
|
unknown
|
|
2056
2056
|
> = z.object({
|
|
2057
|
-
_id: z.string().default("
|
|
2057
|
+
_id: z.string().default("tool_01M6FXGGARYEE2Q9GTH39NV5ZW"),
|
|
2058
2058
|
path: z.string(),
|
|
2059
2059
|
key: z.string(),
|
|
2060
2060
|
display_name: z.string().optional(),
|
|
@@ -2157,7 +2157,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2157
2157
|
z.ZodTypeDef,
|
|
2158
2158
|
unknown
|
|
2159
2159
|
> = z.object({
|
|
2160
|
-
_id: z.string().default("
|
|
2160
|
+
_id: z.string().default("tool_01M6FXGGAQMRXH984ZGWFTRP54"),
|
|
2161
2161
|
path: z.string(),
|
|
2162
2162
|
key: z.string(),
|
|
2163
2163
|
display_name: z.string().optional(),
|
package/src/sdk/classify.ts
CHANGED
|
@@ -23,7 +23,7 @@ export class Classify extends ClientSDK {
|
|
|
23
23
|
*
|
|
24
24
|
* Instructions and criteria accept strings or structured JSON. TypeSafe models also accept inline images through `assets` (beta).
|
|
25
25
|
*
|
|
26
|
-
* Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout;
|
|
26
|
+
* Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; when `retry` is omitted, the gateway retries twice before moving to the next fallback. The response identifies the model that answered.
|
|
27
27
|
*
|
|
28
28
|
* Requires the `classify` API-key permission. PII plugins and guardrails are not applied. See the [Decisions guide](/ai-gateway/features/decisions) for supported models, probability interpretation, and refusals.
|
|
29
29
|
*
|
package/src/sdk/decisions.ts
CHANGED
|
@@ -21,7 +21,7 @@ export class Decisions extends ClientSDK {
|
|
|
21
21
|
*
|
|
22
22
|
* Instructions and criteria accept strings or structured JSON. TypeSafe models also accept inline images through `assets` (beta).
|
|
23
23
|
*
|
|
24
|
-
* Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout;
|
|
24
|
+
* Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; when `retry` is omitted, the gateway retries twice before moving to the next fallback. The response identifies the model that answered.
|
|
25
25
|
*
|
|
26
26
|
* Requires the `classify` API-key permission. PII plugins and guardrails are not applied. See the [Decisions guide](/ai-gateway/features/decisions) for supported models, probability interpretation, and refusals.
|
|
27
27
|
*/
|