mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
Merge pull request #2090 from BerriAI/litellm_gemini_streaming_fixes
fix(gemini.py): fix async streaming + add native async completions
This commit is contained in:
commit
24ad5c4f7f
5 changed files with 237 additions and 14 deletions
|
@ -264,6 +264,7 @@ async def acompletion(
|
|||
or custom_llm_provider == "ollama"
|
||||
or custom_llm_provider == "ollama_chat"
|
||||
or custom_llm_provider == "vertex_ai"
|
||||
or custom_llm_provider == "gemini"
|
||||
or custom_llm_provider == "sagemaker"
|
||||
or custom_llm_provider in litellm.openai_compatible_providers
|
||||
): # currently implemented aiohttp calls for just azure, openai, hf, ollama, vertex ai soon all.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue