From 6a0f37836b8154c68fe9677dcb4f6a16459f8959 Mon Sep 17 00:00:00 2001 From: Dominik Kundel Date: Tue, 3 Jun 2025 13:24:34 -0700 Subject: [PATCH] docs(ai-sdk): fix installation instructions --- docs/src/content/docs/extensions/ai-sdk.mdx | 10 +++++----- docs/src/content/docs/ja/extensions/ai-sdk.mdx | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/src/content/docs/extensions/ai-sdk.mdx b/docs/src/content/docs/extensions/ai-sdk.mdx index 3a5146b4..2c035da8 100644 --- a/docs/src/content/docs/extensions/ai-sdk.mdx +++ b/docs/src/content/docs/extensions/ai-sdk.mdx @@ -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'; @@ -14,7 +14,7 @@ import aiSdkSetupExample from '../../../../../examples/docs/extensions/ai-sdk-se 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 @@ -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: diff --git a/docs/src/content/docs/ja/extensions/ai-sdk.mdx b/docs/src/content/docs/ja/extensions/ai-sdk.mdx index 104b9a7a..9e160a20 100644 --- a/docs/src/content/docs/ja/extensions/ai-sdk.mdx +++ b/docs/src/content/docs/ja/extensions/ai-sdk.mdx @@ -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'; @@ -12,7 +12,7 @@ import aiSdkSetupExample from '../../../../../../examples/docs/extensions/ai-sdk からご報告ください。迅速に対応します。 -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 に組み込むことができます。 ## セットアップ @@ -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. エージェントに接続するためにアダプターとモデルをインポートします: