mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
Add intro text option for PR reviews in configuration and utils
This commit is contained in:
parent
f3fd439d47
commit
d77a819d92
2 changed files with 4 additions and 0 deletions
|
|
@ -120,6 +120,9 @@ def convert_to_markdown_v2(output_data: dict,
|
|||
if not output_data or not output_data.get('review', {}):
|
||||
return ""
|
||||
|
||||
if get_settings().get("pr_reviewer.enable_intro_text", False):
|
||||
markdown_text += f"Here are some relevant observations to aid the review process:\n\n"
|
||||
|
||||
if gfm_supported:
|
||||
markdown_text += "<table>\n"
|
||||
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@ enable_review_labels_effort=true
|
|||
require_all_thresholds_for_incremental_review=false
|
||||
minimal_commits_for_incremental_review=0
|
||||
minimal_minutes_for_incremental_review=0
|
||||
enable_intro_text=true
|
||||
enable_help_text=false # Determines whether to include help text in the PR review. Enabled by default.
|
||||
# auto approval
|
||||
enable_auto_approval=false
|
||||
|
|
|
|||
Loading…
Reference in a new issue