mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-31 19:45:15 +02:00
Extracts finalize_assistant_message: the post-stream server-side write of the final assistant message (with content parts + token usage) guarded by asyncio.shield + shielded_async_session so a client disconnect cannot abort the persist. Add-only; legacy stream_new_chat.py keeps its inline finalize block until cutover. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| assistant_finalize.py | ||
| finalize_emit.py | ||
| finally_cleanup.py | ||
| first_frames.py | ||
| llm_bundle.py | ||
| pre_stream_setup.py | ||
| premium_quota.py | ||
| rate_limit_recovery.py | ||
| span.py | ||
| stream_loop.py | ||
| terminal_error.py | ||