Commit 5816973
authored
Support code suggestions in
### Description
Enable GitHub PR suggestions in inline comments
### Approach
This PR tells the `@gemini-cli /review` agent to prefer GitHub
suggestions.
So instead of the model posting a comment like:
```
You should change this line to: <NEW CODE>
```
It should instead follow the format:
````
You should change this line to
```suggestion
<NEW CODE>
```
````
### Testing
Ran this action on an example PR and see the suggestions (boxed for
convenience):
<img width="629" height="1270" alt="image"
src="https://github.com/user-attachments/assets/f67199e6-2c12-4fa8-82f8-b43356f30349"
/>@gemini-cli /review (#66)1 parent 9a31546 commit 5816973
2 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
242 | 246 | | |
243 | 247 | | |
244 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
242 | 246 | | |
243 | 247 | | |
244 | 248 | | |
| |||
0 commit comments