File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11---
2- title : Using any model with the Vercel AI SDK
3- description : Connect your Agents SDK agents to any model through the Vercel AI SDK
2+ title : Using any model with the Vercel's AI SDK
3+ description : Connect your Agents SDK agents to any model through the Vercel's AI SDK
44---
55
66import { Aside , Steps , Code } from ' @astrojs/starlight/components' ;
@@ -14,7 +14,7 @@ import aiSdkSetupExample from '../../../../../examples/docs/extensions/ai-sdk-se
1414</Aside >
1515
1616Out of the box the Agents SDK works with OpenAI models through the Responses API or Chat
17- Completions API. However, if you would like to use another model, the [ Vercel AI SDK] ( https://sdk.vercel.ai/ ) offers a range
17+ Completions API. However, if you would like to use another model, the [ Vercel's AI SDK] ( https://sdk.vercel.ai/ ) offers a range
1818of supported models that can be brought into the Agents SDK through this adapter.
1919
2020## Setup
@@ -27,10 +27,10 @@ of supported models that can be brought into the Agents SDK through this adapter
2727 npm install @openai/agents-extensions
2828 ```
2929
30- 2 . Choose your desired model package from the [ Vercel AI SDK] ( https://sdk.vercel.ai/docs/models/overview ) and install it:
30+ 2 . 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 @vercel/ai
33+ npm install @ai-sdk/openai
3434 ```
3535
36363 . Import the adapter and model to connect to your agent :
Original file line number Diff line number Diff line change 11---
22title : AI SDK で任意モデルを指定
3- description : Connect your Agents SDK agents to any model through the Vercel AI SDK
3+ description : Connect your Agents SDK agents to any model through the Vercel's AI SDK
44---
55
66import { Aside , Steps , Code } from ' @astrojs/starlight/components' ;
@@ -12,7 +12,7 @@ import aiSdkSetupExample from '../../../../../../examples/docs/extensions/ai-sdk
1212 からご報告ください。迅速に対応します。
1313</Aside >
1414
15- Agents SDK は、標準で Responses API または Chat Completions API を通じて OpenAI モデルと動作します。別のモデルを使用したい場合は、[ Vercel AI SDK] ( https://sdk.vercel.ai/ ) がサポートするさまざまなモデルを、このアダプター経由で Agents SDK に組み込むことができます。
15+ Agents SDK は、標準で Responses API または Chat Completions API を通じて OpenAI モデルと動作します。別のモデルを使用したい場合は、[ Vercel's AI SDK] ( https://sdk.vercel.ai/ ) がサポートするさまざまなモデルを、このアダプター経由で Agents SDK に組み込むことができます。
1616
1717## セットアップ
1818
@@ -24,10 +24,10 @@ Agents SDK は、標準で Responses API または Chat Completions API を通
2424 npm install @openai/agents-extensions
2525 ```
2626
27- 2 . [ Vercel AI SDK] ( https://sdk.vercel.ai/docs/models/overview ) から使用したいモデルパッケージを選択してインストールします:
27+ 2 . [ Vercel's AI SDK] ( https://sdk.vercel.ai/docs/models/overview ) から使用したいモデルパッケージを選択してインストールします:
2828
2929 ``` bash
30- npm install @vercel/ai
30+ npm install @ai-sdk/openai
3131 ```
3232
33333 . エージェントに接続するためにアダプターとモデルをインポートします:
You can’t perform that action at this time.
0 commit comments