@ai-sdk/provider 3.0.15 → 3.0.16
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/src/image-model/v3/image-model-v3.ts +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @ai-sdk/provider
|
|
2
2
|
|
|
3
|
+
## 3.0.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1a4dbb1: Retry unclassified empty image results, preserve retry-attempt accounting, add provider-independent result retryability classification, preserve it through the AI Gateway, and mark Google and Google Vertex content-filtered results as terminal.
|
|
8
|
+
|
|
3
9
|
## 3.0.15
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -765,6 +765,11 @@ type ImageModelV3 = {
|
|
|
765
765
|
* be returned as binary data.
|
|
766
766
|
*/
|
|
767
767
|
images: Array<string> | Array<Uint8Array>;
|
|
768
|
+
/**
|
|
769
|
+
* Whether an unsuccessful result, such as an empty image result, can be
|
|
770
|
+
* retried. When omitted, the result is unclassified.
|
|
771
|
+
*/
|
|
772
|
+
isRetryable?: boolean;
|
|
768
773
|
/**
|
|
769
774
|
* Warnings for the call, e.g. unsupported features.
|
|
770
775
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -765,6 +765,11 @@ type ImageModelV3 = {
|
|
|
765
765
|
* be returned as binary data.
|
|
766
766
|
*/
|
|
767
767
|
images: Array<string> | Array<Uint8Array>;
|
|
768
|
+
/**
|
|
769
|
+
* Whether an unsuccessful result, such as an empty image result, can be
|
|
770
|
+
* retried. When omitted, the result is unclassified.
|
|
771
|
+
*/
|
|
772
|
+
isRetryable?: boolean;
|
|
768
773
|
/**
|
|
769
774
|
* Warnings for the call, e.g. unsupported features.
|
|
770
775
|
*/
|
package/package.json
CHANGED
|
@@ -58,6 +58,12 @@ export type ImageModelV3 = {
|
|
|
58
58
|
*/
|
|
59
59
|
images: Array<string> | Array<Uint8Array>;
|
|
60
60
|
|
|
61
|
+
/**
|
|
62
|
+
* Whether an unsuccessful result, such as an empty image result, can be
|
|
63
|
+
* retried. When omitted, the result is unclassified.
|
|
64
|
+
*/
|
|
65
|
+
isRetryable?: boolean;
|
|
66
|
+
|
|
61
67
|
/**
|
|
62
68
|
* Warnings for the call, e.g. unsupported features.
|
|
63
69
|
*/
|