Skip to content

Bash(...) Waiting... Claude Code

Quick fix

Downgrade Claude Code to v2.1.104 or v2.0.64 (admin required), or switch to a compatible provider such as Alibaba Cloud Bailian.

Error output
Bash(echo test)
Waiting...

When using Claude Code with an Nvidia provider, plain-text chat works, but tool calls such as Bash hang. This is not caused by a broken local environment or cc-switch. Some models on the Nvidia platform (such as qwen/qwen3.5-397b-a17b and moonshotai/kimi-k2-instruct) cannot correctly recognize or generate the tool call format and response message IDs required by Claude Code. Newer Claude Code versions (such as v2.1.143) have poorer compatibility, causing the request to hang.

  1. Downgrade Claude Code to @anthropic-ai/[email protected]. This version has better compatibility with automated tasks and usually works without administrator privileges.

  2. If v2.1.104 forces login, try installing claude-code v2.0.64, but it must be run with administrator privileges to call tools correctly.

  3. If the downgraded version still cannot call tools, switch the upstream provider in cc-switch to a platform with better tool use support, such as Alibaba Cloud Bailian.

ToolClaude Code
Version2.1.143
PlatformsWindows
Why does switching to Alibaba Cloud Bailian work with the same configuration?
Alibaba Cloud Bailian models can correctly parse the tool call format used by Claude Code. Some models under the Nvidia provider have compatibility defects and cannot generate correct tool use messages.
What if tool calls still fail after downgrading to v2.1.104?
This usually means the model itself does not support the Claude Code tool use format. Switch to a more compatible provider such as Alibaba Cloud Bailian.

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.