From 586cf654f96ea029fb99473bfad9163ff535ec2e Mon Sep 17 00:00:00 2001 From: Zhibo Zhang Date: Sun, 1 Nov 2026 15:27:13 +0800 Subject: [PATCH] docs(responses): document phase stream metadata state Signed-off-by: Zhibo Zhang <24061721@hdu.edu.cn> --- .../litellm_responses_transformation/transformation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/completion_extras/litellm_responses_transformation/transformation.py b/litellm/completion_extras/litellm_responses_transformation/transformation.py index dfe30d7db51..6001e6c2074 100644 --- a/litellm/completion_extras/litellm_responses_transformation/transformation.py +++ b/litellm/completion_extras/litellm_responses_transformation/transformation.py @@ -2054,6 +2054,7 @@ class OpenAiResponsesToChatCompletionStreamIterator(BaseModelResponseIterator): Args: parsed_chunk: Dict containing the Responses API event chunk tool_call_index_map: Per-stream output_index -> sequential tool_call index map + message_phase_by_output_index: Per-stream Responses message output_index -> phase mapping replays_openai_history: Record the completed output's item sequence for the next turn structured_output: Only the first message item became content reasoning_summary_streamed: Whether earlier chunks already streamed reasoning summary text