From 54ffb2d0a178d946b14a6c664cfe49760799604a Mon Sep 17 00:00:00 2001 From: Seokjae Lee Date: Mon, 4 Aug 2025 11:05:29 +0900 Subject: [PATCH 1/2] docs: add interactive Q&A feature documentation for review comments - Add section explaining how to enable interactive Q&A on PR Agent review comments - Include configuration for PR_CODE_SUGGESTIONS.COMMITABLE_CODE_SUGGESTIONS - Add GitHub Actions workflow example for issue_comment events - Document /ask command usage for contextual responses --- docs/docs/usage-guide/automations_and_usage.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/docs/usage-guide/automations_and_usage.md b/docs/docs/usage-guide/automations_and_usage.md index 5359d9d7..10583061 100644 --- a/docs/docs/usage-guide/automations_and_usage.md +++ b/docs/docs/usage-guide/automations_and_usage.md @@ -202,6 +202,23 @@ publish_labels = false to prevent Qodo Merge from publishing labels when running the `describe` tool. +#### Interactive Q&A on Review Comments + +PR Agent can also engage in interactive question-and-answer sessions based on its review comments. To enable this feature: + +1. Set `PR_CODE_SUGGESTIONS.COMMITABLE_CODE_SUGGESTIONS: true` in your configuration +2. Configure your GitHub Actions workflow to trigger on `issue_comment` [events](https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#issue_comment) (`created` and `edited`) + +Example GitHub Actions workflow configuration: + +```yaml +on: + issue_comment: + types: [created, edited] +``` + +When this is configured, users can ask questions about PR Agent's review comments using the `/ask` command, and receive contextual responses based on the review context. + #### Quick Reference: Model Configuration in GitHub Actions For detailed step-by-step examples of configuring different models (Gemini, Claude, Azure OpenAI, etc.) in GitHub Actions, see the [Configuration Examples](../installation/github.md#configuration-examples) section in the installation guide. From 9383cdd520ae100250f14a93b5fb55455138c154 Mon Sep 17 00:00:00 2001 From: Seokjae Lee Date: Tue, 5 Aug 2025 16:30:07 +0900 Subject: [PATCH 2/2] docs: apply code review --- docs/docs/usage-guide/automations_and_usage.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/docs/usage-guide/automations_and_usage.md b/docs/docs/usage-guide/automations_and_usage.md index 10583061..4dabb87a 100644 --- a/docs/docs/usage-guide/automations_and_usage.md +++ b/docs/docs/usage-guide/automations_and_usage.md @@ -202,12 +202,9 @@ publish_labels = false to prevent Qodo Merge from publishing labels when running the `describe` tool. -#### Interactive Q&A on Review Comments +#### Enable using commands in PR -PR Agent can also engage in interactive question-and-answer sessions based on its review comments. To enable this feature: - -1. Set `PR_CODE_SUGGESTIONS.COMMITABLE_CODE_SUGGESTIONS: true` in your configuration -2. Configure your GitHub Actions workflow to trigger on `issue_comment` [events](https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#issue_comment) (`created` and `edited`) +You can configure your GitHub Actions workflow to trigger on `issue_comment` [events](https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#issue_comment) (`created` and `edited`). Example GitHub Actions workflow configuration: @@ -217,7 +214,7 @@ on: types: [created, edited] ``` -When this is configured, users can ask questions about PR Agent's review comments using the `/ask` command, and receive contextual responses based on the review context. +When this is configured, Qodo merge can be invoked by commenting on the PR. #### Quick Reference: Model Configuration in GitHub Actions