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 refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
open_webui Chat completion 401 when no Authorization header 2024-09-27 20:04:45 +02:00
.dockerignore
.gitignore refac 2024-09-06 04:59:20 +02:00
dev.sh refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
requirements.txt fix 2024-09-19 18:47:02 +02:00
start_windows.bat fix scripts to point to correct path 2024-09-04 20:27:30 +02:00
start.sh refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00