litellm/tests/router_unit_tests
yuneng-jiang 16bd81985d
Merge pull request #27795 from BerriAI/litellm_vcr-cache-observability-and-fixes-c5bc
test(vcr): classify cache verdicts, surface cost leaks, and fix the two biggest leakers
2026-05-14 13:51:16 -07:00
..
conftest.py test(vcr): classify cache verdicts, detect live calls, surface cost leaks 2026-05-13 00:31:47 +00:00
create_mock_standard_logging_payload.py
gettysburg.wav
README.md
test_completion_no_copy.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_default_deployment_copy.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_get_model_list_alias_optimization.py fix(router): address remaining Greptile review comments 2026-03-27 20:11:28 +05:30
test_pre_call_checks_optimization.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_prompt_management_check.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_router_acancel_batch.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_router_adding_deployments.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_router_batch_utils.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_router_cooldown_utils.py fix(router): add minimum request threshold for error rate cooldown (#17464) 2025-12-12 04:36:10 -08:00
test_router_embedding_headers.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_router_embedding_integration.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_router_endpoints.py fix(router): apply decoded provider for managed container IDs without model_id 2026-04-30 21:29:38 +00:00
test_router_handle_error.py fix(handle_error.py): add unit tests 2025-08-11 18:25:30 -07:00
test_router_helper_utils.py fix(prometheus): emit litellm_remaining_tokens_metric for Bedrock and Vertex (#27705) 2026-05-13 17:40:59 -07:00
test_router_index_management.py Merge branch 'litellm_internal_staging' into litellm_adaptive_routing 2026-04-20 15:28:08 -07:00
test_router_prompt_caching.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00

Router component unit tests.

Please name all files with the word 'router' in them.

This is used to ensure all functions in the router are tested.