Commit 81480e2
Add file path and line context to "Apply suggestion using AI" prompt (#8629)
* Initial plan
* Initial plan for adding file/line context to AI suggestion prompt
Agent-Logs-Url: https://github.com/microsoft/vscode-pull-request-github/sessions/eee01273-3d0c-403d-8bf7-8fbf1a909169
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
* Add file path and line number context to AI suggestion prompt
Agent-Logs-Url: https://github.com/microsoft/vscode-pull-request-github/sessions/eee01273-3d0c-403d-8bf7-8fbf1a909169
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
* Refactor: consolidate GHPRComment type checks for file path and body extraction
Agent-Logs-Url: https://github.com/microsoft/vscode-pull-request-github/sessions/eee01273-3d0c-403d-8bf7-8fbf1a909169
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
---------
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 b4f97f2 commit 81480e2
1 file changed
+23
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1850 | 1850 | | |
1851 | 1851 | | |
1852 | 1852 | | |
1853 | | - | |
1854 | | - | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
1855 | 1876 | | |
1856 | 1877 | | |
1857 | 1878 | | |
| |||
0 commit comments