Add changes title of files and improve table style and alignments

This commit is contained in:
Hussam.lawen
2024-01-21 13:43:37 +02:00
parent 2430a1a608
commit 8d513e078a
2 changed files with 53 additions and 23 deletions

View File

@ -39,7 +39,8 @@ class PRType(str, Enum):
Class FileDescription(BaseModel):
filename: str = Field(description="the relevant file full path")
changes_summary: str = Field(description="minimal and concise summary of the changes in the relevant file")
changes_summary: str = Field(description="concise summary of the changes in the relevant file, in bullet points (1-4 bullet points).")
changes_title: str = Field(description="an informative title for the changes in the files, describing its main theme (5-10 words).")
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 %}
@ -68,6 +69,8 @@ pr_files:
...
changes_summary: |
...
changes_title: |
...
label: |
...
...