Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.qodo.ai/llms.txt

Use this file to discover all available pages before exploring further.

GitHubGitLab
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
Default: true Once enabled, Qodo will automatically respond to recognized questions in PR comments.
Qodo automatic response providing detailed code explanation in pull request comment

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