mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
(feat) proxy allow user/request_model
This commit is contained in:
parent
0bd8b77fa0
commit
9c4b570f6e
1 changed files with 2 additions and 0 deletions
|
@ -687,6 +687,8 @@ async def user_api_key_auth(
|
|||
elif route == "/model/info":
|
||||
# /model/info just shows models user has access to
|
||||
pass
|
||||
elif route == "/user/request_model":
|
||||
pass # this allows any user to request a model through the UI
|
||||
elif allow_user_auth == True and route == "/key/generate":
|
||||
pass
|
||||
elif allow_user_auth == True and route == "/key/delete":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue