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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Merge branch 'main' into heroku-llms
Timothy Lowrimore94273dc8b72c
diff --cc litellm/constants.pyindex 4bbf6c40505,b25e2ff0fb9..c214926305a--- a/litellm/constants.py+++ b/litellm/constants.py@@@ -279,7 -279,8 +279,9 @@@ LITELLM_CHAT_PROVIDERS ="dashscope","moonshot","v0",+ "heroku",+ "morph",+ "lambda_ai",]LITELLM_EMBEDDING_PROVIDERS_SUPPORTING_INPUT_ARRAY_OF_TOKENS = [diff --cc litellm/types/utils.pyindex 899b15a78fb,c5677074f9b..8eeafa57667--- a/litellm/types/utils.py+++ b/litellm/types/utils.py@@@ -2313,8 -2316,9 +2316,10 @@@ class LlmProviders(str, Enum)LLAMA = "meta_llama"NSCALE = "nscale"PG_VECTOR = "pg_vector"+ HYPERBOLIC = "hyperbolic"RECRAFT = "recraft"+ HEROKU = "heroku"+ AUTO_ROUTER = "auto_router"# Create a set of all provider values for quick lookupdiff --cc litellm/utils.pyindex 9f8b2dcc587,9a618a49a1e..ebed5a601f6--- a/litellm/utils.py+++ b/litellm/utils.py@@@ -6880,8 -6912,8 +6912,10 @@@ class ProviderConfigManagerreturn litellm.OpenAIGPTConfig()elif litellm.LlmProviders.NSCALE == provider:return litellm.NscaleConfig()+ elif litellm.LlmProviders.HEROKU == provider:+ return litellm.HerokuChatConfig()+ elif litellm.LlmProviders.HYPERBOLIC == provider:+ return litellm.HyperbolicChatConfig()return None@staticmethod