Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Merge branch 'main' into litellm_async_cohere_calls

Krish Dholakia653aefde40ac
diff --cc litellm/main.py
index 528cbf07104,6242393929e..429efb6c09a
--- a/litellm/main.py
+++ b/litellm/main.py
@@@ -3114,7 -3114,7 +3114,8 @@@ async def aembedding(*args, **kwargs) -
or custom_llm_provider == "vertex_ai"
or custom_llm_provider == "databricks"
or custom_llm_provider == "watsonx"
+ or custom_llm_provider == "cohere"
+ or custom_llm_provider == "huggingface"
): # currently implemented aiohttp calls for just azure and openai, soon all.
# Await normally
init_response = await loop.run_in_executor(None, func_with_context)