From a5f74008cb2d452b2937d5aa024580a990d2a1a8 Mon Sep 17 00:00:00 2001 From: Junjie_ZHANG Date: Wed, 12 Mar 2025 11:24:12 +0800 Subject: [PATCH] fix typo --- docs/config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config.md b/docs/config.md index c09f8a8f..3cf83730 100644 --- a/docs/config.md +++ b/docs/config.md @@ -17,7 +17,7 @@ from openai import AsyncOpenAI from agents import set_default_openai_client custom_client = AsyncOpenAI(base_url="...", api_key="...") -set_default_openai_client(client) +set_default_openai_client(custom_client) ``` Finally, you can also customize the OpenAI API that is used. By default, we use the OpenAI Responses API. You can override this to use the Chat Completions API by using the [set_default_openai_api()][agents.set_default_openai_api] function.