Skip to content

Commit

Permalink
fix: enhance displaying type of change
Browse files Browse the repository at this point in the history
Improved the display of the type of change by including its description for better clarity and understanding.
  • Loading branch information
liblaf committed Mar 16, 2024
1 parent 09a8936 commit 4273518
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/aic/prompt/conventional.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ def instructions(self) -> str:
content += f" - {t}: {t.description}\n"
pass
else:
content += f"- The type of change is `{self.type_}`.\n"
content += (
f"- The type of change is `{self.type_}`: {self.type_.description}.\n"
)

if self.scope is None:
content += "- Determine the scope of change (e.g. component of file name) or omit the scope of change based on the changes.\n"
Expand Down

0 comments on commit 4273518

Please sign in to comment.