Use this file to discover all available pages before exploring further.
GitHubGitLabBitbucket
Git Integration (formerly Qodo Merge) – AI code review agents for pull requests. This documentation describes the Qodo v1 experience. For the Qodo v2 documentation, click here.
The review tool scans the PR code changes, and generates feedback about the PR to aid the review process.Note that the main purpose of the review tool is to provide the PR reviewer with useful feedback and insights. The PR author may prefer to focus on the output of the improve tool, which provides actionable code suggestions.
Automatic usageTo run the tool automatically when a PR is opened, add it to your configuration file:
[github_app]pr_commands = [ "/review", ...][pr_reviewer] # Edit this field to enable/disable the tool, or to change the configurations used.extra_instructions = "..."...
Learn more about automatic usage of tools.
When you first install Qodo app, the default mode for the review tool is:
pr_commands = ["/review", ...]
Meaning the review tool will run automatically on every PR, without any additional configurations. Edit this field to enable/disable the tool, or to change the configurations used.
Extra instructions are important. The review tool can be configured with extra instructions, which can be used to guide Qodo to a feedback tailored to the needs of your project.Be specific, clear, and concise in the instructions. With extra instructions, you are the prompter. Specify the relevant sub-tool, and the relevant aspects of the PR that you want to emphasize.Examples of extra instructions:
[pr_reviewer]extra_instructions="""\In the code feedback section, emphasize the following:- Does the code logic cover relevant edge cases?- Is the code logic clear and easy to understand?- Is the code logic efficient?..."""
Use triple quotes to write multi-line instructions.