File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
docs/src/content/docs/extensions Expand file tree Collapse file tree 1 file changed +6
-3
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
30302 . Choose your desired model package from the [ Vercel's AI SDK] ( https://sdk.vercel.ai/docs/models/overview ) and install it:
3131
3232 ``` bash
33- npm install @ai-sdk/openai@ " ^1.0.0 "
33+ npm install @ai-sdk/openai
3434 ```
3535
36363 . Import the adapter and model to connect to your agent :
@@ -49,8 +49,11 @@ of supported models that can be brought into the Agents SDK through this adapter
4949</Steps >
5050
5151<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.
52+ We currently support ai-sdk's model provider v2 modules, which are compatible
53+ with Vercel AI SDK v5. If you have a specific reason to continue using the v1
54+ model providers, you can copy the module from
55+ https://github.com/openai/openai-agents-js/tree/main/examples/ai-sdk-v1 and
56+ include it in your project.
5457</Aside >
5558
5659## Example
You can’t perform that action at this time.
0 commit comments