mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 21:00:40 +08:00
update README.md
This commit is contained in:
@ -1,19 +1,12 @@
|
|||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
The different tools and sub-tools used by CodiumAI pr-agent are easily configurable via the configuration file: `/pr-agent/settings/configuration.toml`.
|
The different tools and sub-tools used by CodiumAI pr-agent are adjustable via the configuration file: `/pr-agent/settings/configuration.toml`.
|
||||||
##### Git Provider:
|
|
||||||
You can select your git_provider with the flag `git_provider` in the `config` section
|
|
||||||
|
|
||||||
##### PR Reviewer:
|
To edit the configuration of any tool, just add `--config_path=<value>` to you command.
|
||||||
|
For example if you want to edit online the `pr_reviewer` configurations, you can run:
|
||||||
|
```
|
||||||
|
/review --pr_reviewer.extra_instructions="focus on the file xyz" --require_score_review=false ...
|
||||||
|
```
|
||||||
|
|
||||||
|
Any configuration section in `configuration.toml` file can be similarly edited.
|
||||||
|
|
||||||
You can enable/disable the different PR Reviewer abilities with the following flags (`pr_reviewer` section):
|
|
||||||
```
|
|
||||||
require_focused_review=true
|
|
||||||
require_score_review=true
|
|
||||||
require_tests_review=true
|
|
||||||
require_security_review=true
|
|
||||||
```
|
|
||||||
You can contol the number of suggestions returned by the PR Reviewer with the following flag:
|
|
||||||
```inline_code_comments=3```
|
|
||||||
And enable/disable the inline code suggestions with the following flag:
|
|
||||||
```inline_code_comments=true```
|
|
||||||
|
Reference in New Issue
Block a user