What can you Configure?

Why configure Qodo Merge?

Configuring Qodo Merge lets you shape Qodo Merge to match your team's needs:

  • Automate the right tools at the right time.

  • Filter out noise from irrelevant PRs.

  • Guide Qodo Merge to respond in a way that aligns with your practices.

  • Maintain consistency across projects.

  • Improve the quality and relevance of the suggestions you get.

What can you configure?

  • General Settings Set the response language, control log verbosity, and set ignores.

  • Tool Behavior Customize how each tool works. For example, choose which sections to show in /review, set the number or style of suggestions in /improve, or change the output format for /describe.

  • Automation Decide which tools should run automatically when a PR is opened or updated.

  • AI Model Pick the main AI model used by Qodo Merge, set fallback models, and configure provider-specific options such as API keys or endpoints.

  • Configuration Methods Apply settings using a wiki page, a local .pr_agent.toml file in the repo, a global pr-agent-settings repo, command-line flags, or inline PR comments.

  • Extra Instructions Add free-text guidance to customize how tools respond.

  • Best Practices Define custom coding standards in a best_practices.md file to guide the /improve tool.

  • Integrations Connect to Jira to pull in ticket context or enable RAG-based context enrichment.

  • Qodo Merge Features Turn features on or off, including suggestion tracking, auto-approval, CI feedback, interactive suggestion application, and custom labels in the repo UI.

Existing configuration files

configuration.toml is the main file that contains all the default settings and possible configurations for Qodo Merge. It is part of the application's core files.

.pr_agent.toml is a file name used for user-defined configurations that override the defaults in configuration.toml.

You can create a .pr_agent.toml file to customize settings at different levels.

Essentially, configuration.toml defines what can be configured, while .pr_agent.toml files are how you actually customize those configurations for your specific needs, typically by only including the settings you wish to change.

How to set configurations

You can set configurations in three ways:

  1. Local configuration file Upload a .pr_agent.toml file to the root of your repository. The settings will apply to PRs created after the file is uploaded.

  2. Global configuration file At the organization level, create a repository called pr-agent-settings. The .pr_agent.toml file inside will serve as the default configuration for all repositories under the organization, unless overridden by a local configuration or a wiki config.

  3. Wiki configuration page Create a .pr_agent.toml page in the repository’s wiki. This method doesn’t require committing changes to the repo and is easy to update at any time.

Precedence of Configurations

Configurations follow an order of precedence:

  • Wiki configurations override local configurations.

  • Local configurations override global configurations.

Last updated

Was this helpful?