litellm/tests/integration/messages_endpoint
devin-ai-integration[bot] 59f7687549
fix(responses): stop reading a cancelled background response on, and free a drained stream without a cycle collection (#54789)
A background response cancelled or deleted through another proxy kept its provider stream open, because the
polling task's cancellation looked like a client disconnect and the stream was read on to its end. The polling
task now asks for a stream that is closed when its consumer leaves

A stream read on after its client left kept a reference to its cancelled grace-period task, whose traceback
pointed back at the stream, so the stream and its log record waited for a cycle collection. The stream now
drops that task when it is settled

Co-authored-by: mateo <277851410+mateo-berri@users.noreply.github.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-27 04:24:01 +00:00
..
chat_bridge fix(router): send /v1/messages message_start live during thinking when retries are on (#54319) 2026-11-25 12:06:26 +00:00
providers fix(router): send /v1/messages message_start live during thinking when retries are on (#54319) 2026-11-25 12:06:26 +00:00
responses_bridge
safeguards
test_anthropic_messages_caller_tools_wire.py fix(guardrails): keep /v1/messages tools the guardrail left unchanged exactly as sent (#53290) 2026-11-24 13:03:14 -08:00
test_beta_gated_fields_wire.py
test_finished_requests_freed_wire.py fix(responses): stop reading a cancelled background response on, and free a drained stream without a cycle collection (#54789) 2026-11-27 04:24:01 +00:00
test_guardrail_block_stream.py
test_guardrail_long_tool_names_wire.py
test_guardrail_rewrite_keeps_turn_fields_wire.py
test_message_threads_wire.py
test_messages_additional_drop_params_wire.py
test_tool_result_text_wire.py