Fix copying from agent panel including extra backtick (#46763)

Closes #ISSUE

Release Notes:

- Fixed cmd-c in the agent panel to not include spurious trailing `'s.
22415e5f49Conrad Irwin committed on 1/14/2026, 5:38:28 AM· committed by GitHubparentb8fd09e
1 file changedLine totals unavailable