open-webui/backend
Classic298 06f8ee0e42 fix: handle None chat_id in get_event_emitter channel-mode check
Direct API callers to /api/chat/completions pass no chat_id, so
metadata['chat_id'] ends up None. dict.get('chat_id', '') returns None
(not '') when the key is present-with-None, so the channels-streaming
branch added in v0.9.5 (0037baeb2) crashed with 'NoneType' object has
no attribute 'startswith', surfacing as HTTP 400 to the caller.

Fixes #24553.
2026-05-11 00:32:56 +02:00
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
open_webui fix: handle None chat_id in get_event_emitter channel-mode check 2026-05-11 00:32:56 +02:00
.dockerignore fix: litellm config issue 2024-02-24 22:35:11 -08:00
.gitignore refac 2024-09-06 04:59:20 +02:00
dev.sh refac 2026-03-24 19:43:30 -05:00
requirements-min.txt refac 2026-04-24 18:20:10 +09:00
requirements.txt refactor(firecrawl): use v2 API directly (#23934) 2026-04-24 18:32:08 +09:00
start.sh refac 2026-03-24 19:43:30 -05:00
start_windows.bat refac 2026-04-24 15:40:02 +09:00