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.
@@ -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
- capability: z__namespace.number().optional().describe("Highest task level the member handles, in [0, 1]. Read by the capability selector."),
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
- capability: z.number().optional().describe("Highest task level the member handles, in [0, 1]. Read by the capability selector."),
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
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
- var schemas = require('./schemas-zd2gnt1k.cjs');
3
+ var schemas = require('./schemas-bz0xlleo.cjs');
4
4
 
5
5
 
6
6
 
@@ -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
- capability: z.ZodOptional<z.ZodNumber>;
63
+ intelligence: z.ZodOptional<z.ZodNumber>;
63
64
  slug: z.ZodString;
64
65
  }, z.core.$strict>, z.ZodObject<{
65
66
  model: z.ZodString;