File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
docs/src/content/docs/extensions Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ of supported models that can be brought into the Agents SDK through this adapter
30
30
2 . Choose your desired model package from the [ Vercel's AI SDK] ( https://sdk.vercel.ai/docs/models/overview ) and install it:
31
31
32
32
``` bash
33
- npm install @ai-sdk/openai
33
+ npm install @ai-sdk/openai@ " ^1.0.0 "
34
34
```
35
35
36
36
3 . Import the adapter and model to connect to your agent :
@@ -48,6 +48,11 @@ of supported models that can be brought into the Agents SDK through this adapter
48
48
49
49
</Steps >
50
50
51
+ <Aside type = " caution" >
52
+ Vercel's AI SDK has recently migrated to v2, however openai agent extensions is not yet compatible with v2.
53
+ Therefore v1 versions of Vercel's AI SDK has to be installed.
54
+ </Aside >
55
+
51
56
## Example
52
57
53
58
<Code lang = " typescript" code = { aiSdkSetupExample } title = " AI SDK Setup" />
You can’t perform that action at this time.
0 commit comments