Skip to content

Commit bf8fa53

Browse files
committed
🔖 Bump version to 0.28.2 and add default to CommitMessage model
Add explicit default=None to CommitMessage model's git_message_detail field for better type clarity and consistency
1 parent 8b4dfab commit bf8fa53

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

aicodebot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version = "0.28.1"
1+
version = "0.28.2"
22
AICODEBOT_NO_EMOJI = "AICodeBot"
33
AICODEBOT = f"🤖 {AICODEBOT_NO_EMOJI}"

aicodebot/commands/commit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
class CommitMessage(BaseModel):
2020
# Note we get better results if the message_detail is first.
2121
git_message_detail: str | None = Field(
22+
default=None,
2223
description="An optional detailed explanation of the changes made in this commit,"
2324
" if the summary doesn't provide enough context",
2425
)

0 commit comments

Comments
 (0)