[Bug] Invalid environment config values cause runtime error instead of validation
Resolved 💬 1 comment Opened Apr 8, 2026 by philipmuir Closed Apr 9, 2026
Bug Description
❯ "env": {
"CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING": 1,
"MAX_THINKING_TOKENS": 150000
},
is this block correct for your environment config
⏺ H.toLowerCase is not a function. (In 'H.toLowerCase()', 'H.toLowerCase' is undefined)
wrong values in claude json config throws an error and stops the loop, nice to have would be an error message saying json schema validation failed - values need to be strings.
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.94
- Feedback ID: 902c1239-0d47-40c6-9109-144f0d93a339
Errors
[]This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗