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
cleanup
Alex Shoop93e127c2f375
diff --git a/litellm/utils.py b/litellm/utils.pyindex 8b2b7bffb58..d4df9b206b5 100644--- a/litellm/utils.py+++ b/litellm/utils.py@@ -59,12 +59,6 @@ import litellm.litellm_core_utils.json_validation_ruleimport litellm.llmsimport litellm.llms.geminifrom litellm._uuid import uuid-# Import cached imports utilities-from litellm.litellm_core_utils.cached_imports import (- get_coroutine_checker,- get_litellm_logging_class,- get_set_callbacks,-)from litellm.caching._internal_lru_cache import lru_cache_wrapperfrom litellm.caching.caching import DualCachefrom litellm.caching.caching_handler import CachingHandlerResponse, LLMCachingHandler@@ -87,6 +81,13 @@ from litellm.integrations.custom_logger import CustomLoggerfrom litellm.integrations.vector_store_integrations.base_vector_store import (BaseVectorStore,)++# Import cached imports utilities+from litellm.litellm_core_utils.cached_imports import (+ get_coroutine_checker,+ get_litellm_logging_class,+ get_set_callbacks,+)from litellm.litellm_core_utils.core_helpers import (map_finish_reason,process_response_headers,