mirror of https://github.com/aliasrobotics/cai.git
fix typo
This commit is contained in:
parent
e8bccd2d9d
commit
30fb6e57a3
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue