@ai-sdk/gateway
Advanced tools
+3
-3
| { | ||
| "name": "@ai-sdk/gateway", | ||
| "private": false, | ||
| "version": "4.0.5", | ||
| "version": "4.0.6", | ||
| "type": "module", | ||
@@ -34,4 +34,4 @@ "license": "Apache-2.0", | ||
| "@vercel/oidc": "3.2.0", | ||
| "@ai-sdk/provider": "4.0.0", | ||
| "@ai-sdk/provider-utils": "5.0.1" | ||
| "@ai-sdk/provider": "4.0.1", | ||
| "@ai-sdk/provider-utils": "5.0.2" | ||
| }, | ||
@@ -38,0 +38,0 @@ "devDependencies": { |
@@ -51,2 +51,4 @@ import { | ||
| image, | ||
| frameImages, | ||
| inputReferences, | ||
| providerOptions, | ||
@@ -89,2 +91,13 @@ headers, | ||
| ...(image && { image: maybeEncodeVideoFile(image) }), | ||
| ...(frameImages && { | ||
| frameImages: frameImages.map(frame => ({ | ||
| ...frame, | ||
| image: maybeEncodeVideoFile(frame.image), | ||
| })), | ||
| }), | ||
| ...(inputReferences && { | ||
| inputReferences: inputReferences.map(reference => | ||
| maybeEncodeVideoFile(reference), | ||
| ), | ||
| }), | ||
| }, | ||
@@ -91,0 +104,0 @@ successfulResponseHandler: async ({ |
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 too big to display
574434
0.3%8124
0.32%+ Added
+ Added
- Removed
- Removed
Updated
Updated