feat: Clarify PRType label member usage in pr_description_prompts.toml

This commit is contained in:
mrT23
2024-01-05 17:03:14 +02:00
parent 6d18a0c843
commit 3628786a61

View File

@ -44,7 +44,7 @@ Class FileDescription(BaseModel):
{%- endif %}
Class PRDescription(BaseModel):
type: List[PRType] = Field(description="one or more types that describe the PR content. Return the label value, not the name.")
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.")
{%- endif %}