mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-27 17:58:07 +00:00
Both chat renderers resolve link titles over the network and render them in place of the link's text, unconditionally — so they also replaced text the agent deliberately wrote. `[#71706](url)` rendered as the whole GitHub page title, and prose labels were swapped out mid-sentence. The TUI ordered `fetched || label` and always passed the URL to useLinkTitle. Desktop looked guarded but wasn't: chat markdown hands authored text to PrettyLink as `fallbackLabel`, not `label`, so `useLinkTitle(label ? null : target)` never skipped the fetch and `fetched || label || fallbackLabel` still let the title win. Treat an authored label as the intent: it wins, and it skips the fetch. A label that is just the URL still resolves, since `[url](url)` and `<url>` are bare links wearing markdown syntax — desktop already applied that same URL-equality rule before handing the label over. Co-authored-by: Kinkoolino-Hermes <297364961+Kinkoolino-Hermes@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||