Skip to content

.pr_agent.toml

Victor Moura Cortez edited this page Sep 5, 2025 · 9 revisions
[config]
model="anthropic/claude-sonnet-4-20250514"
fallback_models=["anthropic/claude-3-5-sonnet-20240620", "gpt-4o"]
git_provider="github"

[pr_reviewer]
num_max_findings=10

[pr_description]
enable_semantic_files_types=true
inline_file_summary='table'
publish_description_as_comment=true

[pr_code_suggestions]
commitable_code_suggestions=true
focus_only_on_problems=false

[pr_update_changelog]
push_changelog_changes=true
extra_instructions = """\
- Use keep a changelog standard
- Group changes by type: Added, Changed, Fixed, Removed
- Only add changes below the line that starts with the "## [Unreleased]" text
"""
add_pr_link=false

[github_app]
handle_pr_actions = ['opened', 'reopened', 'ready_for_review']
pr_commands = [
    "/describe --pr_description.enable_semantic_files_types=true --pr_description.inline_file_summary=table --pr_description.publish_description_as_comment=true --pr_description.final_update_message=false",
    "/review --pr_reviewer.num_max_findings=10 --pr_reviewer.final_update_message=false",
    "/improve --pr_code_suggestions.commitable_code_suggestions=true --pr_code_suggestions.focus_only_on_problems=false --pr_code_suggestions.final_update_message=false",
    "/update_changelog --pr_update_changelog.push_changelog_changes=true --pr_update_changelog.add_pr_link=false"
]
handle_push_trigger = true
push_commands = [
    "/describe --pr_description.enable_semantic_files_types=true --pr_description.inline_file_summary=table --pr_description.publish_description_as_comment=true --pr_description.final_update_message=false",
    "/review --pr_reviewer.num_max_findings=10 --pr_reviewer.final_update_message=false",
    "/improve --pr_code_suggestions.commitable_code_suggestions=true --pr_code_suggestions.focus_only_on_problems=false --pr_code_suggestions.final_update_message=false",
    "/update_changelog"
]

Clone this wiki locally