Apply PrReviewTitles enum for algo utils file

This commit is contained in:
KennyDizi
2024-06-27 07:03:08 +07:00
parent 3d60954167
commit c185b7c610

View File

@ -90,9 +90,9 @@ def convert_to_markdown(output_data: dict, gfm_supported: bool = True, increment
}
markdown_text = ""
if not incremental_review:
markdown_text += f"## PR Reviewer Guide 🔍\n\n"
markdown_text += f"{PrReviewTitles.REGULAR} 🔍\n\n"
else:
markdown_text += f"## Incremental PR Reviewer Guide 🔍\n\n"
markdown_text += f"{PrReviewTitles.INCREMENTAL} 🔍\n\n"
markdown_text += f"⏮️ Review for commits since previous PR-Agent review {incremental_review}.\n\n"
if gfm_supported:
markdown_text += "<table>\n"