mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-26 21:39:43 +02:00
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. |
||
|---|---|---|
| .. | ||
| main_agent/tools | ||
| shared/retrieval | ||
| test_agent_turn.py | ||
| test_kb_filesystem_cloud.py | ||
| test_kb_filesystem_desktop.py | ||