Sign In

@ai-sdk/gateway

Package Overview
Dependencies
Maintainers
3
Versions
662
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
4.0.36
to
4.0.37
+2
-2
dist/index.d.ts

@@ -843,5 +843,5 @@ import { LanguageModelV4, ProviderV4, EmbeddingModelV4, ImageModelV4, Experimental_VideoModelV4, RerankingModelV4, SpeechModelV4, TranscriptionModelV4, Experimental_RealtimeFactoryV4, TypeValidationError } from '@ai-sdk/provider';

* Restrict routing to models that have all of the given capabilities.
* Currently supports `'implicit-caching'`.
* Currently supports `'implicit-caching'` and `'vision'` (image input).
*/
has?: Array<'implicit-caching'>;
has?: Array<'implicit-caching' | 'vision'>;
/** Array of model slugs specifying fallback models to use in order. */

@@ -848,0 +848,0 @@ models?: string[];

{
"name": "@ai-sdk/gateway",
"private": false,
"version": "4.0.36",
"version": "4.0.37",
"type": "module",

@@ -6,0 +6,0 @@ "license": "Apache-2.0",

@@ -20,5 +20,5 @@ // https://vercel.com/docs/ai-gateway/provider-options

* Restrict routing to models that have all of the given capabilities.
* Currently supports `'implicit-caching'`.
* Currently supports `'implicit-caching'` and `'vision'` (image input).
*/
has?: Array<'implicit-caching'>;
has?: Array<'implicit-caching' | 'vision'>;

@@ -25,0 +25,0 @@ /** Array of model slugs specifying fallback models to use in order. */

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet