@ai-sdk/provider
Advanced tools
+6
-0
| # @ai-sdk/provider | ||
| ## 4.0.0-beta.12 | ||
| ### Patch Changes | ||
| - ff5eba1: feat: roll `image-*` tool output types into their equivalent `file-*` types | ||
| ## 4.0.0-beta.11 | ||
@@ -4,0 +10,0 @@ |
+1
-1
| { | ||
| "name": "@ai-sdk/provider", | ||
| "version": "4.0.0-beta.11", | ||
| "version": "4.0.0-beta.12", | ||
| "type": "module", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -378,32 +378,2 @@ import { JSONValue } from '../../json-value/json-value'; | ||
| /** | ||
| * Provider-specific options. | ||
| */ | ||
| providerOptions?: SharedV4ProviderOptions; | ||
| } | ||
| | { | ||
| type: 'file-reference'; | ||
| /** | ||
| * Provider-specific references for the file. | ||
| * The key is the provider name, e.g. 'openai' or 'anthropic'. | ||
| */ | ||
| providerReference: SharedV4ProviderReference; | ||
| /** | ||
| * Provider-specific options. | ||
| */ | ||
| providerOptions?: SharedV4ProviderOptions; | ||
| } | ||
| | { | ||
| /** | ||
| * Images that are referenced using base64 encoded data. | ||
| */ | ||
| type: 'image-data'; | ||
| /** | ||
| * Base-64 encoded image data. | ||
| */ | ||
| data: string; | ||
| /** | ||
| * IANA media type. | ||
@@ -420,25 +390,6 @@ * @see https://www.iana.org/assignments/media-types/media-types.xhtml | ||
| | { | ||
| /** | ||
| * Images that are referenced using a URL. | ||
| */ | ||
| type: 'image-url'; | ||
| type: 'file-reference'; | ||
| /** | ||
| * URL of the image. | ||
| */ | ||
| url: string; | ||
| /** | ||
| * Provider-specific options. | ||
| */ | ||
| providerOptions?: SharedV4ProviderOptions; | ||
| } | ||
| | { | ||
| /** | ||
| * Images that are referenced using a provider reference. | ||
| */ | ||
| type: 'image-file-reference'; | ||
| /** | ||
| * Provider-specific references for the image file. | ||
| * Provider-specific references for the file. | ||
| * The key is the provider name, e.g. 'openai' or 'anthropic'. | ||
@@ -445,0 +396,0 @@ */ |
Sorry, the diff of this file is too big to display
517305
-0.43%14334
-0.58%