example best practice

This commit is contained in:
mrT23
2024-07-12 17:07:23 +03:00
parent dfb339ab44
commit 41c48ca5b5
2 changed files with 18 additions and 9 deletions

View File

@ -43,15 +43,23 @@ num_code_suggestions = ...
- The `pr_commands` lists commands that will be executed automatically when a PR is opened.
- The `[pr_reviewer]` section contains the configurations for the `review` tool you want to edit (if any).
### Incremental Mode
Incremental review only considers changes since the last PR-Agent review. This can be useful when working on the PR in an iterative manner, and you want to focus on the changes since the last review instead of reviewing the entire PR again.
For invoking the incremental mode, the following command can be used:
```
/review -i
```
Note that the incremental mode is only available for GitHub.
[//]: # ()
[//]: # (### Incremental Mode)
![incremental review](https://codium.ai/images/pr_agent/incremental_review_2.png){width=512}
[//]: # (Incremental review only considers changes since the last PR-Agent review. This can be useful when working on the PR in an iterative manner, and you want to focus on the changes since the last review instead of reviewing the entire PR again.)
[//]: # (For invoking the incremental mode, the following command can be used:)
[//]: # (```)
[//]: # (/review -i)
[//]: # (```)
[//]: # (Note that the incremental mode is only available for GitHub.)
[//]: # ()
[//]: # (![incremental review](https://codium.ai/images/pr_agent/incremental_review_2.png){width=512})
[//]: # (### PR Reflection)