SurfSense/surfsense_backend/app/tasks/chat/streaming/flows
CREDO23 2c3edb7c84 refactor(chat): add streaming/flows/shared/terminal_error.py
Extracts handle_terminal_exception: the shared except-branch behavior for
the chat orchestrators. Classifies the raised exception, logs the
structured chat_stream error event, and emits the terminal-error SSE
frame + done sentinel via the streaming service.

Add-only; nothing imports it yet.
2026-05-25 21:49:18 +02:00
..
shared refactor(chat): add streaming/flows/shared/terminal_error.py 2026-05-25 21:49:18 +02:00