mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 12:50:38 +08:00
fix: improve PR description and title field descriptions for clarity
This commit is contained in:
@ -52,8 +52,8 @@ class PRDescription(BaseModel):
|
|||||||
{%- if enable_semantic_files_types %}
|
{%- if enable_semantic_files_types %}
|
||||||
pr_files: List[FileDescription] = Field(max_items=20, description="a list of all the files that were changed in the PR, and summary of their changes. Each file must be analyzed regardless of change size.")
|
pr_files: List[FileDescription] = Field(max_items=20, description="a list of all the files that were changed in the PR, and summary of their changes. Each file must be analyzed regardless of change size.")
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
description: str = Field(description="an informative and concise description of the PR. Use bullet points. Display first the most significant changes.")
|
description: str = Field(description="a clear and concise description of the PR using bullet points (with sub-bullets if needed). Prioritize the most significant changes first")
|
||||||
title: str = Field(description="an informative title for the PR, describing its main theme")
|
title: str = Field(description="a concise and descriptive title that captures the PR's main theme")
|
||||||
=====
|
=====
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user