SurfSense/surfsense_backend/app/tasks/chat
CREDO23 c13beae1ce refactor(chat): add streaming/context/ for mentioned-docs and deep-agents todos
Extracts two pure context helpers used during input-state assembly:

* mentioned_docs.format_mentioned_surfsense_docs_as_context: renders the
  user's @-mentioned SurfSense docs into the LLM context block.
* deepagents_todos.extract_todos_from_deepagents: pulls the in-progress
  todo list from a deep-agents state snapshot for the title generator.

Add-only; existing call sites in stream_new_chat.py remain untouched
until cutover.
2026-05-25 21:48:08 +02:00
..
streaming refactor(chat): add streaming/context/ for mentioned-docs and deep-agents todos 2026-05-25 21:48:08 +02:00
content_builder.py feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
persistence.py feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
stream_new_chat.py feat(chat): add model retry and stream lifecycle events 2026-05-22 17:48:43 +05:30