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
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
33+ npm install @ai-sdk/openai@ " ^1.0.0 "
3434 ```
3535
36363 . 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
4848
4949</Steps >
5050
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+
5156## Example
5257
5358<Code lang = " typescript" code = { aiSdkSetupExample } title = " AI SDK Setup" />
You can’t perform that action at this time.
0 commit comments