litellm/tests/router_unit_tests
Krish Dholakia e26d7df91b
Litellm dev 02 10 2025 p2 (#8443)
* Fixed issue #8246 (#8250)

* Fixed issue #8246

* Added unit tests for discard() and for remove_callback_from_list_by_object()

* fix(openai.py): support dynamic passing of organization param to openai

handles scenario where client-side org id is passed to openai

---------

Co-authored-by: Erez Hadad <erezh@il.ibm.com>
2025-02-10 17:53:46 -08:00
..
create_mock_standard_logging_payload.py (refactor) - migrate router.deployment_callback_on_success to use StandardLoggingPayload (#7015) 2024-12-03 20:29:25 -08:00
gettysburg.wav test(router_code_coverage.py): check if all router functions are dire… (#6186) 2024-10-14 22:44:00 -07:00
README.md test(router_code_coverage.py): check if all router functions are dire… (#6186) 2024-10-14 22:44:00 -07:00
test_router_adding_deployments.py (QA+UI) - e2e flow for adding assembly ai passthrough endpoints (#8337) 2025-02-06 18:27:54 -08:00
test_router_batch_utils.py Litellm router code coverage 3 (#6274) 2024-10-16 21:30:25 -07:00
test_router_cooldown_utils.py Improve Proxy Resiliency: Cooldown single-deployment model groups if 100% calls failed in high traffic (#7823) 2025-01-17 20:17:02 -08:00
test_router_endpoints.py (bug fix router.py) - safely handle choices=[] on llm responses (#8342) 2025-02-06 18:22:08 -08:00
test_router_handle_error.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
test_router_helper_utils.py Litellm dev 02 10 2025 p2 (#8443) 2025-02-10 17:53:46 -08:00
test_router_prompt_caching.py Litellm dev 12 07 2024 (#7086) 2024-12-08 00:30:33 -08: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.