v2.17.4
v2.17.4 — Fix AI not generating commit body
🐛 Fixes
- AI was generating subject-only commits. The 8B model ignored the body instruction because the system prompt was too long and had conflicting rules: 'Output ONLY the raw commit message' vs 'Body is REQUIRED'
- Simplified system prompt: removed redundant rules (scope, linter, merge, inventing details), kept essential format + language prompt + examples
- Moved format instruction to user prompt: now explicitly says \Write a commit (subject + blank line + body explaining why)\
- Added body examples back: each language has a 1-line body example (was missing after 2.17.3 simplification)
- Tested with auth.py change: produced \eat: add login function stub\n\nThis commit adds a stub for the login function in auth.py...\
🔧 Internal
- Removed debug logging from call_groq (raw response logging was temporary)
- ai_commit.py tarball size: 42.5kB
Full Changelog: v2.17.3...v2.17.4