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 fix(responses): send bridged system prompts too long for instructions as input (#52964) 2026-11-20 11:56:47 -08:00
safeguards fix(databricks): use the native Anthropic route for Claude /v1/messages (#46091) 2026-10-18 02:44:38 +00:00
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 feat(anthropic): pick the beta allowlist row per deployment and surface input_transformations (#49689) 2026-11-03 01:55:26 +00:00
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 fix(proxy): stream a guardrail block on /v1/messages as Anthropic events (#49010) 2026-10-29 05:32:55 -07:00
test_guardrail_long_tool_names_wire.py refactor(anthropic): rename llms/anthropic/pass_through to llms/anthropic/messages (#48510) 2026-10-27 10:08:25 -07:00
test_guardrail_rewrite_keeps_turn_fields_wire.py fix(guardrails): keep tool_result is_error and system row output_config through /v1/messages guardrail rewrites (#52828) 2026-11-19 17:26:35 -08:00
test_message_threads_wire.py feat(anthropic): forward message threads on native /v1/messages (#50976) 2026-11-10 18:33:54 -08:00
test_messages_additional_drop_params_wire.py fix(anthropic-messages): apply additional_drop_params before the unsupported param checks (#50753) 2026-11-10 01:35:35 +00:00
test_tool_result_text_wire.py feat(mistral): add native upstream token counting support (#50652) (#50653) 2026-11-14 03:19:57 -05:00