Increase your model thinking capacity (it makes it slower but it worth)Β `.claude/settings.json`Β open your settings.json and put
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"includeCoAuthoredBy": false,
"env": {
...
"MAX_THINKING_TOKENS": "31999", // <====== THIS ONE
"CLAUDE_CODE_MAX_OUTPUT_TOKENS": "32000",
...
},
...