Krish Dholakia
|
f3fa2160a0
|
LiteLLM Minor Fixes & Improvements (09/21/2024) (#5819)
* fix(router.py): fix error message
* Litellm disable keys (#5814)
* build(schema.prisma): allow blocking/unblocking keys
Fixes https://github.com/BerriAI/litellm/issues/5328
* fix(key_management_endpoints.py): fix pop
* feat(auth_checks.py): allow admin to enable/disable virtual keys
Closes https://github.com/BerriAI/litellm/issues/5328
* docs(vertex.md): add auth section for vertex ai
Addresses - https://github.com/BerriAI/litellm/issues/5768#issuecomment-2365284223
* build(model_prices_and_context_window.json): show which models support prompt_caching
Closes https://github.com/BerriAI/litellm/issues/5776
* fix(router.py): allow setting default priority for requests
* fix(router.py): add 'retry-after' header for concurrent request limit errors
Fixes https://github.com/BerriAI/litellm/issues/5783
* fix(router.py): correctly raise and use retry-after header from azure+openai
Fixes https://github.com/BerriAI/litellm/issues/5783
* fix(user_api_key_auth.py): fix valid token being none
* fix(auth_checks.py): fix model dump for cache management object
* fix(user_api_key_auth.py): pass prisma_client to obj
* test(test_otel.py): update test for new key check
* test: fix test
|
2024-09-21 18:51:53 -07:00 |
|
Ishaan Jaff
|
7a367bddc4
|
reset general settings post test
|
2024-09-03 15:33:22 -07:00 |
|
Ishaan Jaff
|
bb9ee4a068
|
add test for allowed routes
|
2024-09-03 14:17:53 -07:00 |
|
Ishaan Jaff
|
5050dc0fe6
|
add test_user_api_key_auth_fails_with_prohibited_params
|
2024-08-28 14:11:56 -07:00 |
|
Ishaan Jaff
|
acb31c0acd
|
return detailed error message on check_valid_ip
|
2024-08-13 21:29:21 -07:00 |
|
Ishaan Jaff
|
7d439865e7
|
add test for test_check_valid_ip_sent_with_x_forwarded_for
|
2024-08-13 15:54:53 -07:00 |
|
Krrish Dholakia
|
86a3dba1bf
|
refactor(user_api_key_auth.py): refactor to replace user_id_information list with pydantic user_obj
Allows using the 'get_user_object' function in user_api_key_auth, keeping it consistent across jwt-auth and key-auth
|
2024-08-07 15:33:55 -07:00 |
|
Krrish Dholakia
|
57a730095c
|
fix(user_api_key_auth.py): respect team budgets over user budget, if key belongs to team
Closes https://github.com/BerriAI/litellm/issues/5097
|
2024-08-07 14:32:27 -07:00 |
|
Krrish Dholakia
|
8fea55ffd7
|
fix(user_api_key_auth.py): handle older user_role's
Fixes issue where older user_role's (e.g. app_user) weren't being recognized. + Adds testing for it
|
2024-08-05 08:57:06 -07:00 |
|
Krrish Dholakia
|
f76a4bab49
|
fix(user_api_key_cache): fix check to not raise error if team object is missing
|
2024-07-30 18:25:04 -07:00 |
|
Krrish Dholakia
|
b92af48854
|
fix(user_api_key_auth.py): update team values in token cache if refreshed more recently
|
2024-07-19 17:35:59 -07:00 |
|
Krrish Dholakia
|
548b2fcf4b
|
fix(user_api_key_auth.py): update valid token cache with updated team object cache
|
2024-07-19 17:06:49 -07:00 |
|
Krrish Dholakia
|
f982e93d24
|
feat(user_api_key_auth.py): allow restricting calls by IP address
Allows admin to restrict which IP addresses can make calls to the proxy
|
2024-07-08 15:58:15 -07:00 |
|