Commit 3ab1342
Fix: Use rawComment.body in applySuggestionWithCopilot to exclude AI warning suffix
When applying a suggestion using AI for Copilot Code Review comments,
the rendered comment body included the "Copilot is powered by AI, so
mistakes are possible" suffix. Use rawComment.body instead to get the
original comment text without the display-only warning.
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/vscode-pull-request-github/sessions/a47a6887-194e-4dd7-966a-3459c61cc24c1 parent 0ca1c3c commit 3ab1342
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1848 | 1848 | | |
1849 | 1849 | | |
1850 | 1850 | | |
1851 | | - | |
| 1851 | + | |
1852 | 1852 | | |
1853 | | - | |
| 1853 | + | |
| 1854 | + | |
1854 | 1855 | | |
1855 | 1856 | | |
1856 | 1857 | | |
| |||
0 commit comments