open-webui/backend
Hugo Haldi eab30781e0
Chat completion 401 when no Authorization header
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"}`.
2024-09-27 20:04:45 +02:00
..
data
open_webui Chat completion 401 when no Authorization header 2024-09-27 20:04:45 +02:00
.dockerignore
.gitignore
dev.sh
requirements.txt fix 2024-09-19 18:47:02 +02:00
start_windows.bat
start.sh