litellm/tests/unit/router_utils/pre_call_checks
joshua-berri 87c94e58b6
feat(router): select conversation headers for session affinity (#52193)
* feat(router): select conversation headers for session affinity

* test(router): assert legacy session routing results

* fix(router): validate conversation request fields at typed boundaries

* fix(router): synchronize conversation header API types

---------

Co-authored-by: Joshua Valluru <326636767+joshua-berri@users.noreply.github.com>
2026-11-16 21:37:48 -08:00
..
__init__.py test: add __init__.py to new tests/unit packages 2026-09-20 12:36:13 +00:00
test_continuation_prefill_check.py fix(router): continue Responses mid-stream fallbacks on models without assistant prefill (#47672) 2026-10-28 04:34:40 -07:00
test_deployment_affinity_check.py feat(redis): serve the router's session pins from a native store (#50870) 2026-11-13 03:22:28 +00:00
test_encrypted_content_affinity_check.py feat(redis): serve the router's session pins from a native store (#50870) 2026-11-13 03:22:28 +00:00
test_prompt_caching_deployment_check.py perf(token_counter): memoize token counts of long texts per tokenizer (#51904) 2026-11-16 19:21:55 +00:00
test_responses_api_deployment_check.py refactor: expose core private helpers under public names (#44871) 2026-10-07 00:05:27 +00:00
test_session_id_affinity.py feat(router): select conversation headers for session affinity (#52193) 2026-11-16 21:37:48 -08:00