@ai-sdk/gateway 2.0.123 → 2.0.124

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.124
4
+
5
+ ### Patch Changes
6
+
7
+ - 8ea0ce4: feat(provider/gateway): add `has` provider option for model capability filtering, supporting `'implicit-caching'` and `'vision'` (image input)
8
+
3
9
  ## 2.0.123
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -531,6 +531,7 @@ declare const gatewayProviderOptions: _ai_sdk_provider_utils.LazyValidator<{
531
531
  providerTimeouts?: {
532
532
  byok?: Record<string, number> | undefined;
533
533
  } | undefined;
534
+ has?: ("implicit-caching" | "vision")[] | undefined;
534
535
  }>;
535
536
  type GatewayProviderOptions = InferValidator<typeof gatewayProviderOptions>;
536
537
 
package/dist/index.d.ts CHANGED
@@ -531,6 +531,7 @@ declare const gatewayProviderOptions: _ai_sdk_provider_utils.LazyValidator<{
531
531
  providerTimeouts?: {
532
532
  byok?: Record<string, number> | undefined;
533
533
  } | undefined;
534
+ has?: ("implicit-caching" | "vision")[] | undefined;
534
535
  }>;
535
536
  type GatewayProviderOptions = InferValidator<typeof gatewayProviderOptions>;
536
537
 
package/dist/index.js CHANGED
@@ -1310,7 +1310,7 @@ async function getVercelRequestId() {
1310
1310
  }
1311
1311
 
1312
1312
  // src/version.ts
1313
- var VERSION = true ? "2.0.123" : "0.0.0-test";
1313
+ var VERSION = true ? "2.0.124" : "0.0.0-test";
1314
1314
 
1315
1315
  // src/gateway-provider.ts
1316
1316
  var AI_GATEWAY_PROTOCOL_VERSION = "0.0.1";
package/dist/index.mjs CHANGED
@@ -1336,7 +1336,7 @@ async function getVercelRequestId() {
1336
1336
  }
1337
1337
 
1338
1338
  // src/version.ts
1339
- var VERSION = true ? "2.0.123" : "0.0.0-test";
1339
+ var VERSION = true ? "2.0.124" : "0.0.0-test";
1340
1340
 
1341
1341
  // src/gateway-provider.ts
1342
1342
  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.123",
4
+ "version": "2.0.124",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",