litellm/tests/unit/responses
mateo 51a1da03cb fix(responses): free a drained stream without a cycle collection
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

Picked from main b3b9036875. The background response half of that commit is left
out, since this line has no cancel or delete of a running background response to read on after

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-27 04:16:26 +00:00
..
litellm_completion_transformation Merge pull request #53768 from owen-hj/litellm_reject_unresolvable_previous_response_id_lts 2026-11-25 13:34:39 +00:00
mcp Merge remote-tracking branch 'origin/lts/1.108.x' into litellm_reject_unresolvable_previous_response_id_lts 2026-11-23 11:19:39 -08:00
__init__.py
test_additional_tools.py
test_custom_tool_call.py
test_dispatch.py refactor(python-bridge): ship a signature base and read the resolved call (#45450) 2026-10-08 17:20:29 -07:00
test_metadata_codex_callback.py
test_no_duplicate_spend_logs.py
test_null_test_fix.py
test_responses_api_bridge_flag.py fix(openai): keep chat-latest names OpenAI doesn't serve on main's handling, and let a Foundry gpt-5 base_model set the param list 2026-11-17 12:42:02 -08:00
test_responses_api_lifecycle.py test: make 77 legacy live tests offline in litellm_utils, router_unit and responses dirs (#45298) 2026-10-08 02:37:55 -07:00
test_responses_api_request_body.py fix(responses): honor per-call custom pricing on the native Responses API path (#48119) 2026-11-21 18:27:20 -08:00
test_responses_prompt_management.py fix(sdk): backport #45961 to lts/1.108.x 2026-11-07 17:55:52 -08:00
test_responses_router_cooldown.py test(responses): inject a refusing transport through the handler's client factory 2026-11-24 02:25:44 +00:00
test_responses_streaming_iterator.py fix(responses): free a drained stream without a cycle collection 2026-11-27 04:16:26 +00:00
test_responses_supported_endpoints_passthrough.py
test_responses_utils.py fix(responses): let a native turn on a provider without resp_ ids reach the next fallback 2026-11-24 20:25:34 -08:00
test_responses_websocket_all_providers.py test(responses): cover the rate limit and server error types of a WebSocket turn failure 2026-11-23 14:51:44 -08:00
test_rust_bridge_websocket.py
test_sse_output_recovery.py
test_streaming_iterator.py Merge pull request #53427 from ellisc42/litellm_lts_1108_openai_compatible_error_body 2026-11-24 02:52:04 +00:00
test_streaming_iterator_error_events.py fix(openai): relay provider error fields without moving logged error codes 2026-11-22 04:50:47 -08:00
test_text_format_conversion.py refactor: expose core private helpers under public names (#44871) 2026-10-07 00:05:27 +00:00