Commit e65ec30
Strip AI warning suffix from "Apply Suggestion Using AI" chat input (#8611)
* Initial plan
* Initial plan for fixing AI warning suffix in applySuggestionWithCopilot
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-3459c61cc24c
* 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-3459c61cc24c
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>1 parent 9a721c2 commit e65ec30
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