I recently switched back to Sonnet 3.7 after noticing that the latest Claude Code update was causing me to go through more attempts to get my code working as I wanted. I found Sonnet 3.7 much better for generating reasonable code and fixing bugs with fewer tries. Has anyone else experienced something similar? By the way, for anyone wondering how to switch back, I used the command `claude --model claude-3-7-sonnet-latest`. You can check out the model versions in the documentation for more details.
3 Answers
I feel you on this! I've noticed that the new update tends to miss details, which leads to more human-like errors like not closing strings or forgetting to update all instances of a variable. Even when I provide lots of context, it seems to need very specific prompts to understand the code. While 3.7 had its quirks, it generally read everything just fine and compiled without hassle. Sometimes, treating it like a junior developer works better!
I've encountered similar issues while using Claude 4 Sonnet. I get tons of "Diff Edit Mismatch" errors that I rarely saw with 3.7. It changes parts of my code that already work just fine, which is frustrating. I'm hoping it's just a prompting issue that can be resolved, but for now, I'm sticking with 4 Opus instead!
I'm in the same boat – I switched to Sonnet 4 and started seeing it suggest weird changes to my code for no reason. 3.7 felt like a smoother experience that helped me get things done faster. I'm definitely considering going back if these issues persist!
Yeah, I find myself stuck more often with 4. I'm really interested in how to switch back to 3.7 as well.
If you want to switch back, remember to use the command `claude --model claude-3-7-sonnet-latest`. It should help you out!