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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| finalize_emit.py | ||
| finally_cleanup.py | ||
| first_frames.py | ||
| llm_bundle.py | ||
| pre_stream_setup.py | ||
| premium_quota.py | ||
| span.py | ||
| terminal_error.py | ||