SurfSense/surfsense_backend/app/agents/multi_agent_chat/subagents
CREDO23 d97b2830c5 fix: resolve desktop KB prompt self-contradiction on chunk_ids
The citations fix (cacb27e0) added a "Chunk citations in your prose"
section to system_prompt_desktop.md telling the KB subagent to always
leave `evidence.chunk_ids` null and emit no `[citation:...]` markers in
desktop mode, but left the pre-existing line declaring that
`chunk_ids` apply to `<priority_documents>` hits. The two rules
contradicted each other; the model picked one per turn.

Strike the stale conditional clause and point at the dedicated section
as the single source of truth. Matches the parallel line in
system_prompt_cloud.md and the already-consistent
system_prompt_readonly_desktop.md.
2026-05-22 17:24:57 +02:00
..
builtins fix: resolve desktop KB prompt self-contradiction on chunk_ids 2026-05-22 17:24:57 +02:00
connectors perf(teams subagent): stop echoing raw teams/channels/messages payload into evidence.items 2026-05-20 09:42:03 +02:00
mcp_tools multi_agent_chat/loader: MCP tools as flat list[BaseTool] per agent 2026-05-14 20:10:11 +02:00
shared hitl/wire: rename 'always' decision-type to 'approve_always' 2026-05-15 14:47:32 +02:00
__init__.py Rename package: multi_agent_chat 2026-05-04 21:57:05 +02:00
registry.py multi_agent_chat/loader: MCP tools as flat list[BaseTool] per agent 2026-05-14 20:10:11 +02:00