ai-retry 1.11.0 → 1.11.1
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/README.md +7 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -25,11 +25,18 @@ Two retry shapes are supported:
|
|
|
25
25
|
>
|
|
26
26
|
> - `ai-retry@0.x` — AI SDK v5
|
|
27
27
|
> - `ai-retry@1.x` — AI SDK v6
|
|
28
|
+
> - `ai-retry@beta` — AI SDK v7 (beta, see the [`ai-sdk-v7` branch](https://github.com/zirkelc/ai-retry/tree/ai-sdk-v7))
|
|
28
29
|
|
|
29
30
|
```bash
|
|
30
31
|
npm install ai-retry
|
|
31
32
|
```
|
|
32
33
|
|
|
34
|
+
A beta release for AI SDK v7 is available on the [`ai-sdk-v7` branch](https://github.com/zirkelc/ai-retry/tree/ai-sdk-v7). Install it with the `beta` tag:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm install ai-retry@beta
|
|
38
|
+
```
|
|
39
|
+
|
|
33
40
|
### Usage
|
|
34
41
|
|
|
35
42
|
> [!NOTE]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-retry",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"description": "Retry and fallback mechanisms for AI SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"@total-typescript/tsconfig": "^1.0.4",
|
|
54
54
|
"@types/node": "^25.0.10",
|
|
55
55
|
"ai": "6.0.50",
|
|
56
|
+
"ai-test-kit": "2.0.0",
|
|
56
57
|
"husky": "^9.1.7",
|
|
57
58
|
"lint-staged": "^16.4.0",
|
|
58
59
|
"msw": "^2.12.7",
|