Proxy Layer Upgrade & Reverse Translation (Claude recent update issue that change format to prevent Qwen routing)
Budget: $10 – $30 USD
i am looking for a china / Claude country banned user recently to carry out a fix in the routing to Qwen (as fall back plan to VPN ban). please share with me your solutions (if better than this) and help me to implement. Pls let me know when was the time you fix the problem.
Currently, my local terminal environment routes traffic through a custom proxy to leverage a fallback Qwen model to bypass strict regional geofencing (Hong Kong). After upgrading the official Claude Code CLI client to the latest version (v2.1.167), the terminal now hangs indefinitely on simple prompts (e.g., "hi") and throws an API_TIMEOUT_MS loop.The ProblemThe issue is not network-related, as my system's connection is fully tunneled and stable. The timeout occurs because Claude Code v2.1.167+ enforces the new Anthropic Agentic Tool-Calling / Messages protocol instead of standard Chat Completions. Our current proxy drops or misinterprets these advanced tool blocks (file reads, bash commands, etc.), causing the client application to freeze while waiting for a matching format structure.Project Scope & DeliverablesI do NOT want to connect to Anthropic's endpoints directly due to account suspension and VPN IP block risks. The proxy architecture must remain completely intact. You will be responsible for:Upgrading the Local Proxy Layer: Update my local routing server using community-vetted tools like Claude Code Router (CCR) or a custom translation script to seamlessly map Anthropic's agentic tool-calling payload into an OpenRouter or OpenAI-compatible format (such as Qwen 2.5/3.5 schemas).Reverse Translation: Ensure the proxy successfully wraps the Qwen response back into valid Anthropic blocks so the native v2.1.167 CLI processes it instantly.
Currently, my local terminal environment routes traffic through a custom proxy to leverage a fallback Qwen model to bypass strict regional geofencing (Hong Kong). After upgrading the official Claude Code CLI client to the latest version (v2.1.167), the terminal now hangs indefinitely on simple prompts (e.g., "hi") and throws an API_TIMEOUT_MS loop.The ProblemThe issue is not network-related, as my system's connection is fully tunneled and stable. The timeout occurs because Claude Code v2.1.167+ enforces the new Anthropic Agentic Tool-Calling / Messages protocol instead of standard Chat Completions. Our current proxy drops or misinterprets these advanced tool blocks (file reads, bash commands, etc.), causing the client application to freeze while waiting for a matching format structure.Project Scope & DeliverablesI do NOT want to connect to Anthropic's endpoints directly due to account suspension and VPN IP block risks. The proxy architecture must remain completely intact. You will be responsible for:Upgrading the Local Proxy Layer: Update my local routing server using community-vetted tools like Claude Code Router (CCR) or a custom translation script to seamlessly map Anthropic's agentic tool-calling payload into an OpenRouter or OpenAI-compatible format (such as Qwen 2.5/3.5 schemas).Reverse Translation: Ensure the proxy successfully wraps the Qwen response back into valid Anthropic blocks so the native v2.1.167 CLI processes it instantly.