SurfSense/surfsense_backend/app/agents/chat
CREDO23 265888d21c document-render: unify KB/web rendering on numbered [n] passages
Add a shared document_render package that renders sources as
<document view="excerpt|full"> blocks with server-assigned [n] passage
labels (KB locator {document_id, chunk_id}, web locator {url}). Wire the
KB read backend (kb_postgres) and read_file to the new renderer and drop
the legacy per-document XML renderer (document_xml, retrieved_context) and
the old chunk_index / matched="true" / <chunk id> read format.
2026-06-25 15:26:16 +02:00
..
anonymous_chat refactor(agents): introduce chat/ category; dissolve top-level agents/shared 2026-06-05 12:54:02 +02:00
multi_agent_chat document-render: unify KB/web rendering on numbered [n] passages 2026-06-25 15:26:16 +02:00
runtime references: route @chat through chat/ slice 2026-06-24 22:54:58 +02:00
shared docs(agents): tighten docstrings and comments across agent module 2026-06-05 17:39:38 +02:00
__init__.py refactor(agents): introduce chat/ category; dissolve top-level agents/shared 2026-06-05 12:54:02 +02:00