Skip to content

Commit a5f7400

Browse files
committed
fix typo
1 parent b6c9572 commit a5f7400

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ from openai import AsyncOpenAI
1717
from agents import set_default_openai_client
1818

1919
custom_client = AsyncOpenAI(base_url="...", api_key="...")
20-
set_default_openai_client(client)
20+
set_default_openai_client(custom_client)
2121
```
2222

2323
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.

0 commit comments

Comments
 (0)