mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 03:40:38 +08:00
1.0 KiB
1.0 KiB
ASK Tool
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 "..."
For example:
Ask lines
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.
- Click on the '+' sign next to the line number to select the line.
- To select multiple lines, click on the '+' sign of the first line and then hold and drag to select the rest of the lines.
- write
/ask "..."
in the comment box and pressAdd single comment
button.
Note that the tool does not have "memory" of previous questions, and answers each question independently.