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]

fix: fix import

Krrish Dholakiaa8e2d24d3a3d
diff --git a/litellm/utils.py b/litellm/utils.py
index a20bd904d66..423f3cfa79e 100644
--- a/litellm/utils.py
+++ b/litellm/utils.py
@@ -107,7 +107,6 @@ from litellm.litellm_core_utils.llm_request_utils import _ensure_extra_body_is_s
from litellm.litellm_core_utils.llm_response_utils.convert_dict_to_response import (
LiteLLMResponseObjectHandler,
_handle_invalid_parallel_tool_calls,
- _parse_content_for_reasoning,
convert_to_model_response_object,
convert_to_streaming_response,
convert_to_streaming_response_async,
@@ -122,6 +121,9 @@ from litellm.litellm_core_utils.llm_response_utils.get_headers import (
from litellm.litellm_core_utils.llm_response_utils.response_metadata import (
ResponseMetadata,
)
+from litellm.litellm_core_utils.prompt_templates.common_utils import (
+ _parse_content_for_reasoning,
+)
from litellm.litellm_core_utils.redact_messages import (
LiteLLMLoggingObject,
redact_message_input_output_from_logging,