This commit is contained in:
mrT23
2023-11-13 12:14:18 +02:00
parent f5c6dd55b8
commit a8dddd1999
2 changed files with 8 additions and 6 deletions

View File

@ -38,7 +38,7 @@ Class PRDescription(BaseModel):
type: List[PRType] = Field(description="one or more types that describe the PR type")
description: str = Field(description="an informative and concise description of the PR. {%- if use_bullet_points %} Use bullet points. {% endif %}")
{%- if enable_custom_labels %}
labels: List[Label] = Field(description="one or more custom labels that describe the PR")
labels: List[Label] = Field(min_items=0, description="custom labels that describe the PR")
{%- endif %}
main_files_walkthrough: List[FileWalkthrough] = Field(max_items=10)
'