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]

linting fix

Ishaan Jafferdcfe6dd3d9fc
diff --git a/litellm/litellm_core_utils/litellm_logging.py b/litellm/litellm_core_utils/litellm_logging.py
index 5c22bb4ad98..ea45f45d1c9 100644
--- a/litellm/litellm_core_utils/litellm_logging.py
+++ b/litellm/litellm_core_utils/litellm_logging.py
@@ -3649,8 +3649,6 @@ def _init_custom_logger_compatible_class( # noqa: PLR0915
return callback
# Get global BitBucket config
- import litellm
-
bitbucket_config = getattr(litellm, "global_bitbucket_config", None)
if bitbucket_config is None:
raise ValueError(