litellm/tests/test_litellm/proxy/auth
Krish Dholakia 07e8609edb
Resolve model group alias on Auth + /v1/messages Fallback support (#12440)
* fix(auth_checks.py): resolve a model group alias when key has access to underlying model

Fixes LIT-293

* feat(anthropic/): add mock_response to anthropic /v1/messages

makes it easy to test fallback logic

* fix(router.py): support fallbacks on /v1/messages

adds working fallbacks on generic api route

* refactor(router.py): point _ageneric_api_call_with_fallbacks to updated function

* test: add unit test for new helper on router

* fix(router.py): use correct metadata variable name

* fix(router.py): use correct metadata field

* docs(config_settings.md): document new param
2025-07-09 22:27:55 -07:00
..
test_auth_checks.py Resolve model group alias on Auth + /v1/messages Fallback support (#12440) 2025-07-09 22:27:55 -07:00
test_auth_exception_handler.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_handle_jwt.py [Feat] JWT - Sync user roles and team memberships when JWT Auth is used (#11994) 2025-07-05 08:58:34 -07:00
test_litellm_license.py Show remaining users on UI (#11568) 2025-06-09 22:04:45 -07:00
test_model_checks.py UI - fix invitation link + ensure team models returned when team has 'all-proxy-models' + team only models (#11524) 2025-06-07 15:19:52 -07:00
test_route_checks.py fix(utils.py): rollback faulty security check on files (#12441) 2025-07-08 22:11:06 -07:00
test_user_api_key_auth.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00