Miscellaneous UX fixes for agent2 (#36591)

Release Notes:

- N/A
eaf6b56163Antonio Scandurra committed on 8/20/2025, 1:56:39 PM· committed by GitHubparent85865fc
2 files changedLine totals unavailable