Commands in pull request comments
Reply to codingassist in a pull request comment: the commands it recognises, what each one does, and when it answers.
You can reply to codingassist in the comments of a reviewed pull request. It answers in the same thread.
When codingassist answers
codingassist answers a comment when:
- the comment mentions
@codingassist, or - the comment is in a thread where codingassist has already commented
It never answers its own comments.
Commands
| Command | What it does |
|---|---|
@codingassist help | Replies with the list of commands |
@codingassist fix | Replies with a suggested fix, in text. It does not change any code |
@codingassist false positive | Acknowledges the reply. The finding is not changed |
@codingassist not applicable | Acknowledges the reply. The finding is not changed |
@codingassist ignore | Resolves every codingassist thread on the pull request |
@codingassist rate limit | Replies with the plan, the share of the monthly token budget used, and the reset date |
false-positive and not-applicable are accepted with a hyphen. The rate limit command needs the mention; the others also work as a plain reply in a codingassist thread.
Questions
A comment that mentions @codingassist without a command gets an answer from a model, based on the thread. Ask about a finding the way you would ask a reviewer:
@codingassist why is this a SQL injection risk if userId is an integer?The answer is at most three short paragraphs. If the thread does not give enough context, codingassist says what is missing.
Patches
codingassist does not commit to your branch. Validated patches are posted only when review.autoFix is set. See Proposed fixes.