Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a5f7400

Browse files
committedMar 12, 2025
fix typo
1 parent b6c9572 commit a5f7400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎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)
Please sign in to comment.