Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/src/content/docs/extensions/ai-sdk.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Using any model with the Vercel AI SDK
description: Connect your Agents SDK agents to any model through the Vercel AI SDK
title: Using any model with the Vercel's AI SDK
description: Connect your Agents SDK agents to any model through the Vercel's AI SDK
---

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

Out of the box the Agents SDK works with OpenAI models through the Responses API or Chat
Completions API. However, if you would like to use another model, the [Vercel AI SDK](https://sdk.vercel.ai/) offers a range
Completions API. However, if you would like to use another model, the [Vercel's AI SDK](https://sdk.vercel.ai/) offers a range
of supported models that can be brought into the Agents SDK through this adapter.

## Setup
Expand All @@ -27,10 +27,10 @@ of supported models that can be brought into the Agents SDK through this adapter
npm install @openai/agents-extensions
```

2. Choose your desired model package from the [Vercel AI SDK](https://sdk.vercel.ai/docs/models/overview) and install it:
2. Choose your desired model package from the [Vercel's AI SDK](https://sdk.vercel.ai/docs/models/overview) and install it:

```bash
npm install @vercel/ai
npm install @ai-sdk/openai
```

3. Import the adapter and model to connect to your agent:
Expand Down
8 changes: 4 additions & 4 deletions docs/src/content/docs/ja/extensions/ai-sdk.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: AI SDK で任意モデルを指定
description: Connect your Agents SDK agents to any model through the Vercel AI SDK
description: Connect your Agents SDK agents to any model through the Vercel's AI SDK
---

import { Aside, Steps, Code } from '@astrojs/starlight/components';
Expand All @@ -12,7 +12,7 @@ import aiSdkSetupExample from '../../../../../../examples/docs/extensions/ai-sdk
からご報告ください。迅速に対応します。
</Aside>

Agents SDK は、標準で Responses API または Chat Completions API を通じて OpenAI モデルと動作します。別のモデルを使用したい場合は、[Vercel AI SDK](https://sdk.vercel.ai/) がサポートするさまざまなモデルを、このアダプター経由で Agents SDK に組み込むことができます。
Agents SDK は、標準で Responses API または Chat Completions API を通じて OpenAI モデルと動作します。別のモデルを使用したい場合は、[Vercel's AI SDK](https://sdk.vercel.ai/) がサポートするさまざまなモデルを、このアダプター経由で Agents SDK に組み込むことができます。

## セットアップ

Expand All @@ -24,10 +24,10 @@ Agents SDK は、標準で Responses API または Chat Completions API を通
npm install @openai/agents-extensions
```

2. [Vercel AI SDK](https://sdk.vercel.ai/docs/models/overview) から使用したいモデルパッケージを選択してインストールします:
2. [Vercel's AI SDK](https://sdk.vercel.ai/docs/models/overview) から使用したいモデルパッケージを選択してインストールします:

```bash
npm install @vercel/ai
npm install @ai-sdk/openai
```

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