mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
(docs) user_api_key_auth
This commit is contained in:
parent
a05b64cb8c
commit
7ddaf345a0
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ async def user_api_key_auth(request: Request, api_key: str) -> UserAPIKeyAuth:
|
|||
return UserAPIKeyAuth(api_key=api_key)
|
||||
raise Exception
|
||||
except:
|
||||
raise Exception
|
||||
raise Exception("Failed Custom Authentication")
|
||||
```
|
||||
|
||||
### 2. Pass the filepath (relative to the config.yaml)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue