mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 11:50:37 +08:00
Rename PrReviewTitle enum
This commit is contained in:
@ -23,7 +23,7 @@ class ModelType(str, Enum):
|
||||
REGULAR = "regular"
|
||||
TURBO = "turbo"
|
||||
|
||||
class PrReviewTitles(str, Enum):
|
||||
class PrReviewTitle(str, Enum):
|
||||
REGULAR = "## PR Reviewer Guide"
|
||||
INCREMENTAL = "## Incremental PR Reviewer Guide"
|
||||
|
||||
@ -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"{PrReviewTitles.REGULAR} 🔍\n\n"
|
||||
markdown_text += f"{PrReviewTitle.REGULAR} 🔍\n\n"
|
||||
else:
|
||||
markdown_text += f"{PrReviewTitles.INCREMENTAL} 🔍\n\n"
|
||||
markdown_text += f"{PrReviewTitle.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"
|
||||
|
Reference in New Issue
Block a user