SurfSense/surfsense_backend/app/agents/chat/runtime/references
CREDO23 c98bdea5cf search-kb: on-demand KB tool on the [n] spine; drop kb_matched_chunk_ids
The main agent's search_knowledge_base tool runs the hybrid spine, renders
a <retrieved_context> of numbered [n] passages, and persists the registry.
KB subagent prompts teach citing [n] from <document view="full"> reads
(evidence.chunk_ids -> evidence.citations). Delete the now-unused
search->read highlighting hand-off: the kb_matched_chunk_ids state field,
its reducer default, the tool's _matched_chunk_ids writer, and the dead
KnowledgePriorityMiddleware writes.
2026-06-25 15:26:39 +02:00
..
chat references: chat package surface 2026-06-24 22:54:58 +02:00
documents search-kb: on-demand KB tool on the [n] spine; drop kb_matched_chunk_ids 2026-06-25 15:26:39 +02:00
__init__.py search-kb: on-demand KB tool on the [n] spine; drop kb_matched_chunk_ids 2026-06-25 15:26:39 +02:00
connectors.py references: discriminated per-kind reference types 2026-06-24 22:07:54 +02:00
folders.py references: discriminated per-kind reference types 2026-06-24 22:07:54 +02:00
models.py references: discriminated per-kind reference types 2026-06-24 22:07:54 +02:00
reference_pointers.py references: discriminated per-kind reference types 2026-06-24 22:07:54 +02:00