mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
Merge pull request #789 from PrathamSoni/psoni2002/fix_async
add custom open ai models to asyncio call
This commit is contained in:
commit
8f10d1a3e3
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
Reference in a new issue