Before submitting#
Area#
Not sure
Steps to reproduce#
- Get an agent reply that contains
~/ in inline code, e.g. "a leading ~/ in...".
- Look at the rendered message.
Expected behavior#
The message shows ~/ as written.
Actual behavior#
~/ turns into a folder chip labeled with my home directory name, so the sentence reads "a leading [folder icon] mjw in..." and the reader cannot see that the agent wrote ~/. A lone ~ stays plain inline code, and ~/ in a fenced code block renders as text. Screenshot attached.
Impact#
Cosmetic issue
Version or commit#
0.1.13
Environment#
Windows 11, WSL2 (Ubuntu)
A possible fix is to blacklist
~/from the dir detection. I doubt any model want's to name the home dir by writing exactly~/. It would most likely use/home/<user>if it wants to name that dir in chat.