ai-retry 1.0.0 → 1.0.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 +13 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,8 +19,20 @@ It supports two types of retries:
|
|
|
19
19
|
|
|
20
20
|
### Installation
|
|
21
21
|
|
|
22
|
+
This library supports both AI SDK v5 and v6. The main branch reflects the latest stable version for AI SDK v6. See the [v0 branch](https://github.com/zirkelc/ai-retry/tree/v0) for documentation.
|
|
23
|
+
|
|
24
|
+
> [!WARNING]
|
|
25
|
+
> Version compatibility:
|
|
26
|
+
>
|
|
27
|
+
> - Use `ai-retry` version 0.x for AI SDK v5.
|
|
28
|
+
> - Use `ai-retry` version 1.x for AI SDK v6.
|
|
29
|
+
|
|
22
30
|
```bash
|
|
23
|
-
|
|
31
|
+
# AI SDK v5
|
|
32
|
+
npm install ai-retry@0
|
|
33
|
+
|
|
34
|
+
# AI SDK v6
|
|
35
|
+
npm install ai-retry@1
|
|
24
36
|
```
|
|
25
37
|
|
|
26
38
|
### Usage
|