From 278b6fb5f6531e09373d37d83fb2ec0a949f6b6a Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 11 Mar 2025 23:13:10 -0700 Subject: [PATCH] add debug logging --- litellm/llms/openai/responses/transformation.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm/llms/openai/responses/transformation.py b/litellm/llms/openai/responses/transformation.py index 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, Union import httpx import litellm +from litellm._logging import verbose_logger from litellm.llms.base_llm.responses.transformation import BaseResponsesAPIConfig from litellm.secret_managers.main import get_secret_str from 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)