Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion code_puppy/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ def get_resume_message_count() -> int:
try:
configured_value = int(val) if val else 50
# Enforce reasonable bounds: minimum 1, maximum 100
return max(1, min(configured_value, 100))
return max(0, min(configured_value, 100))
Comment thread
coderabbitai[bot] marked this conversation as resolved.
except (ValueError, TypeError):
return 50

Expand Down