@ai-sdk/provider 2.0.3 → 2.0.4
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 +5 -0
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @ai-sdk/provider
|
|
2
2
|
|
|
3
|
+
## 2.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c2089a9: Retry unclassified empty image results, preserve completed-attempt diagnostics, add provider-independent result retryability classification, preserve it through the AI Gateway, and mark Google Vertex RAI-filtered results as terminal.
|
|
8
|
+
|
|
3
9
|
## 2.0.3
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -496,6 +496,11 @@ type ImageModelV2 = {
|
|
|
496
496
|
*/
|
|
497
497
|
images: Array<string> | Array<Uint8Array>;
|
|
498
498
|
/**
|
|
499
|
+
Whether an unsuccessful result, such as an empty image result, can be
|
|
500
|
+
retried. When omitted, the result is unclassified.
|
|
501
|
+
*/
|
|
502
|
+
isRetryable?: boolean;
|
|
503
|
+
/**
|
|
499
504
|
Warnings for the call, e.g. unsupported settings.
|
|
500
505
|
*/
|
|
501
506
|
warnings: Array<ImageModelV2CallWarning>;
|
package/dist/index.d.ts
CHANGED
|
@@ -496,6 +496,11 @@ type ImageModelV2 = {
|
|
|
496
496
|
*/
|
|
497
497
|
images: Array<string> | Array<Uint8Array>;
|
|
498
498
|
/**
|
|
499
|
+
Whether an unsuccessful result, such as an empty image result, can be
|
|
500
|
+
retried. When omitted, the result is unclassified.
|
|
501
|
+
*/
|
|
502
|
+
isRetryable?: boolean;
|
|
503
|
+
/**
|
|
499
504
|
Warnings for the call, e.g. unsupported settings.
|
|
500
505
|
*/
|
|
501
506
|
warnings: Array<ImageModelV2CallWarning>;
|