@meetkai/mka1 0.54.84 → 0.54.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +28 -68
- package/bin/mcp-server.js.map +18 -18
- package/dist/commonjs/funcs/llmModelsPutOrgAutoModel.d.ts +1 -1
- package/dist/commonjs/funcs/llmModelsPutOrgAutoModel.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmModelsPutOrgAutoModel.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmModelsPutOrgAutoModel.js.map +1 -1
- package/dist/commonjs/models/components/addcatalogmodelrequest.d.ts +6 -32
- package/dist/commonjs/models/components/addcatalogmodelrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/addcatalogmodelrequest.js +3 -43
- package/dist/commonjs/models/components/addcatalogmodelrequest.js.map +1 -1
- package/dist/commonjs/models/components/balancedorgautomodel.d.ts +3 -0
- package/dist/commonjs/models/components/balancedorgautomodel.d.ts.map +1 -1
- package/dist/commonjs/models/components/balancedorgautomodel.js.map +1 -1
- package/dist/commonjs/models/components/livekittokenrequest.d.ts +5 -2
- package/dist/commonjs/models/components/livekittokenrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/livekittokenrequest.js +2 -2
- package/dist/commonjs/models/components/livekittokenrequest.js.map +1 -1
- package/dist/commonjs/models/components/priceorgautomodel.d.ts +3 -0
- package/dist/commonjs/models/components/priceorgautomodel.d.ts.map +1 -1
- package/dist/commonjs/models/components/priceorgautomodel.js.map +1 -1
- package/dist/commonjs/models/components/putorgautomodelrequest.d.ts +1 -1
- package/dist/commonjs/models/components/qualityorgautomodel.d.ts +3 -0
- package/dist/commonjs/models/components/qualityorgautomodel.d.ts.map +1 -1
- package/dist/commonjs/models/components/qualityorgautomodel.js.map +1 -1
- package/dist/commonjs/models/components/reasoningconfiguration.d.ts +4 -4
- package/dist/commonjs/models/components/reasoningconfiguration.d.ts.map +1 -1
- package/dist/commonjs/models/components/reasoningconfiguration.js +4 -4
- package/dist/commonjs/models/components/reasoningconfiguration.js.map +1 -1
- package/dist/commonjs/models/components/responsescreaterequest.d.ts +5 -2
- package/dist/commonjs/models/components/responsescreaterequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/responsescreaterequest.js +2 -2
- package/dist/commonjs/models/components/responsescreaterequest.js.map +1 -1
- package/dist/commonjs/models/components/shellnetworkpolicy.d.ts +1 -1
- package/dist/commonjs/models/components/speedorgautomodel.d.ts +3 -0
- package/dist/commonjs/models/components/speedorgautomodel.d.ts.map +1 -1
- package/dist/commonjs/models/components/speedorgautomodel.js.map +1 -1
- package/dist/commonjs/models/components/updatecatalogmodelrequest.d.ts +6 -32
- package/dist/commonjs/models/components/updatecatalogmodelrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/updatecatalogmodelrequest.js +3 -43
- package/dist/commonjs/models/components/updatecatalogmodelrequest.js.map +1 -1
- package/dist/commonjs/react-query/llmModelsPutOrgAutoModel.d.ts +1 -1
- package/dist/commonjs/react-query/llmModelsPutOrgAutoModel.js +1 -1
- package/dist/commonjs/sdk/models.d.ts +1 -1
- package/dist/commonjs/sdk/models.js +1 -1
- package/dist/esm/funcs/llmModelsPutOrgAutoModel.d.ts +1 -1
- package/dist/esm/funcs/llmModelsPutOrgAutoModel.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/llmModelsPutOrgAutoModel.js +1 -1
- package/dist/esm/mcp-server/tools/llmModelsPutOrgAutoModel.js.map +1 -1
- package/dist/esm/models/components/addcatalogmodelrequest.d.ts +6 -32
- package/dist/esm/models/components/addcatalogmodelrequest.d.ts.map +1 -1
- package/dist/esm/models/components/addcatalogmodelrequest.js +2 -38
- package/dist/esm/models/components/addcatalogmodelrequest.js.map +1 -1
- package/dist/esm/models/components/balancedorgautomodel.d.ts +3 -0
- package/dist/esm/models/components/balancedorgautomodel.d.ts.map +1 -1
- package/dist/esm/models/components/balancedorgautomodel.js.map +1 -1
- package/dist/esm/models/components/livekittokenrequest.d.ts +5 -2
- package/dist/esm/models/components/livekittokenrequest.d.ts.map +1 -1
- package/dist/esm/models/components/livekittokenrequest.js +2 -2
- package/dist/esm/models/components/livekittokenrequest.js.map +1 -1
- package/dist/esm/models/components/priceorgautomodel.d.ts +3 -0
- package/dist/esm/models/components/priceorgautomodel.d.ts.map +1 -1
- package/dist/esm/models/components/priceorgautomodel.js.map +1 -1
- package/dist/esm/models/components/putorgautomodelrequest.d.ts +1 -1
- package/dist/esm/models/components/qualityorgautomodel.d.ts +3 -0
- package/dist/esm/models/components/qualityorgautomodel.d.ts.map +1 -1
- package/dist/esm/models/components/qualityorgautomodel.js.map +1 -1
- package/dist/esm/models/components/reasoningconfiguration.d.ts +4 -4
- package/dist/esm/models/components/reasoningconfiguration.d.ts.map +1 -1
- package/dist/esm/models/components/reasoningconfiguration.js +4 -4
- package/dist/esm/models/components/reasoningconfiguration.js.map +1 -1
- package/dist/esm/models/components/responsescreaterequest.d.ts +5 -2
- package/dist/esm/models/components/responsescreaterequest.d.ts.map +1 -1
- package/dist/esm/models/components/responsescreaterequest.js +2 -2
- package/dist/esm/models/components/responsescreaterequest.js.map +1 -1
- package/dist/esm/models/components/shellnetworkpolicy.d.ts +1 -1
- package/dist/esm/models/components/speedorgautomodel.d.ts +3 -0
- package/dist/esm/models/components/speedorgautomodel.d.ts.map +1 -1
- package/dist/esm/models/components/speedorgautomodel.js.map +1 -1
- package/dist/esm/models/components/updatecatalogmodelrequest.d.ts +6 -32
- package/dist/esm/models/components/updatecatalogmodelrequest.d.ts.map +1 -1
- package/dist/esm/models/components/updatecatalogmodelrequest.js +2 -38
- package/dist/esm/models/components/updatecatalogmodelrequest.js.map +1 -1
- package/dist/esm/react-query/llmModelsPutOrgAutoModel.d.ts +1 -1
- package/dist/esm/react-query/llmModelsPutOrgAutoModel.js +1 -1
- package/dist/esm/sdk/models.d.ts +1 -1
- package/dist/esm/sdk/models.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/llmModelsPutOrgAutoModel.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/llmModelsPutOrgAutoModel.ts +1 -1
- package/src/models/components/addcatalogmodelrequest.ts +8 -102
- package/src/models/components/balancedorgautomodel.ts +3 -0
- package/src/models/components/livekittokenrequest.ts +7 -4
- package/src/models/components/priceorgautomodel.ts +3 -0
- package/src/models/components/putorgautomodelrequest.ts +1 -1
- package/src/models/components/qualityorgautomodel.ts +3 -0
- package/src/models/components/reasoningconfiguration.ts +8 -8
- package/src/models/components/responsescreaterequest.ts +7 -4
- package/src/models/components/shellnetworkpolicy.ts +1 -1
- package/src/models/components/speedorgautomodel.ts +3 -0
- package/src/models/components/updatecatalogmodelrequest.ts +8 -114
- package/src/react-query/llmModelsPutOrgAutoModel.ts +1 -1
- package/src/sdk/models.ts +1 -1
|
@@ -26,8 +26,8 @@ export const Summary = {
|
|
|
26
26
|
export type Summary = ClosedEnum<typeof Summary>;
|
|
27
27
|
|
|
28
28
|
export type ReasoningConfiguration = {
|
|
29
|
-
effort
|
|
30
|
-
summary
|
|
29
|
+
effort?: Effort | null | undefined;
|
|
30
|
+
summary?: Summary | null | undefined;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
/** @internal */
|
|
@@ -50,13 +50,13 @@ export const ReasoningConfiguration$inboundSchema: z.ZodType<
|
|
|
50
50
|
z.ZodTypeDef,
|
|
51
51
|
unknown
|
|
52
52
|
> = z.object({
|
|
53
|
-
effort: z.nullable(Effort$inboundSchema),
|
|
54
|
-
summary: z.nullable(Summary$inboundSchema),
|
|
53
|
+
effort: z.nullable(Effort$inboundSchema).optional(),
|
|
54
|
+
summary: z.nullable(Summary$inboundSchema).optional(),
|
|
55
55
|
});
|
|
56
56
|
/** @internal */
|
|
57
57
|
export type ReasoningConfiguration$Outbound = {
|
|
58
|
-
effort
|
|
59
|
-
summary
|
|
58
|
+
effort?: string | null | undefined;
|
|
59
|
+
summary?: string | null | undefined;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
/** @internal */
|
|
@@ -65,8 +65,8 @@ export const ReasoningConfiguration$outboundSchema: z.ZodType<
|
|
|
65
65
|
z.ZodTypeDef,
|
|
66
66
|
ReasoningConfiguration
|
|
67
67
|
> = z.object({
|
|
68
|
-
effort: z.nullable(Effort$outboundSchema),
|
|
69
|
-
summary: z.nullable(Summary$outboundSchema),
|
|
68
|
+
effort: z.nullable(Effort$outboundSchema).optional(),
|
|
69
|
+
summary: z.nullable(Summary$outboundSchema).optional(),
|
|
70
70
|
});
|
|
71
71
|
|
|
72
72
|
export function reasoningConfigurationToJSON(
|
|
@@ -345,7 +345,10 @@ export type ResponsesCreateRequest = {
|
|
|
345
345
|
* The maximum total number of tool calls the agent can make during this response. Useful for controlling execution time and preventing infinite loops. Applies to all built-in tools like web search, file search, code interpreter, etc. Must be a positive integer between 1 and 300. Defaults to 64.
|
|
346
346
|
*/
|
|
347
347
|
maxToolCalls?: number | undefined;
|
|
348
|
-
|
|
348
|
+
/**
|
|
349
|
+
* Configuration options for reasoning models. Controls reasoning effort level (minimal, low, medium, high) and summary verbosity (auto, concise, detailed). Only applicable to specific reasoning-capable models.
|
|
350
|
+
*/
|
|
351
|
+
reasoning?: ReasoningConfiguration | null | undefined;
|
|
349
352
|
/**
|
|
350
353
|
* The maximum number of tokens the model can generate in its output. Sets an upper bound to control costs and response length. The actual output may be shorter if the model finishes naturally. Must be a positive integer.
|
|
351
354
|
*/
|
|
@@ -834,7 +837,7 @@ export const ResponsesCreateRequest$inboundSchema: z.ZodType<
|
|
|
834
837
|
tool_choice: ToolChoice$inboundSchema.optional(),
|
|
835
838
|
parallel_tool_calls: z.boolean().default(true),
|
|
836
839
|
max_tool_calls: z.number().int().default(64),
|
|
837
|
-
reasoning: ReasoningConfiguration$inboundSchema.optional(),
|
|
840
|
+
reasoning: z.nullable(ReasoningConfiguration$inboundSchema).optional(),
|
|
838
841
|
max_output_tokens: z.number().int().optional(),
|
|
839
842
|
temperature: z.number().optional(),
|
|
840
843
|
top_p: z.number().optional(),
|
|
@@ -930,7 +933,7 @@ export type ResponsesCreateRequest$Outbound = {
|
|
|
930
933
|
tool_choice?: ToolChoice$Outbound | undefined;
|
|
931
934
|
parallel_tool_calls: boolean;
|
|
932
935
|
max_tool_calls: number;
|
|
933
|
-
reasoning?: ReasoningConfiguration$Outbound | undefined;
|
|
936
|
+
reasoning?: ReasoningConfiguration$Outbound | null | undefined;
|
|
934
937
|
max_output_tokens?: number | undefined;
|
|
935
938
|
temperature?: number | undefined;
|
|
936
939
|
top_p?: number | undefined;
|
|
@@ -1002,7 +1005,7 @@ export const ResponsesCreateRequest$outboundSchema: z.ZodType<
|
|
|
1002
1005
|
toolChoice: ToolChoice$outboundSchema.optional(),
|
|
1003
1006
|
parallelToolCalls: z.boolean().default(true),
|
|
1004
1007
|
maxToolCalls: z.number().int().default(64),
|
|
1005
|
-
reasoning: ReasoningConfiguration$outboundSchema.optional(),
|
|
1008
|
+
reasoning: z.nullable(ReasoningConfiguration$outboundSchema).optional(),
|
|
1006
1009
|
maxOutputTokens: z.number().int().optional(),
|
|
1007
1010
|
temperature: z.number().optional(),
|
|
1008
1011
|
topP: z.number().optional(),
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
export type ShellNetworkPolicy = {
|
|
18
18
|
type: "allowlist";
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Allowed hostnames and their subdomains. An empty or omitted list denies all outbound access. Intersects with tenant and operator restrictions.
|
|
21
21
|
*/
|
|
22
22
|
allowedDomains?: Array<string> | undefined;
|
|
23
23
|
/**
|
|
@@ -19,6 +19,9 @@ export type SpeedOrgAutoModel = {
|
|
|
19
19
|
setAt: Date;
|
|
20
20
|
judgeModelId: string;
|
|
21
21
|
candidateModelIds: Array<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the judge is still active for this org and still a non-reasoning text LLM. When false, `auto` requests on this endpoint fail with 503 `auto_judge_unavailable`.
|
|
24
|
+
*/
|
|
22
25
|
judgeResolvable: boolean;
|
|
23
26
|
resolvableCandidateModelIds: Array<string>;
|
|
24
27
|
mode: "speed";
|
|
@@ -200,16 +200,8 @@ export type UpdateCatalogModelRequestDefaultParams = {
|
|
|
200
200
|
frequencyPenalty?: number | undefined;
|
|
201
201
|
};
|
|
202
202
|
|
|
203
|
-
export type UpdateCatalogModelRequestTrigger4 = {
|
|
204
|
-
type: "error-fallback";
|
|
205
|
-
};
|
|
206
|
-
|
|
207
|
-
export type UpdateCatalogModelRequestTrigger3 = {
|
|
208
|
-
type: "context-exceeded";
|
|
209
|
-
};
|
|
210
|
-
|
|
211
203
|
export type UpdateCatalogModelRequestTrigger2 = {
|
|
212
|
-
type: "
|
|
204
|
+
type: "error-fallback";
|
|
213
205
|
};
|
|
214
206
|
|
|
215
207
|
export const TriggerModality = {
|
|
@@ -227,16 +219,12 @@ export type UpdateCatalogModelRequestTrigger1 = {
|
|
|
227
219
|
|
|
228
220
|
export type RerouteRulesTrigger =
|
|
229
221
|
| UpdateCatalogModelRequestTrigger1
|
|
230
|
-
| UpdateCatalogModelRequestTrigger2
|
|
231
|
-
| UpdateCatalogModelRequestTrigger3
|
|
232
|
-
| UpdateCatalogModelRequestTrigger4;
|
|
222
|
+
| UpdateCatalogModelRequestTrigger2;
|
|
233
223
|
|
|
234
224
|
export type UpdateCatalogModelRequestRerouteRules = {
|
|
235
225
|
trigger:
|
|
236
226
|
| UpdateCatalogModelRequestTrigger1
|
|
237
|
-
| UpdateCatalogModelRequestTrigger2
|
|
238
|
-
| UpdateCatalogModelRequestTrigger3
|
|
239
|
-
| UpdateCatalogModelRequestTrigger4;
|
|
227
|
+
| UpdateCatalogModelRequestTrigger2;
|
|
240
228
|
targetModelId: string;
|
|
241
229
|
preserveParams?: boolean | undefined;
|
|
242
230
|
log?: boolean | undefined;
|
|
@@ -1568,99 +1556,17 @@ export function updateCatalogModelRequestDefaultParamsFromJSON(
|
|
|
1568
1556
|
);
|
|
1569
1557
|
}
|
|
1570
1558
|
|
|
1571
|
-
/** @internal */
|
|
1572
|
-
export const UpdateCatalogModelRequestTrigger4$inboundSchema: z.ZodType<
|
|
1573
|
-
UpdateCatalogModelRequestTrigger4,
|
|
1574
|
-
z.ZodTypeDef,
|
|
1575
|
-
unknown
|
|
1576
|
-
> = z.object({
|
|
1577
|
-
type: z.literal("error-fallback"),
|
|
1578
|
-
});
|
|
1579
|
-
/** @internal */
|
|
1580
|
-
export type UpdateCatalogModelRequestTrigger4$Outbound = {
|
|
1581
|
-
type: "error-fallback";
|
|
1582
|
-
};
|
|
1583
|
-
|
|
1584
|
-
/** @internal */
|
|
1585
|
-
export const UpdateCatalogModelRequestTrigger4$outboundSchema: z.ZodType<
|
|
1586
|
-
UpdateCatalogModelRequestTrigger4$Outbound,
|
|
1587
|
-
z.ZodTypeDef,
|
|
1588
|
-
UpdateCatalogModelRequestTrigger4
|
|
1589
|
-
> = z.object({
|
|
1590
|
-
type: z.literal("error-fallback"),
|
|
1591
|
-
});
|
|
1592
|
-
|
|
1593
|
-
export function updateCatalogModelRequestTrigger4ToJSON(
|
|
1594
|
-
updateCatalogModelRequestTrigger4: UpdateCatalogModelRequestTrigger4,
|
|
1595
|
-
): string {
|
|
1596
|
-
return JSON.stringify(
|
|
1597
|
-
UpdateCatalogModelRequestTrigger4$outboundSchema.parse(
|
|
1598
|
-
updateCatalogModelRequestTrigger4,
|
|
1599
|
-
),
|
|
1600
|
-
);
|
|
1601
|
-
}
|
|
1602
|
-
export function updateCatalogModelRequestTrigger4FromJSON(
|
|
1603
|
-
jsonString: string,
|
|
1604
|
-
): SafeParseResult<UpdateCatalogModelRequestTrigger4, SDKValidationError> {
|
|
1605
|
-
return safeParse(
|
|
1606
|
-
jsonString,
|
|
1607
|
-
(x) => UpdateCatalogModelRequestTrigger4$inboundSchema.parse(JSON.parse(x)),
|
|
1608
|
-
`Failed to parse 'UpdateCatalogModelRequestTrigger4' from JSON`,
|
|
1609
|
-
);
|
|
1610
|
-
}
|
|
1611
|
-
|
|
1612
|
-
/** @internal */
|
|
1613
|
-
export const UpdateCatalogModelRequestTrigger3$inboundSchema: z.ZodType<
|
|
1614
|
-
UpdateCatalogModelRequestTrigger3,
|
|
1615
|
-
z.ZodTypeDef,
|
|
1616
|
-
unknown
|
|
1617
|
-
> = z.object({
|
|
1618
|
-
type: z.literal("context-exceeded"),
|
|
1619
|
-
});
|
|
1620
|
-
/** @internal */
|
|
1621
|
-
export type UpdateCatalogModelRequestTrigger3$Outbound = {
|
|
1622
|
-
type: "context-exceeded";
|
|
1623
|
-
};
|
|
1624
|
-
|
|
1625
|
-
/** @internal */
|
|
1626
|
-
export const UpdateCatalogModelRequestTrigger3$outboundSchema: z.ZodType<
|
|
1627
|
-
UpdateCatalogModelRequestTrigger3$Outbound,
|
|
1628
|
-
z.ZodTypeDef,
|
|
1629
|
-
UpdateCatalogModelRequestTrigger3
|
|
1630
|
-
> = z.object({
|
|
1631
|
-
type: z.literal("context-exceeded"),
|
|
1632
|
-
});
|
|
1633
|
-
|
|
1634
|
-
export function updateCatalogModelRequestTrigger3ToJSON(
|
|
1635
|
-
updateCatalogModelRequestTrigger3: UpdateCatalogModelRequestTrigger3,
|
|
1636
|
-
): string {
|
|
1637
|
-
return JSON.stringify(
|
|
1638
|
-
UpdateCatalogModelRequestTrigger3$outboundSchema.parse(
|
|
1639
|
-
updateCatalogModelRequestTrigger3,
|
|
1640
|
-
),
|
|
1641
|
-
);
|
|
1642
|
-
}
|
|
1643
|
-
export function updateCatalogModelRequestTrigger3FromJSON(
|
|
1644
|
-
jsonString: string,
|
|
1645
|
-
): SafeParseResult<UpdateCatalogModelRequestTrigger3, SDKValidationError> {
|
|
1646
|
-
return safeParse(
|
|
1647
|
-
jsonString,
|
|
1648
|
-
(x) => UpdateCatalogModelRequestTrigger3$inboundSchema.parse(JSON.parse(x)),
|
|
1649
|
-
`Failed to parse 'UpdateCatalogModelRequestTrigger3' from JSON`,
|
|
1650
|
-
);
|
|
1651
|
-
}
|
|
1652
|
-
|
|
1653
1559
|
/** @internal */
|
|
1654
1560
|
export const UpdateCatalogModelRequestTrigger2$inboundSchema: z.ZodType<
|
|
1655
1561
|
UpdateCatalogModelRequestTrigger2,
|
|
1656
1562
|
z.ZodTypeDef,
|
|
1657
1563
|
unknown
|
|
1658
1564
|
> = z.object({
|
|
1659
|
-
type: z.literal("
|
|
1565
|
+
type: z.literal("error-fallback"),
|
|
1660
1566
|
});
|
|
1661
1567
|
/** @internal */
|
|
1662
1568
|
export type UpdateCatalogModelRequestTrigger2$Outbound = {
|
|
1663
|
-
type: "
|
|
1569
|
+
type: "error-fallback";
|
|
1664
1570
|
};
|
|
1665
1571
|
|
|
1666
1572
|
/** @internal */
|
|
@@ -1669,7 +1575,7 @@ export const UpdateCatalogModelRequestTrigger2$outboundSchema: z.ZodType<
|
|
|
1669
1575
|
z.ZodTypeDef,
|
|
1670
1576
|
UpdateCatalogModelRequestTrigger2
|
|
1671
1577
|
> = z.object({
|
|
1672
|
-
type: z.literal("
|
|
1578
|
+
type: z.literal("error-fallback"),
|
|
1673
1579
|
});
|
|
1674
1580
|
|
|
1675
1581
|
export function updateCatalogModelRequestTrigger2ToJSON(
|
|
@@ -1752,15 +1658,11 @@ export const RerouteRulesTrigger$inboundSchema: z.ZodType<
|
|
|
1752
1658
|
> = z.union([
|
|
1753
1659
|
z.lazy(() => UpdateCatalogModelRequestTrigger1$inboundSchema),
|
|
1754
1660
|
z.lazy(() => UpdateCatalogModelRequestTrigger2$inboundSchema),
|
|
1755
|
-
z.lazy(() => UpdateCatalogModelRequestTrigger3$inboundSchema),
|
|
1756
|
-
z.lazy(() => UpdateCatalogModelRequestTrigger4$inboundSchema),
|
|
1757
1661
|
]);
|
|
1758
1662
|
/** @internal */
|
|
1759
1663
|
export type RerouteRulesTrigger$Outbound =
|
|
1760
1664
|
| UpdateCatalogModelRequestTrigger1$Outbound
|
|
1761
|
-
| UpdateCatalogModelRequestTrigger2$Outbound
|
|
1762
|
-
| UpdateCatalogModelRequestTrigger3$Outbound
|
|
1763
|
-
| UpdateCatalogModelRequestTrigger4$Outbound;
|
|
1665
|
+
| UpdateCatalogModelRequestTrigger2$Outbound;
|
|
1764
1666
|
|
|
1765
1667
|
/** @internal */
|
|
1766
1668
|
export const RerouteRulesTrigger$outboundSchema: z.ZodType<
|
|
@@ -1770,8 +1672,6 @@ export const RerouteRulesTrigger$outboundSchema: z.ZodType<
|
|
|
1770
1672
|
> = z.union([
|
|
1771
1673
|
z.lazy(() => UpdateCatalogModelRequestTrigger1$outboundSchema),
|
|
1772
1674
|
z.lazy(() => UpdateCatalogModelRequestTrigger2$outboundSchema),
|
|
1773
|
-
z.lazy(() => UpdateCatalogModelRequestTrigger3$outboundSchema),
|
|
1774
|
-
z.lazy(() => UpdateCatalogModelRequestTrigger4$outboundSchema),
|
|
1775
1675
|
]);
|
|
1776
1676
|
|
|
1777
1677
|
export function rerouteRulesTriggerToJSON(
|
|
@@ -1800,8 +1700,6 @@ export const UpdateCatalogModelRequestRerouteRules$inboundSchema: z.ZodType<
|
|
|
1800
1700
|
trigger: z.union([
|
|
1801
1701
|
z.lazy(() => UpdateCatalogModelRequestTrigger1$inboundSchema),
|
|
1802
1702
|
z.lazy(() => UpdateCatalogModelRequestTrigger2$inboundSchema),
|
|
1803
|
-
z.lazy(() => UpdateCatalogModelRequestTrigger3$inboundSchema),
|
|
1804
|
-
z.lazy(() => UpdateCatalogModelRequestTrigger4$inboundSchema),
|
|
1805
1703
|
]),
|
|
1806
1704
|
targetModelId: z.string(),
|
|
1807
1705
|
preserveParams: z.boolean().optional(),
|
|
@@ -1811,9 +1709,7 @@ export const UpdateCatalogModelRequestRerouteRules$inboundSchema: z.ZodType<
|
|
|
1811
1709
|
export type UpdateCatalogModelRequestRerouteRules$Outbound = {
|
|
1812
1710
|
trigger:
|
|
1813
1711
|
| UpdateCatalogModelRequestTrigger1$Outbound
|
|
1814
|
-
| UpdateCatalogModelRequestTrigger2$Outbound
|
|
1815
|
-
| UpdateCatalogModelRequestTrigger3$Outbound
|
|
1816
|
-
| UpdateCatalogModelRequestTrigger4$Outbound;
|
|
1712
|
+
| UpdateCatalogModelRequestTrigger2$Outbound;
|
|
1817
1713
|
targetModelId: string;
|
|
1818
1714
|
preserveParams?: boolean | undefined;
|
|
1819
1715
|
log?: boolean | undefined;
|
|
@@ -1828,8 +1724,6 @@ export const UpdateCatalogModelRequestRerouteRules$outboundSchema: z.ZodType<
|
|
|
1828
1724
|
trigger: z.union([
|
|
1829
1725
|
z.lazy(() => UpdateCatalogModelRequestTrigger1$outboundSchema),
|
|
1830
1726
|
z.lazy(() => UpdateCatalogModelRequestTrigger2$outboundSchema),
|
|
1831
|
-
z.lazy(() => UpdateCatalogModelRequestTrigger3$outboundSchema),
|
|
1832
|
-
z.lazy(() => UpdateCatalogModelRequestTrigger4$outboundSchema),
|
|
1833
1727
|
]),
|
|
1834
1728
|
targetModelId: z.string(),
|
|
1835
1729
|
preserveParams: z.boolean().optional(),
|
|
@@ -48,7 +48,7 @@ export type LlmModelsPutOrgAutoModelMutationError =
|
|
|
48
48
|
* Set this org's auto policy for an endpoint
|
|
49
49
|
*
|
|
50
50
|
* @remarks
|
|
51
|
-
* Stores either the existing direct `{ endpoint → model_id }` alias or a judge policy with candidate models. Judge routing is supported for responses, completions, transcriptions, and TTS. All configured models must be active when written; revoked candidates are filtered at request time, while an unavailable judge is an explicit error.
|
|
51
|
+
* Stores either the existing direct `{ endpoint → model_id }` alias or a judge policy with candidate models. Judge routing is supported for responses, completions, transcriptions, and TTS. The judge must be a non-reasoning text LLM. All configured models must be active when written; revoked candidates are filtered at request time, while an unavailable judge is an explicit error.
|
|
52
52
|
*/
|
|
53
53
|
export function useLlmModelsPutOrgAutoModelMutation(
|
|
54
54
|
options?: MutationHookOptions<
|
package/src/sdk/models.ts
CHANGED
|
@@ -287,7 +287,7 @@ export class Models extends ClientSDK {
|
|
|
287
287
|
* Set this org's auto policy for an endpoint
|
|
288
288
|
*
|
|
289
289
|
* @remarks
|
|
290
|
-
* Stores either the existing direct `{ endpoint → model_id }` alias or a judge policy with candidate models. Judge routing is supported for responses, completions, transcriptions, and TTS. All configured models must be active when written; revoked candidates are filtered at request time, while an unavailable judge is an explicit error.
|
|
290
|
+
* Stores either the existing direct `{ endpoint → model_id }` alias or a judge policy with candidate models. Judge routing is supported for responses, completions, transcriptions, and TTS. The judge must be a non-reasoning text LLM. All configured models must be active when written; revoked candidates are filtered at request time, while an unavailable judge is an explicit error.
|
|
291
291
|
*/
|
|
292
292
|
async putOrgAutoModel(
|
|
293
293
|
request: operations.PutOrgAutoModelRequest,
|