From d0948329d345672cacf77e76728c5cf0ec0a9931 Mon Sep 17 00:00:00 2001 From: Kenny Dizi Date: Wed, 10 Jul 2024 14:37:52 +0700 Subject: [PATCH] Fix typo in PRDescription class --- 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 9c58eb3d..f85c9e7b 100644 --- a/pr_agent/settings/pr_description_prompts.toml +++ b/pr_agent/settings/pr_description_prompts.toml @@ -48,7 +48,7 @@ class FileDescription(BaseModel): class PRDescription(BaseModel): type: List[PRType] = Field(description="one or more types that describe the PR content. Return the label member value (e.g. 'Bug fix', not 'bug_fix')") {%- if enable_semantic_files_types %} - pr_files[List[FileDescription]] = Field(max_items=15, description="a list of the files in the PR, and their changes summary.") + pr_files: [List[FileDescription]] = Field(max_items=15, description="a list of the files in the PR, and their changes summary.") {%- endif %} description: str = Field(description="an informative and concise description of the PR. Use bullet points. Display first the most significant changes.") title: str = Field(description="an informative title for the PR, describing its main theme")