SurfSense/surfsense_backend/app/agents/chat
CREDO23 5bda944321 citations: normalize word-glued [n] markers
The model frequently writes citations glued to the preceding word
(docs[17]); the (?<!\w) lookbehind (added to dodge arr[1] array indexing)
silently skipped these, leaving raw [n] that fails to render and reads
like array access. Drop the lookbehind so glued citations resolve; genuine
code/array syntax stays protected by the existing code-region carve-out and
unresolved ordinals still drop harmlessly.
2026-06-25 16:28:31 +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 citations: normalize word-glued [n] markers 2026-06-25 16:28:31 +02:00
runtime search-kb: on-demand KB tool on the [n] spine; drop kb_matched_chunk_ids 2026-06-25 15:26:39 +02:00
shared web-search: register results on the citation registry (Channel B -> A) 2026-06-25 15:26:51 +02:00
__init__.py refactor(agents): introduce chat/ category; dissolve top-level agents/shared 2026-06-05 12:54:02 +02:00