From dbd76ecde511d6492a8809dce91e95135362dded Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 29 Dec 2024 11:42:05 +0200 Subject: [PATCH] refactor: improve file changes title description length guidance --- pr_agent/settings/pr_description_prompts.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr_agent/settings/pr_description_prompts.toml b/pr_agent/settings/pr_description_prompts.toml index 37c9745c..fc522c31 100644 --- a/pr_agent/settings/pr_description_prompts.toml +++ b/pr_agent/settings/pr_description_prompts.toml @@ -43,7 +43,7 @@ class FileDescription(BaseModel): {%- if include_file_summary_changes %} changes_summary: str = Field(description="concise summary of the changes in the relevant file, in bullet points (1-4 bullet points).") {%- endif %} - changes_title: str = Field(description="one-line summary capturing the main theme of changes in the file") + changes_title: str = Field(description="one-line summary (5-10 words) capturing the main theme of changes in the file") label: str = Field(description="a single semantic label that represents a type of code changes that occurred in the File. Possible values (partial list): 'bug fix', 'tests', 'enhancement', 'documentation', 'error handling', 'configuration changes', 'dependencies', 'formatting', 'miscellaneous', ...") {%- endif %}