litellm/tests/unit/interactions
joshua-berri bcb1f486a6
fix(interactions): retain async stream success logging task so it survives GC and shutdown drain (#52300)
Route the async Interactions API stream success logging through spawn_logging_task
instead of a bare asyncio.create_task, so the pending task is strongly referenced,
failures are logged, and proxy shutdown drains it.

Fixes #50894

Co-authored-by: Joshua Valluru <326636767+joshua-berri@users.noreply.github.com>
2026-11-17 09:43:45 -08:00
..
__init__.py test: move tests/test_litellm root and small trees into tests/unit (#43186) 2026-09-25 11:30:43 -07:00
conftest.py test(interactions): read the spec from a vendored snapshot and canary the live one daily (#48002) 2026-10-23 17:20:40 +00:00
interactions.openapi.json feat(interactions): forward continuation_token and type requires_continuation so callers can resume a long decode (#50151) 2026-11-05 15:38:44 -08:00
test_agents_http_handler.py fix(gemini)!: accept Google's current Managed Agents fields on create and interactions (#48750) 2026-10-28 12:37:59 -07:00
test_agents_main_and_utils.py fix(gemini)!: accept Google's current Managed Agents fields on create and interactions (#48750) 2026-10-28 12:37:59 -07:00
test_background_cost_polling.py fix(interactions): bind Deep Research agents and record their costs (#51517) 2026-11-13 00:20:53 -08:00
test_gemini_interactions_transformation.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
test_interactions_streaming_iterator.py fix(interactions): retain async stream success logging task so it survives GC and shutdown drain (#52300) 2026-11-17 09:43:45 -08:00
test_litellm_responses_bridge.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
test_main.py fix(interactions): bind Deep Research agents and record their costs (#51517) 2026-11-13 00:20:53 -08:00
test_openapi_compliance.py feat(interactions): forward continuation_token and type requires_continuation so callers can resume a long decode (#50151) 2026-11-05 15:38:44 -08:00