Products & Apps

Claude Code v2.1.166 released

Original title:v2.1.166

AI summary

Claude Code v2.1.166 adds a fallbackModel setting that allows configuring up to three fallback models to try in order when the primary model is overloaded or unavailable; --fallback-model now also applies to interactive sessions. Tool name positions in deny rules now support glob patterns ("*" denies all tools), and unknown tool names trigger a warning at startup. Cross-session message relay no longer carries user permissions, and receivers reject relayed permission requests. MAX_THINKING_TOKENS=0, --thinking disabled and per-model thinking switches can disable models that have thinking enabled by default (Claude API only; third parties unchanged). When the API returns an unexpected non-retryable error, it retries once on the fallback model. Fixed issues including image processing failures, remote session hangs, JetBrains IDE terminal flickering, loss of Shift+non-ASCII characters under the Kitty keyboard protocol, PowerShell command validation hangs and orphaned background processes on macOS.

Key Takeaways

  • Claude Code v2.
  • 166 adds a fallbackModel setting that allows configuring up to three fallback models to try in…
  • --fallback-model now also applies to interactive sessions.
  • Tool name positions in deny rules now support glob patterns ("*" denies all tools),and unknown…
  • Cross-session message relay no longer carries user permissions,and receivers reject relayed…

Quick Facts

Published
Updated
Source
Claude Code:GitHub Releases(RSS)
Category
Products & Apps
AI score
64
Read the original Read the full article at the original source
Why it matters

Claude Code 重度用户该升级了,fallbackModel 让你设三个备用模型防止高峰期罢工,跨会话安全加固也让自动模式更敢放任跑了。

Related entities

Source & copyright

This article is based on curated titles and AI summaries from the AIHOT public API, with attribution and links back. Original copyright remains with the original publishers and authors; this site does not mirror full texts.

Original article · AIHOT entry

How to Cite

When citing this article, keep the title, date, and permalink, and credit Orange News as the source.

Orange News: Claude Code v2.1.166 released. June 6, 2026. https://new.nat6.net/en/news/cmq1nm1dn0hfdsltrrkyflhsr/

View all →