diff --git a/CONFIGURATION.md b/CONFIGURATION.md index 6b47dbe7..76274caa 100644 --- a/CONFIGURATION.md +++ b/CONFIGURATION.md @@ -1,19 +1,12 @@ ## Configuration -The different tools and sub-tools used by CodiumAI pr-agent are easily configurable 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 +The different tools and sub-tools used by CodiumAI pr-agent are adjustable via the configuration file: `/pr-agent/settings/configuration.toml`. -##### PR Reviewer: +To edit the configuration of any tool, just add `--config_path=` 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```