litellm/tests/test_litellm/proxy
Krish Dholakia e8d7537b57
Raise clearer error on Anthropic Unified route + allow setting new_key on /key/regenerate
* fix(llm_http_handler.py): raise clearer error on anthropic unified route

Fixes https://github.com/BerriAI/litellm/issues/12063

* fix(key_management_endpoints.py): add new param `new_key` for setting the regenerated key value

user request

* test: add unit tests

* fix(pass_through_endpoints.py): use data instead of json for passthrough requests

fixes bedrock latency issue

* Revert "fix(pass_through_endpoints.py): use data instead of json for passthrough requests"

This reverts commit 021dfd9165f837d37e6aad247ccbd0d2e8ca6043.
2025-06-26 21:56:03 -07:00
..
_experimental/mcp_server/auth [Feat] MCP - Allow connecting to MCP with authentication headers + Allow clients to specify MCP headers (#11890) (#11891) 2025-06-19 20:07:08 -07:00
anthropic_endpoints test fixes 2025-06-25 18:42:06 -07:00
auth JWT Auth - correctly return user email + UI Model Update - Allow editing model access group for existing model (#11783) 2025-06-16 22:11:04 -07:00
client
common_utils Update enduser spend and budget reset date based on budget duration (#8460) 2025-06-08 08:39:14 -07:00
db build(VLLM-Passthrough-with-loadbalancing-support-(enables-using-model-list-for-VLLM-/classify-endpoint)): Closes #11205 2025-05-31 09:00:04 -07:00
experimental/mcp_server
guardrails build(VLLM-Passthrough-with-loadbalancing-support-(enables-using-model-list-for-VLLM-/classify-endpoint)): Closes #11205 2025-05-31 09:00:04 -07:00
health_endpoints
hooks GA Multi-instance rate limiting v2 Requirements + New - specify token rate limit type - output / input / total (#11646) 2025-06-11 22:05:13 -07:00
image_endpoints Feat: add add azure endpoint for image endpoints (#11482) 2025-06-06 10:38:37 -07:00
management_endpoints Raise clearer error on Anthropic Unified route + allow setting new_key on /key/regenerate 2025-06-26 21:56:03 -07:00
management_helpers Squashed commit of the following: 2025-06-20 23:11:53 -07:00
middleware
openai_files_endpoint fix(proxy): Add managed_files hook to test_mock_create_audio_file 2025-06-26 10:42:25 -06:00
pass_through_endpoints [Feat] UI QA: Pass through endpoints (#11939) 2025-06-20 18:35:38 -07:00
spend_tracking Fix boto3 tracer wrapping for observability (#11869) 2025-06-18 15:47:55 -07:00
test_configs
types_utils
ui_crud_endpoints Refactor settings response models in proxy_setting_endpoints.py 2025-06-04 15:08:05 -06:00
test_caching_routes.py [Bug Fix] Ensure /redis/info works on GCP Redis (#11732) 2025-06-14 15:35:09 -07:00
test_common_request_processing.py [Feat] DD Trace - Add instrumentation for streaming chunks (#11338) 2025-06-02 16:48:39 -07:00
test_custom_proxy.py Custom Root Path Improvements: don't require reserving /litellm route (#11460) 2025-06-05 16:36:47 -07:00
test_health_check_functions.py Implement health check backend API and storage functionality - fix ci/cd (#11852) 2025-06-18 06:57:08 -07:00
test_litellm_pre_call_utils.py Minor Fixes (#11868) 2025-06-18 14:12:59 -07:00
test_proxy_cli.py add ciphers in command and pass to hypercorn for proxy (#11916) 2025-06-20 14:45:48 -07:00
test_proxy_server.py Managed Files + Batches - filter deployments to only those where file was written + save all model file id mappings in DB (prev just 1st one) (#12048) 2025-06-25 21:27:06 -07:00
test_proxy_types.py Litellm dev 06 06 2025 p1 (#11496) 2025-06-07 09:12:16 -07:00
test_proxy_utils.py UI / SSO - Update proxy admin id role in DB + Handle SSO redirects with custom root path (#11384) 2025-06-03 21:16:55 -07:00
test_route_llm_request.py Update mistral 'supports_response_schema' field + Fix ollama embedding (#12024) 2025-06-25 07:20:13 -07:00
test_spend_log_cleanup.py [Feat] Make batch size for maximum retention in spend logs a controllable parameter (#11459) 2025-06-05 17:11:51 -07:00
test_team_member_update.py