You'll notice
Model names are now trimmed and lowercased when Claude Code resolves which model a session uses
What
When Claude Code figures out which model a session should use, any resolved model name that comes back as a string is now cleaned up: extra whitespace is trimmed and the name is converted to lowercase before being used.
Why
This avoids mismatches caused by stray spaces or inconsistent capitalization in model names, so a model reference is recognized correctly regardless of how it was typed or supplied.