Skip to main content
GitHub GitLab Bitbucket
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 ask tool answers questions about the PR, based on the PR code changes. Make sure to be specific and clear in your questions. It can be invoked manually by commenting on any PR:
/ask ...

Example usage

How to use the ask tool

Manual usage Comment on the PR:
/ask

Ask on specific lines

Platforms supported: GitHub, GitLab
You can run /ask on specific lines of code in the PR from the PR’s diff view. The tool will answer questions based on the code changes in the selected lines.
1
Click on the + sign next to the line number to select the line.
2
To select multiple lines, click on the + sign of the first line, then hold and drag to select more lines.
3
In the comment box, type /ask followed by your question.
4
Click the Add single comment button.
Note:The tool does not hold memory of previous questions, and answers each question independently.

Ask on images

You can ask questions about images in comments, where the entire PR code will be used as context:
/ask "..."[Image](https://real_link_to_image)
Where https://real_link_to_image is the direct link to the image. GitHub has a built-in mechanism of pasting images in comments. However, a pasted image does not provide a direct link. To get a direct link to an image, we recommend using the following scheme:
1
First, post a comment that contains only the image:
2
Click the three dots … on the top right of the comment, then choose Quote reply.
3
In the opened chatbox, type the question below the image:
4
Post the comment, and receive the answer: