mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
Litellm UI qa 04 12 2025 p1 (#9955)
* fix(model_info_view.tsx): cleanup text * fix(key_management_endpoints.py): fix filtering litellm-dashboard keys for internal users * fix(proxy_track_cost_callback.py): prevent flooding spend logs with admin endpoint errors * test: add unit testing for logic * test(test_auth_exception_handler.py): add more unit testing * fix(router.py): correctly handle retrieving model info on get_model_group_info fixes issue where model hub was showing None prices * fix: fix linting errors
This commit is contained in:
parent
f8d52e2db9
commit
00e49380df
13 changed files with 249 additions and 80 deletions
|
@ -1023,6 +1023,7 @@ async def user_api_key_auth(
|
|||
"""
|
||||
|
||||
request_data = await _read_request_body(request=request)
|
||||
route: str = get_request_route(request=request)
|
||||
|
||||
user_api_key_auth_obj = await _user_api_key_auth_builder(
|
||||
request=request,
|
||||
|
@ -1038,6 +1039,8 @@ async def user_api_key_auth(
|
|||
if end_user_id is not None:
|
||||
user_api_key_auth_obj.end_user_id = end_user_id
|
||||
|
||||
user_api_key_auth_obj.request_route = route
|
||||
|
||||
return user_api_key_auth_obj
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue