From 0460593466e298e6e489bb9bd47bb5dcc1d59f83 Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Wed, 27 May 2026 00:36:42 +0000 Subject: [PATCH] fix(types): align OutputItemDoneEvent sequence_number default to 0 --- litellm/types/llms/openai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/types/llms/openai.py b/litellm/types/llms/openai.py index e89fe94f955..535510c2a0a 100644 --- a/litellm/types/llms/openai.py +++ b/litellm/types/llms/openai.py @@ -1518,7 +1518,7 @@ class OutputItemAddedEvent(BaseLiteLLMOpenAIResponseObject): class OutputItemDoneEvent(BaseLiteLLMOpenAIResponseObject): type: Literal[ResponsesAPIStreamEvents.OUTPUT_ITEM_DONE] output_index: int - sequence_number: int = 1 + sequence_number: int = 0 item: BaseLiteLLMOpenAIResponseObject