mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-05 13:20:39 +08:00
docs: improve configuration options documentation with clearer formatting and links
This commit is contained in:
@ -1,8 +1,4 @@
|
|||||||
The different tools and sub-tools used by Qodo Merge are adjustable via a configuration file.
|
The different tools and sub-tools used by Qodo Merge are adjustable via a Git configuration file.
|
||||||
|
|
||||||
In addition to general configuration options, each tool has its own configurations. For example, the `review` tool will use parameters from the [pr_reviewer](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml#L16) section in the configuration file.
|
|
||||||
See the [Tools Guide](https://qodo-merge-docs.qodo.ai/tools/) for a detailed description of the different tools and their configurations.
|
|
||||||
|
|
||||||
There are three main ways to set persistent configurations:
|
There are three main ways to set persistent configurations:
|
||||||
|
|
||||||
1. [Wiki](https://qodo-merge-docs.qodo.ai/usage-guide/configuration_options/#wiki-configuration-file) configuration page 💎
|
1. [Wiki](https://qodo-merge-docs.qodo.ai/usage-guide/configuration_options/#wiki-configuration-file) configuration page 💎
|
||||||
@ -11,10 +7,16 @@ There are three main ways to set persistent configurations:
|
|||||||
|
|
||||||
In terms of precedence, wiki configurations will override local configurations, and local configurations will override global configurations.
|
In terms of precedence, wiki configurations will override local configurations, and local configurations will override global configurations.
|
||||||
|
|
||||||
!!! tip "Tip1: edit only what you need"
|
|
||||||
|
For a list of all possible configurations, see the [configuration options](https://github.com/qodo-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml/) page.
|
||||||
|
In addition to general configuration options, each tool has its own configurations. For example, the `review` tool will use parameters from the [pr_reviewer](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml#L16) section in the configuration file.
|
||||||
|
|
||||||
|
!!! tip "Tip1: Edit only what you need"
|
||||||
Your configuration file should be minimal, and edit only the relevant values. Don't copy the entire configuration options, since it can lead to legacy problems when something changes.
|
Your configuration file should be minimal, and edit only the relevant values. Don't copy the entire configuration options, since it can lead to legacy problems when something changes.
|
||||||
!!! tip "Tip2: show relevant configurations"
|
!!! tip "Tip2: Show relevant configurations"
|
||||||
If you set `config.output_relevant_configurations=true`, each tool will also output in a collapsible section its relevant configurations. This can be useful for debugging, or getting to know the configurations better.
|
If you set `config.output_relevant_configurations` to True, each tool will also output in a collapsible section its relevant configurations. This can be useful for debugging, or getting to know the configurations better.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Wiki configuration file 💎
|
## Wiki configuration file 💎
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user