Commit 827fd6c
agent-host: route long question text through detailedMessage (#317650)
* agent-host: route long question text through detailedMessage
Long elicitation prompts from the agent host were being placed into the question title/description, causing the question carousel header to grow tall and squeeze out the scrollable input area. Route the long body through detailedMessage (rendered inside the scrollable container) and keep the title short by splitting on the first newline when no explicit title is provided.
Fixes #316544
(Commit message generated by Copilot)
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>1 parent 86bd3e9 commit 827fd6c
1 file changed
Lines changed: 18 additions & 8 deletions
Lines changed: 18 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1790 | 1790 | | |
1791 | 1791 | | |
1792 | 1792 | | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
| 1801 | + | |
1793 | 1802 | | |
1794 | 1803 | | |
1795 | 1804 | | |
1796 | 1805 | | |
1797 | 1806 | | |
1798 | | - | |
1799 | | - | |
| 1807 | + | |
| 1808 | + | |
1800 | 1809 | | |
1801 | 1810 | | |
1802 | 1811 | | |
| |||
1805 | 1814 | | |
1806 | 1815 | | |
1807 | 1816 | | |
1808 | | - | |
1809 | | - | |
| 1817 | + | |
| 1818 | + | |
1810 | 1819 | | |
1811 | 1820 | | |
1812 | 1821 | | |
| |||
1815 | 1824 | | |
1816 | 1825 | | |
1817 | 1826 | | |
1818 | | - | |
1819 | | - | |
| 1827 | + | |
| 1828 | + | |
1820 | 1829 | | |
1821 | 1830 | | |
1822 | 1831 | | |
1823 | 1832 | | |
1824 | 1833 | | |
1825 | 1834 | | |
1826 | 1835 | | |
1827 | | - | |
1828 | | - | |
| 1836 | + | |
| 1837 | + | |
1829 | 1838 | | |
1830 | 1839 | | |
1831 | 1840 | | |
| |||
1932 | 1941 | | |
1933 | 1942 | | |
1934 | 1943 | | |
| 1944 | + | |
1935 | 1945 | | |
1936 | 1946 | | |
1937 | 1947 | | |
| |||
0 commit comments