mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-06 22:00:40 +08:00
docs: Chat on code suggestions: Add interactive code suggestions documentation with tabbed examples
This commit is contained in:
@ -267,19 +267,35 @@ In such cases, we recommend prioritizing the suggestion's detailed description,
|
|||||||
|
|
||||||
> `💎 feature` Platforms supported: GitHub, GitLab
|
> `💎 feature` Platforms supported: GitHub, GitLab
|
||||||
|
|
||||||
Enable interactive code discussions by adding this to your configuration file (default `True`):
|
The Qodo Merge implements an orchestrator agent that enables interactive code discussions, listening and responding to comments without requiring explicit tool calls.
|
||||||
|
The orchestrator intelligently analyzes your responses to determine if you want to implement a suggestion, ask a question, or request help, then delegates to the appropriate specialized tool.
|
||||||
|
|
||||||
|
#### How it works
|
||||||
|
|
||||||
|
Enable interactive code discussions by adding the following to your configuration file (default is `True`):
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[pr_code_suggestions]
|
[pr_code_suggestions]
|
||||||
enable_chat_in_code_suggestions = true
|
enable_chat_in_code_suggestions = true
|
||||||
```
|
```
|
||||||
|
|
||||||
The Qodo Merge implements an orchestrator agent to listen and respond to comments within code suggestion discussions that it has initiated, without requiring explicit tool calls.
|
!!! info "Activating Dynamic Responses"
|
||||||
The orchestrator intelligently analyzes your responses to determine if you want to implement a suggestion, ask a question, or request help, then delegates to the appropriate specialized tool.
|
To obtain dynamic responses, the following steps are required:
|
||||||
|
|
||||||
For example:
|
1. Run the `/improve` command (mostly automatic)
|
||||||
|
2. Tick the `/improve` recommendation checkboxes (_Apply this suggestion_) to have Qodo Merge generate a new inline code suggestion discussion
|
||||||
|
3. The orchestrator agent will then automatically listen and reply to comments within the discussion without requiring additional commands
|
||||||
|
|
||||||
{width=512}
|
#### Explore the available interaction patterns:
|
||||||
|
|
||||||
|
=== "Asking for Details"
|
||||||
|
{width=512}
|
||||||
|
|
||||||
|
=== "Implementing Suggestions"
|
||||||
|
{width=512}
|
||||||
|
|
||||||
|
=== "Providing Additional Help"
|
||||||
|
{width=512}
|
||||||
|
|
||||||
|
|
||||||
### Dual publishing mode
|
### Dual publishing mode
|
||||||
|
@ -149,6 +149,8 @@ markdown_extensions:
|
|||||||
- pymdownx.emoji:
|
- pymdownx.emoji:
|
||||||
emoji_index: !!python/name:material.extensions.emoji.twemoji
|
emoji_index: !!python/name:material.extensions.emoji.twemoji
|
||||||
emoji_generator: !!python/name:material.extensions.emoji.to_svg
|
emoji_generator: !!python/name:material.extensions.emoji.to_svg
|
||||||
|
- pymdownx.tabbed:
|
||||||
|
alternate_style: true
|
||||||
- toc:
|
- toc:
|
||||||
title: On this page
|
title: On this page
|
||||||
toc_depth: 3
|
toc_depth: 3
|
||||||
|
Reference in New Issue
Block a user