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
style(model_info): format provider backfill call
kerry71744fb9d19b
diff --git a/litellm/utils.py b/litellm/utils.pyindex 6af66010bd7..aeeec669d24 100644--- a/litellm/utils.py+++ b/litellm/utils.py@@ -5822,9 +5822,7 @@ def _get_model_info_helper(_model_info = Noneif _model_info is not None and key is not None and _model_info.get("mode", "chat") in _BACKFILL_MODES:- fill_missing: Final = match_fill_missing_generalizations(- key, _model_info.get("litellm_provider", "")- )+ fill_missing: Final = match_fill_missing_generalizations(key, _model_info.get("litellm_provider", ""))if fill_missing is not None:_model_info = {**{k: v for k, v in fill_missing.items() if k not in _model_info},