cli-v3.0.37
ClineSummary
This release significantly improves reliability when using weaker models by gracefully handling their malformed tool calls. Additionally, the system now correctly communicates plan/act mode switches to the model mid-session and fixes an issue causing unexpected restarts when switching modes in empty sessions.
New Features
- Enabled models to gracefully handle malformed tool calls (wrong argument types or truncated JSON) from weaker models like DeepSeek, allowing execution instead of erroring out.
Bug Fixes
- Fixed dropped plan/act mode notices from prompts sent to the model.
- Fixed an unexpected restart triggered by switching modes in an empty session.
Improvements
- Plan/act mode switches are now visible to the model, ensuring it recognizes mode changes made mid-session.