mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-28 00:00:38 +00:00
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> |
||
|---|---|---|
| .. | ||
| chat_bridge | ||
| providers | ||
| responses_bridge | ||
| safeguards | ||
| test_anthropic_messages_caller_tools_wire.py | ||
| test_beta_gated_fields_wire.py | ||
| test_finished_requests_freed_wire.py | ||
| 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 | ||