mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-12 09:12:40 +02:00
refactor(chat): drop alternate streaming entry path; use graph_stream
This commit is contained in:
parent
52895e37e9
commit
7e07092f67
23 changed files with 61 additions and 1278 deletions
|
|
@ -4,7 +4,7 @@ Layout:
|
|||
* ``envelope/`` - SSE wire framing + ID generators
|
||||
* ``emitter/`` - identity of the agent that emitted an event + runtime registry
|
||||
* ``events/`` - one module per SSE event family
|
||||
* ``service.py`` - composition root used by the orchestrator
|
||||
* ``service.py`` - composition root used when emitting chat SSE
|
||||
* ``interrupt_correlation.py`` - id-aware lookup over LangGraph state
|
||||
|
||||
Naming on the wire:
|
||||
|
|
@ -13,8 +13,8 @@ Naming on the wire:
|
|||
* Every SurfSense-added field uses ``snake_case``, including the
|
||||
top-level ``emitted_by`` envelope and all inner ``data`` payloads.
|
||||
|
||||
Production keeps using ``app.services.new_streaming_service`` and
|
||||
``app.tasks.chat.stream_new_chat`` until the cutover phase.
|
||||
Production chat uses ``app.services.new_streaming_service`` from
|
||||
``app.tasks.chat.stream_new_chat`` and related routes.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
"""Single terminal error path the orchestrator must route through."""
|
||||
"""Single terminal error path chat streaming must route through."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue