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
refactor(model_info): drop litellm._logging import from fallback_generalizations
kerry578167847719
diff --git a/litellm/litellm_core_utils/fallback_generalizations.py b/litellm/litellm_core_utils/fallback_generalizations.pyindex feea52aa0bc..9b5c369b56e 100644--- a/litellm/litellm_core_utils/fallback_generalizations.py+++ b/litellm/litellm_core_utils/fallback_generalizations.py@@ -51,12 +51,12 @@ Rules are compiled and classified once, at install time. The match functions areO(number of rules); callers must only invoke them on a cache miss."""+import loggingimport refrom dataclasses import dataclassfrom typing import Final-from litellm._logging import verbose_logger-+verbose_logger: Final = logging.getLogger("LiteLLM")NAME_FIELD: Final = "name"PATTERN_FIELD: Final = "pattern"MODEL_INFO_FIELD: Final = "model_info"