SurfSense/surfsense_backend/app/agents/chat/runtime
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
..
referenced_chat_context fix(chat): let search-space owners reference legacy null-creator chats 2026-06-23 18:30:15 +02:00
references 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 refactor(agents): consolidate chat runtime infra under chat/runtime 2026-06-05 13:19:24 +02:00
checkpointer.py refactor(agents): consolidate chat runtime infra under chat/runtime 2026-06-05 13:19:24 +02:00
errors.py refactor(agents): consolidate chat runtime infra under chat/runtime 2026-06-05 13:19:24 +02:00
llm_config.py chore: ran linting 2026-06-13 21:59:35 +05:30
mention_resolver.py refactor(agents): consolidate chat runtime infra under chat/runtime 2026-06-05 13:19:24 +02:00
path_resolver.py refactor(agents): consolidate chat runtime infra under chat/runtime 2026-06-05 13:19:24 +02:00
prompt_caching.py docs(agents): tighten docstrings and comments across agent module 2026-06-05 17:39:38 +02:00