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
add debug logging
Ishaan Jaff278b6fb5f653
diff --git a/litellm/llms/openai/responses/transformation.py b/litellm/llms/openai/responses/transformation.pyindex cecc9efe765..b6ba970ff47 100644--- a/litellm/llms/openai/responses/transformation.py+++ b/litellm/llms/openai/responses/transformation.py@@ -3,6 +3,7 @@ from typing import TYPE_CHECKING, Any, Dict, Optional, Unionimport httpximport litellm+from litellm._logging import verbose_loggerfrom litellm.llms.base_llm.responses.transformation import BaseResponsesAPIConfigfrom litellm.secret_managers.main import get_secret_strfrom litellm.types.llms.openai import (@@ -138,4 +139,5 @@ class OpenAIResponsesAPIConfig(BaseResponsesAPIConfig):Transform a parsed streaming response chunk into a ResponsesAPIStreamingResponse"""# Convert the dictionary to a properly typed ResponsesAPIStreamingResponse+ verbose_logger.debug("Raw OpenAI Chunk=%s", parsed_chunk)return ResponsesAPIStreamingResponse(**parsed_chunk)