@ai-sdk/provider 3.0.0-beta.17 → 3.0.0-beta.18
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 +6 -0
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1371,7 +1371,7 @@ some settings might not be supported, which can lead to suboptimal results.
|
|
|
1371
1371
|
*/
|
|
1372
1372
|
type LanguageModelV3CallWarning = {
|
|
1373
1373
|
type: 'unsupported-setting';
|
|
1374
|
-
setting:
|
|
1374
|
+
setting: Exclude<keyof LanguageModelV3CallOptions, 'prompt'> | (string & {});
|
|
1375
1375
|
details?: string;
|
|
1376
1376
|
} | {
|
|
1377
1377
|
type: 'unsupported-tool';
|
|
@@ -1404,6 +1404,9 @@ type LanguageModelV3File = {
|
|
|
1404
1404
|
be returned as binary data.
|
|
1405
1405
|
*/
|
|
1406
1406
|
data: string | Uint8Array;
|
|
1407
|
+
/**
|
|
1408
|
+
* Optional provider-specific metadata for the file part.
|
|
1409
|
+
*/
|
|
1407
1410
|
providerMetadata?: SharedV3ProviderMetadata;
|
|
1408
1411
|
};
|
|
1409
1412
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1371,7 +1371,7 @@ some settings might not be supported, which can lead to suboptimal results.
|
|
|
1371
1371
|
*/
|
|
1372
1372
|
type LanguageModelV3CallWarning = {
|
|
1373
1373
|
type: 'unsupported-setting';
|
|
1374
|
-
setting:
|
|
1374
|
+
setting: Exclude<keyof LanguageModelV3CallOptions, 'prompt'> | (string & {});
|
|
1375
1375
|
details?: string;
|
|
1376
1376
|
} | {
|
|
1377
1377
|
type: 'unsupported-tool';
|
|
@@ -1404,6 +1404,9 @@ type LanguageModelV3File = {
|
|
|
1404
1404
|
be returned as binary data.
|
|
1405
1405
|
*/
|
|
1406
1406
|
data: string | Uint8Array;
|
|
1407
|
+
/**
|
|
1408
|
+
* Optional provider-specific metadata for the file part.
|
|
1409
|
+
*/
|
|
1407
1410
|
providerMetadata?: SharedV3ProviderMetadata;
|
|
1408
1411
|
};
|
|
1409
1412
|
|