vercel-api-js 1.28.1 → 1.28.2
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/dist/index.cjs +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{schemas-zd2gnt1k.cjs → schemas-bz0xlleo.cjs} +2 -1
- package/dist/{schemas-nfhcw9g3.js → schemas-kudyayn3.js} +2 -1
- package/dist/schemas.cjs +1 -1
- package/dist/schemas.d.mts +2 -1
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/types.cjs +1 -0
- package/dist/types.d.mts +3 -2
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +1 -0
- package/package.json +1 -1
|
@@ -70,6 +70,7 @@ const aiGatewayVirtualModelConfigSchema = z__namespace.object({
|
|
|
70
70
|
has: z__namespace.array(z__namespace.enum([
|
|
71
71
|
"implicit-caching",
|
|
72
72
|
"reasoning",
|
|
73
|
+
"structured-output",
|
|
73
74
|
"tool-use",
|
|
74
75
|
"vision"
|
|
75
76
|
])).optional().describe("Limit providers to those with these features."),
|
|
@@ -100,7 +101,7 @@ const aiGatewayVirtualModelConfigSchema = z__namespace.object({
|
|
|
100
101
|
models: z__namespace.array(z__namespace.union([
|
|
101
102
|
z__namespace.string(),
|
|
102
103
|
z__namespace.object({
|
|
103
|
-
|
|
104
|
+
intelligence: z__namespace.number().optional().describe("Highest task level the member handles, in [0, 1]. Read by the intelligence selector."),
|
|
104
105
|
slug: z__namespace.string()
|
|
105
106
|
}).strict(),
|
|
106
107
|
z__namespace.object({
|
|
@@ -50,6 +50,7 @@ const aiGatewayVirtualModelConfigSchema = z.object({
|
|
|
50
50
|
has: z.array(z.enum([
|
|
51
51
|
"implicit-caching",
|
|
52
52
|
"reasoning",
|
|
53
|
+
"structured-output",
|
|
53
54
|
"tool-use",
|
|
54
55
|
"vision"
|
|
55
56
|
])).optional().describe("Limit providers to those with these features."),
|
|
@@ -80,7 +81,7 @@ const aiGatewayVirtualModelConfigSchema = z.object({
|
|
|
80
81
|
models: z.array(z.union([
|
|
81
82
|
z.string(),
|
|
82
83
|
z.object({
|
|
83
|
-
|
|
84
|
+
intelligence: z.number().optional().describe("Highest task level the member handles, in [0, 1]. Read by the intelligence selector."),
|
|
84
85
|
slug: z.string()
|
|
85
86
|
}).strict(),
|
|
86
87
|
z.object({
|
package/dist/schemas.cjs
CHANGED
package/dist/schemas.d.mts
CHANGED
|
@@ -34,6 +34,7 @@ declare const aiGatewayVirtualModelConfigSchema: z.ZodObject<{
|
|
|
34
34
|
has: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
35
35
|
"implicit-caching": "implicit-caching";
|
|
36
36
|
reasoning: "reasoning";
|
|
37
|
+
"structured-output": "structured-output";
|
|
37
38
|
"tool-use": "tool-use";
|
|
38
39
|
vision: "vision";
|
|
39
40
|
}>>>;
|
|
@@ -59,7 +60,7 @@ declare const aiGatewayVirtualModelConfigSchema: z.ZodObject<{
|
|
|
59
60
|
instanceId: z.ZodOptional<z.ZodString>;
|
|
60
61
|
kind: z.ZodString;
|
|
61
62
|
models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
62
|
-
|
|
63
|
+
intelligence: z.ZodOptional<z.ZodNumber>;
|
|
63
64
|
slug: z.ZodString;
|
|
64
65
|
}, z.core.$strict>, z.ZodObject<{
|
|
65
66
|
model: z.ZodString;
|