Auto-Detected Questions

circle-check

Let Qodo automatically recognize questions written in pull request comments. When enabled, Qodo scans comments and replies when it detects a question related to the code or PR discussion.

This is useful for more natural conversations during code reviews.

How it works

  • You write a comment that includes a question (for example: “Why are we handling retries here instead of the caller?”)

  • Qodo detects the question

  • Qodo replies using the relevant pull request context

Enable automatic question recognition

To enable this behavior, add the following to your configuration file:

[pr_code_suggestions]
enable_chat_in_code_suggestions = true

Once enabled, Qodo will automatically respond to recognized questions in PR comments.

Tips for better automatic responses

  • Phrase your comment clearly as a question

  • Use words like why, how, what, or can we

  • Keep questions focused on the code or changes in the PR

Last updated