ProductsOfficial

Claude Code v2.1.174 更新:修复模型选择器、滚动加速等多项问题

v2.1.174

Why we picked it

Claude Code 重度用户终于不用再被模型选择器迷惑了——Opus/Sonnet 现在正确显示,背景会话的诡异环境变量问题也修了,建议所有使用 Claude Code 的开发者更新。

Anthropic 发布了 Claude Code v2.1.

Body

174 版本,主要修复了多个影响用户体验的 Bug。其中包括 /model 选择器不再隐藏 Default 解析的模型家族,Opus、Sonnet 等模型现在会正确显示;

修复了背景会话继承错误环境变量导致的问题;修复了 macOS/Linux 上退出时 1-2 秒的卡顿;

修复了 git 提交 co-author 显示错误模型名的问题。此外,新增了 wheelScrollAccelerationEnabled 设置以禁用全屏模式下的鼠标滚轮加速,VSCode 版本也增加了使用量归因面板。

Original · Claude Code: GitHub Releases

v2.1.174

What's changed Added wheelScrollAccelerationEnabled setting to disable mouse-wheel scroll acceleration in fullscreen mode Fixed the /model picker hiding the model family that Default resolves to — Opus now appears as its own row on Max/Team Premium/Enterprise plans, Sonnet on Pro/Team plans, and Opus on pay-as-you-go API accounts Fixed /model picker showing a hardcoded Sonnet version label when ANTHROPIC_DEFAULT_SONNET_MODEL pins a different Sonnet Fixed the "Fable 5 is now consuming usage credits" banner incorrectly showing for enterprise accounts with usage-based billing Fixed Bedrock GovCloud regions ( us-gov-* ) deriving the wrong inference profile prefix ( global instead of us-gov ), causing 400 errors on derived model IDs Fixed background sessions inheriting another session's ANTHROPIC_* provider env (gateway URL, custom headers, /model aliases) from the shell that started the background daemon Fixed a 1-2 second pause when exiting Claude Code shortly after a shell command was interrupted or killed on macOS and Linux Fixed git commit co-author attribution showing an incorrect model name for some models Fixed the /advisor dialog pre-selecting a saved advisor model that is blocked by the availableModels allowlist Fixed skill hot-reload re-sending the entire skill listing when a single skill changed; only changed skills are now re-announced Fixed Workflow tool agent() subagents missing per-agent attribution headers [VSCode] Added usage attribution to the Account & usage dialog ( /usage ) showing cache misses, long context, subagents, and per-skill/agent/plugin/MCP breakdowns over the last 24h or 7d Fixed pre-warmed background workers failing with "Could not resolve authentication method" when claimed after sitting idle

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Products" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Claude Code, bug fixes, developer tools, model routing.

Primary source verification: published directly by Claude Code: GitHub Releases with first-party authority. Cross-source corroboration: 11 independent sources have covered this development (including AI Will, 歸藏(guizang.ai), Genspark), confirming industry-wide signal strength.

Spotted an error in the summary or translation? Tell us