Skip to content

Commit 8d6995f

Browse files
docs(ai-sdk): fix installation instructions (#3)
1 parent fc45340 commit 8d6995f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

docs/src/content/docs/extensions/ai-sdk.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

66
import { Aside, Steps, Code } from '@astrojs/starlight/components';
@@ -14,7 +14,7 @@ import aiSdkSetupExample from '../../../../../examples/docs/extensions/ai-sdk-se
1414
</Aside>
1515

1616
Out 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
1818
of 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

3636
3. Import the adapter and model to connect to your agent:

docs/src/content/docs/ja/extensions/ai-sdk.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 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

66
import { 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

3333
3. エージェントに接続するためにアダプターとモデルをインポートします:

0 commit comments

Comments
 (0)