.pr_agent.toml - iNavFlight/inav GitHub Wiki

# Use this page: 'https://qodo-merge-docs.qodo.ai/ai_search/' to ask questions about the configuration options.

[config]
duplicate_prompt_examples = false
# seed
seed=-1 # set positive value to fix the seed (and ensure temperature=0)
temperature=0.2



[pr_reviewer] # /review #
# enable/disable features
require_score_review=false
require_tests_review=false
require_estimate_effort_to_review=true
require_security_review=false
require_todo_scan=false
require_ticket_analysis_review=true

# general options
publish_output_no_suggestions=false # Set to "false" if you only need the reviewer's remarks (not labels, not "security audit", etc.) and want to avoid noisy "No major issues detected" comments.
# extra_instructions = "Prefix each AI-generated comment with the text 'The following is generated by an AI tool. It may be useful, or can be ignored if it is not useful.'"
num_max_findings = 3
final_update_message = true




[pr_description] # /describe #
add_original_user_description=true
generate_ai_title=false
use_bullet_points=true
extra_instructions = """
Prefix the description with 'This description is generated by an AI tool. It may have inaccuracies'
Add only the following labels, if they apply: 'Bugfix', 'New Target', 'New Feature'
"""
enable_pr_type=true


[pr_code_suggestions] # /improve #
max_context_tokens=24000

commitable_code_suggestions = false
focus_only_on_problems=true
extra_instructions = "immediately after the heading 'PR Reviewer Guide', add the following text: 'The following suggestions are generated by an AI tool. They may be useful, or can be ignored if not useful.'"
persistent_comment=true
publish_output_no_suggestions=false

# enable to apply suggestion 💎
apply_suggestions_checkbox=true
# suggestions scoring
suggestions_score_threshold=5 # [0-10]| recommend not to set this value above 8, since above it may clip highly relevant suggestions


# Suggestion impact 💎
publish_post_process_suggestion_impact=true
wiki_page_accepted_suggestions=true
allow_thumbs_up_down=false

# [pr_custom_prompt] # /custom_prompt #
# prompt = """\
# The code suggestions should focus only on the following:
# - ...
# - ...
# ...
# """
# suggestions_score_threshold=0
# num_code_suggestions_per_chunk=3
# self_reflect_on_custom_suggestions=true
# enable_help_text=false


[pr_add_docs] # /add_docs #
extra_instructions = ""
docs_style = "Sphinx" # "Google Style with Args, Returns, Attributes...etc", "Numpy Style", "Sphinx Style", "PEP257", "reStructuredText"
file = ""              # in case there are several components with the same name, you can specify the relevant file
class_name = ""        # in case there are several methods with the same name in the same file, you can specify the relevant class name

[pr_update_changelog] # /update_changelog #
push_changelog_changes=false
extra_instructions = "Be concise with the changelog descriptions"
add_pr_link=true
skip_ci_on_push=true

[auto_best_practices]
extra_instructions = "Only show auto best practices for which there is high confidence that they are likely to be helpful"