SurfSense/surfsense_backend/app/tasks
CREDO23 cf0085575c refactor(chat): add streaming/flows/resume_chat/orchestrator + flows public API
Slim composition root for the resume-chat streaming flow. Mirrors the
new_chat orchestrator but specialized for resumed turns:

* no fresh user turn, no title generation, no image-capability gate
* persists a fresh assistant shell for the resumed turn
* applies build_resume_routing to dispatch user decisions to the
  correct paused subagent before invoking the agent
* shares the same stream_loop + flow-local _recover closure for in-
  stream provider rate-limit recovery

Also lands flows/__init__.py, which becomes the public chat-flow API:

    from app.tasks.chat.streaming.flows import stream_new_chat, stream_resume_chat

Existing wiring (routes, contract test) still imports from the legacy
app.tasks.chat.stream_new_chat module. Cutover is the next phase.
2026-05-25 21:50:09 +02:00
..
celery_tasks feat(connectors): add retry and auth telemetry events 2026-05-22 17:50:02 +05:30
chat refactor(chat): add streaming/flows/resume_chat/orchestrator + flows public API 2026-05-25 21:50:09 +02:00
connector_indexers perf(indexers): offload sync embed_text to thread across background workers 2026-05-20 10:09:38 +02:00
document_processors perf(indexers): offload sync embed_text to thread across background workers 2026-05-20 10:09:38 +02:00
__init__.py feat: SurfSense v0.0.6 init 2025-03-14 18:53:14 -07:00
composio_indexer.py chore: ran frontend and backend linting 2026-02-01 22:54:25 +05:30
surfsense_docs_indexer.py chore: ran linting 2026-03-17 04:40:46 +05:30