Anthropic: Claude Code v2.1.181 introduces /config syntax and Bun 1.4 with auto-retry on API failures
Anthropic has released Claude Code v2.1.181 with a new /config key=value syntax for setting configuration directly from the prompt and an upgrade of the Bun runtime to version 1.4. The release adds automatic retry on API connection drops during the 'thinking' phase, hides inactive subagents after 30 seconds, and speeds up startup by 120 ms in fresh environments. Prompt caching with a custom ANTHROPIC_BASE_URL and Foundry has also been fixed.
This article was generated using artificial intelligence from primary sources.
Anthropic has released Claude Code v2.1.181, an update to the CLI tool for agentic coding focused on configuration and reliability.
Configuration directly from the prompt
The headline addition is the /config key=value syntax, which lets users change any setting directly from the prompt without manually editing configuration files. In addition, the Bun runtime — the JavaScript environment the tool runs on — has been upgraded to version 1.4. These changes reduce friction in day-to-day work because users can adjust configuration inline as they go.
Reliability and speed
The release eliminates several sources of frustration. Automatic retry has been added for API connection drops that occur during the “thinking” phase, so interrupted requests are no longer lost. The subagent panel now hides inactive agents after 30 seconds and limits the display to five rows, and startup has been sped up by 120 ms in fresh environments along with a fix for frozen terminals. Prompt caching with a custom ANTHROPIC_BASE_URL and Foundry has also been fixed, which matters for users working through their own endpoints.
Frequently Asked Questions
- What does the /config syntax bring?
- The ability to set any configuration directly from the prompt using the /config key=value form.
- What is fixed in v2.1.181?
- Auto-retry on API drops during the 'thinking' phase, faster startup by 120 ms, and prompt caching with ANTHROPIC_BASE_URL and Foundry.
Related news
GitHub: Copilot desktop app now generally available — parallel sessions and cloud automations
IBM: Study Reveals 91% of Organizations Lack Full Visibility into AI Dependencies, Lock-In Serious
Anthropic: Agentic Coding Study — Users Make 70% of Planning Decisions, Claude 80% of Execution Decisions