@ai-sdk/gateway 2.0.0 → 2.0.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ai-sdk/gateway
2
2
 
3
+ ## 2.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - f1a8734: feat (provider/gateway): add models provider option for model routing
8
+
3
9
  ## 2.0.0
4
10
 
5
11
  ### Major Changes
package/dist/index.d.mts CHANGED
@@ -117,6 +117,7 @@ declare const gatewayProviderOptions: _ai_sdk_provider_utils.LazyValidator<{
117
117
  order?: string[] | undefined;
118
118
  user?: string | undefined;
119
119
  tags?: string[] | undefined;
120
+ models?: string[] | undefined;
120
121
  }>;
121
122
  type GatewayProviderOptions = InferValidator<typeof gatewayProviderOptions>;
122
123
 
package/dist/index.d.ts CHANGED
@@ -117,6 +117,7 @@ declare const gatewayProviderOptions: _ai_sdk_provider_utils.LazyValidator<{
117
117
  order?: string[] | undefined;
118
118
  user?: string | undefined;
119
119
  tags?: string[] | undefined;
120
+ models?: string[] | undefined;
120
121
  }>;
121
122
  type GatewayProviderOptions = InferValidator<typeof gatewayProviderOptions>;
122
123
 
package/dist/index.js CHANGED
@@ -710,7 +710,7 @@ async function getVercelRequestId() {
710
710
  var import_provider_utils8 = require("@ai-sdk/provider-utils");
711
711
 
712
712
  // src/version.ts
713
- var VERSION = true ? "2.0.0" : "0.0.0-test";
713
+ var VERSION = true ? "2.0.1" : "0.0.0-test";
714
714
 
715
715
  // src/gateway-provider.ts
716
716
  var AI_GATEWAY_PROTOCOL_VERSION = "0.0.1";
package/dist/index.mjs CHANGED
@@ -708,7 +708,7 @@ async function getVercelRequestId() {
708
708
  import { withUserAgentSuffix } from "@ai-sdk/provider-utils";
709
709
 
710
710
  // src/version.ts
711
- var VERSION = true ? "2.0.0" : "0.0.0-test";
711
+ var VERSION = true ? "2.0.1" : "0.0.0-test";
712
712
 
713
713
  // src/gateway-provider.ts
714
714
  var AI_GATEWAY_PROTOCOL_VERSION = "0.0.1";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ai-sdk/gateway",
3
3
  "private": false,
4
- "version": "2.0.0",
4
+ "version": "2.0.1",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",