mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +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":
|
elif route == "/model/info":
|
||||||
# /model/info just shows models user has access to
|
# /model/info just shows models user has access to
|
||||||
pass
|
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":
|
elif allow_user_auth == True and route == "/key/generate":
|
||||||
pass
|
pass
|
||||||
elif allow_user_auth == True and route == "/key/delete":
|
elif allow_user_auth == True and route == "/key/delete":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue