🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@ai-sdk/gateway

Package Overview
Dependencies
Maintainers
3
Versions
623
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ai-sdk/gateway - npm Package Compare versions

Comparing version
2.0.123
to
2.0.124
+6
-0
CHANGELOG.md
# @ai-sdk/gateway
## 2.0.124
### Patch Changes
- 8ea0ce4: feat(provider/gateway): add `has` provider option for model capability filtering, supporting `'implicit-caching'` and `'vision'` (image input)
## 2.0.123

@@ -4,0 +10,0 @@

+1
-0

@@ -534,2 +534,3 @@ import { LanguageModelV2, ProviderV2, EmbeddingModelV2, ImageModelV2, TypeValidationError } from '@ai-sdk/provider';

} | undefined;
has?: ("implicit-caching" | "vision")[] | undefined;
}>;

@@ -536,0 +537,0 @@ type GatewayProviderOptions = InferValidator<typeof gatewayProviderOptions>;

@@ -534,2 +534,3 @@ import { LanguageModelV2, ProviderV2, EmbeddingModelV2, ImageModelV2, TypeValidationError } from '@ai-sdk/provider';

} | undefined;
has?: ("implicit-caching" | "vision")[] | undefined;
}>;

@@ -536,0 +537,0 @@ type GatewayProviderOptions = InferValidator<typeof gatewayProviderOptions>;

+1
-1

@@ -1313,3 +1313,3 @@ "use strict";

// src/version.ts
var VERSION = true ? "2.0.123" : "0.0.0-test";
var VERSION = true ? "2.0.124" : "0.0.0-test";

@@ -1316,0 +1316,0 @@ // src/gateway-provider.ts

@@ -1339,3 +1339,3 @@ // src/gateway-provider.ts

// src/version.ts
var VERSION = true ? "2.0.123" : "0.0.0-test";
var VERSION = true ? "2.0.124" : "0.0.0-test";

@@ -1342,0 +1342,0 @@ // src/gateway-provider.ts

{
"name": "@ai-sdk/gateway",
"private": false,
"version": "2.0.123",
"version": "2.0.124",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "sideEffects": false,