mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
add custom open ai models to asyncio call
This commit is contained in:
parent
86f9bb0af6
commit
2f37baa690
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ async def acompletion(*args, **kwargs):
|
|||
_, custom_llm_provider, _, _ = get_llm_provider(model=model, api_base=kwargs.get("api_base", None))
|
||||
|
||||
|
||||
if (custom_llm_provider == "openai" or custom_llm_provider == "azure"): # currently implemented aiohttp calls for just azure and openai, soon all.
|
||||
if (custom_llm_provider == "openai" or custom_llm_provider == "azure" or custom_llm_provider == "custom_openai"): # currently implemented aiohttp calls for just azure and openai, soon all.
|
||||
if kwargs.get("stream", False):
|
||||
response = completion(*args, **kwargs)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue