Davemaina1 makes Mike's citations click through to the right place

When Mike cites a source, the link now actually opens what it claims to - and stops breaking on web results.

searchchat-ui

Davemaina1 rebuilt how Mike handles citations, the little source references the AI drops into its answers. Two problems get fixed. First, when a citation points at a web page rather than an uploaded document, clicking it now opens that page in a new tab instead of hitting a dead end - previously the app assumed every citation was a file it had on hand and errored out.

Second, and more substantively, every retrieved passage now carries a stable identity from the moment it's pulled, so a citation in the answer reliably ties back to the exact source it came from, showing the real document title rather than a raw internal reference. There's also a tolerance fix for the small inconsistencies the model produces when it writes those references, so fewer citations get silently dropped.

So what Anyone relying on Mike to back up its answers with traceable sources gets citations they can trust to land on the right thing.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

4 commits from Davemaina1/iroh_, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
6e12f686 Citations: open web-source URLs in new tab instead of DocPanel Davemaina1 2026-05-13 ↗ GitHub
68b457c1 Citations: stable chunk_ids end-to-end via citation_sources SSE event Davemaina1 2026-05-13 ↗ GitHub
b75b6611 fix(citations): tolerate string ref in LLM output, log SSE emission Davemaina1 2026-05-14 ↗ GitHub
2b142754 fix(backend): resolve TS error in chatTools citation log line Davemaina1 2026-05-14 ↗ GitHub
Cast citations[0] to Record<string, unknown> to satisfy tsc strict
property access check on the conditionally-typed array.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-381.md from inside the repo you want the changes in.

⬇ Download capture-thread-381.md