Fix linting
This commit is contained in:
parent
5f2cd871a8
commit
39540f3f8b
3 changed files with 5 additions and 3 deletions
|
|
@ -89,7 +89,9 @@ def create_openai_async_client(
|
||||||
if base_url is not None:
|
if base_url is not None:
|
||||||
merged_configs["base_url"] = base_url
|
merged_configs["base_url"] = base_url
|
||||||
else:
|
else:
|
||||||
merged_configs["base_url"] = os.environ.get("OPENAI_API_BASE", "https://api.openai.com/v1")
|
merged_configs["base_url"] = os.environ.get(
|
||||||
|
"OPENAI_API_BASE", "https://api.openai.com/v1"
|
||||||
|
)
|
||||||
|
|
||||||
return AsyncOpenAI(**merged_configs)
|
return AsyncOpenAI(**merged_configs)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue