From 4a231f8933e34a9017c1b3bb197672d61ea8683c Mon Sep 17 00:00:00 2001 From: ofir-frd Date: Thu, 24 Apr 2025 15:32:01 +0300 Subject: [PATCH] Add documentation for chat functionality in code suggestions --- docs/docs/tools/improve.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/docs/tools/improve.md b/docs/docs/tools/improve.md index 522a5fe3..45432e55 100644 --- a/docs/docs/tools/improve.md +++ b/docs/docs/tools/improve.md @@ -262,6 +262,19 @@ We advise users to apply critical analysis and judgment when implementing the pr In addition to mistakes (which may happen, but are rare), sometimes the presented code modification may serve more as an _illustrative example_ than a direct applicable solution. In such cases, we recommend prioritizing the suggestion's detailed description, using the diff snippet primarily as a supporting reference. + +### Chat on code suggestions + +If you set the following in your configuration file: + +```toml +[pr_code_suggestions] +enable_chat_in_code_suggestions = true +``` + +The Qodo Merge bot will automatically listen and respond to comments within code suggestion discussions that it has initiated, without requiring explicit tool calls. + + ### Dual publishing mode Our recommended approach for presenting code suggestions is through a [table](https://qodo-merge-docs.qodo.ai/tools/improve/#overview) (`--pr_code_suggestions.commitable_code_suggestions=false`). @@ -427,6 +440,10 @@ Note: Chunking is primarily relevant for large PRs. For most PRs (up to 500 line commitable_code_suggestions If set to true, the tool will display the suggestions as commitable code comments. Default is false. + + enable_chat_in_code_suggestions + If set to true, QM bot will interact with comments made on code changes it has proposed. Default is true. + dual_publishing_score_threshold Minimum score threshold for suggestions to be presented as commitable PR comments in addition to the table. Default is -1 (disabled).