mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 21:38:43 +00:00
eab30781e0
When we send a request to `/api/chat/completions` without the `Authorization` header, the server just crashes and creates a stack trace, returning "Internal Server Error" to the calling client. With this fix, the server sends a 401 to the client with the content `{"detail": "Not authenticated"}`. |
||
---|---|---|
.. | ||
apps | ||
data | ||
migrations | ||
static | ||
test | ||
utils | ||
__init__.py | ||
alembic.ini | ||
config.py | ||
constants.py | ||
env.py | ||
main.py |