mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-29 19:35:20 +02:00
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. |
||
|---|---|---|
| .. | ||
| agent | ||
| context | ||
| contract | ||
| errors | ||
| flows/shared | ||
| graph_stream | ||
| handlers | ||
| helpers | ||
| relay | ||
| shared | ||
| __init__.py | ||