processCitations() parses [filename, page N] patterns from LLM answers. Cross-references with sources[] array to build clickable markdown links. Graceful fallback: unmatched citations remain as plain text. Handles markdown images/links, case-insensitive matching, DOCX without pages. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai> |
||
|---|---|---|
| .. | ||
| citationParser.test.ts | ||