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 CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
3
  var components = require('./components-lk8rhlal.cjs');
4
- var schemas = require('./schemas-zd2gnt1k.cjs');
4
+ var schemas = require('./schemas-bz0xlleo.cjs');
5
5
  var types = require('./types.cjs');
6
6
 
7
7
  function formEncoded(data) {
package/dist/index.d.ts CHANGED
@@ -72,6 +72,7 @@ type AiGatewayRouterSelectorOptionBag = {
72
72
  declare const aiGatewayVirtualModelConfigHasEnum: {
73
73
  readonly "implicit-caching": "implicit-caching";
74
74
  readonly reasoning: "reasoning";
75
+ readonly "structured-output": "structured-output";
75
76
  readonly "tool-use": "tool-use";
76
77
  readonly vision: "vision";
77
78
  };
@@ -234,10 +235,10 @@ type AiGatewayVirtualModelConfig = {
234
235
  */
235
236
  models?: (string | {
236
237
  /**
237
- * @description Highest task level the member handles, in [0, 1]. Read by the capability selector.
238
+ * @description Highest task level the member handles, in [0, 1]. Read by the intelligence selector.
238
239
  * @type number | undefined
239
240
  */
240
- capability?: number | undefined;
241
+ intelligence?: number | undefined;
241
242
  slug: string;
242
243
  } | {
243
244
  model: string;
@@ -48175,6 +48176,7 @@ declare const aiGatewayVirtualModelConfigSchema: z.ZodObject<{
48175
48176
  has: z.ZodOptional<z.ZodArray<z.ZodEnum<{
48176
48177
  "implicit-caching": "implicit-caching";
48177
48178
  reasoning: "reasoning";
48179
+ "structured-output": "structured-output";
48178
48180
  "tool-use": "tool-use";
48179
48181
  vision: "vision";
48180
48182
  }>>>;
@@ -48200,7 +48202,7 @@ declare const aiGatewayVirtualModelConfigSchema: z.ZodObject<{
48200
48202
  instanceId: z.ZodOptional<z.ZodString>;
48201
48203
  kind: z.ZodString;
48202
48204
  models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
48203
- capability: z.ZodOptional<z.ZodNumber>;
48205
+ intelligence: z.ZodOptional<z.ZodNumber>;
48204
48206
  slug: z.ZodString;
48205
48207
  }, z.core.$strict>, z.ZodObject<{
48206
48208
  model: z.ZodString;