diff --git a/README.md b/README.md index e74b2e3d..6fd1f9f6 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,7 @@ See the [Release notes](./RELEASE_NOTES.md) for updates on the latest changes. | | | GitHub | Gitlab | Bitbucket | CodeCommit | Azure DevOps | Gerrit | |-------|---------------------------------------------|:------:|:------:|:---------:|:----------:|:----------:|:----------:| | TOOLS | Review | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| | ⮑ Incremental | :white_check_mark: | | | | | | | | Ask | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | Auto-Description | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | | Improve Code | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | :white_check_mark: | diff --git a/docs/REVIEW.md b/docs/REVIEW.md index a020e0fd..71e36707 100644 --- a/docs/REVIEW.md +++ b/docs/REVIEW.md @@ -25,6 +25,14 @@ Under the section 'pr_reviewer', the [configuration file](./../pr_agent/settings - `inline_code_comments`: if set to true, the tool will publish the code suggestions as comments on the code diff. Default is false. - `automatic_review`: if set to false, no automatic reviews will be done. Default is true. - `extra_instructions`: Optional extra instructions to the tool. For example: "focus on the changes in the file X. Ignore change in ...". +#### Incremental Mode +For an incremental review, which 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, the following command can be used: +``` +/improve -i +``` +Note that the incremental mode is only available for GitHub. + + #### PR Reflection By invoking: diff --git a/pics/incremental_review.png b/pics/incremental_review.png new file mode 100644 index 00000000..0118c809 Binary files /dev/null and b/pics/incremental_review.png differ