Skip to content

Commit 0c278e2

Browse files
StuBehanybidois
andcommitted
docs(examples): note ToolLoopAgent needs ai v6+
Co-Authored-By: Yannick Bidois <yannick@lekanoe.com>
1 parent 9358d62 commit 0c278e2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎examples/ai-sdk-integration.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
*
99
* Compatible with AI SDK v5–v7 (`ai` peer `>=5.0.108 <8.0.0`). Uses
1010
* `stepCountIs`, which exists in v5/v6 and remains available as an alias in v7.
11-
* AI SDK v7 requires Node.js 22+. You can also use the `ToolLoopAgent` class
12-
* for more explicit agent functionality.
11+
* AI SDK v7 requires Node.js 22+. On v6+ you can also use the `ToolLoopAgent`
12+
* class for more explicit agent functionality; v5 has no such export.
1313
*/
1414

1515
import process from 'node:process';

0 commit comments

Comments
 (0)