ZhFix

iriyaverma@iriyaverma

Translate Chinese LLM errors to English and get actionable solutions — supports DeepSeek, Qwen, Baichuan, Yi, GLM, Kimi, and more.

Readme

openclaw-zhfix

Created by Riya Verma (@iriyaverma)

Translate Chinese LLM error messages to English and get actionable solutions. Supports DeepSeek, Qwen, Kimi, GLM, Baichuan, Yi, and generic Chinese API errors.

Why This Exists

Chinese LLM providers (DeepSeek, Qwen, Kimi, etc.) often return error messages in Chinese. If you don't read Chinese, you're stuck copying errors into Google Translate and guessing what went wrong. This plugin solves that instantly — paste the error, get the English translation and step-by-step fixes.

Install

bash
openclaw plugins install clawhub:openclaw-zhfix

No API keys or config needed. Works out of the box.

Agent Tools

ToolDescription
zh_translateTranslate a Chinese error message and get solutions
zh_explainParse a full error log/stack trace, extract and translate all Chinese parts
zh_errorsBrowse all known error patterns by provider or category
zh_providersList supported providers and error coverage

Examples

Talk to the agent naturally:

  • "What does this error mean: 认证失败,请检查API密钥"
  • "Translate this DeepSeek error: 请求过于频繁,请稍后再试"
  • "I got this from Qwen: 触发流量控制 — what should I do?"
  • "Parse this error log: [paste full stack trace with Chinese]"
  • "Show me all known DeepSeek errors"
  • "What auth errors can happen with Chinese LLMs?"

Supported Providers

ProviderKnown ErrorsCommon Issues
DeepSeek7auth, rate-limit, billing, content, server, input, model
Qwen (Alibaba)5auth, rate-limit, input, content, server
Kimi (Moonshot)2auth, input
GLM (Zhipu AI)2auth, config
Baichuan1billing
Yi (01.AI)1auth
Generic7network, server, config, rate-limit — matches any provider

Total: 25 error patterns with translations and solutions.

Error Categories

CategoryWhat It Means
authAPI key / authentication issues
rate-limitToo many requests
billingAccount balance / quota
contentSafety filter / content policy
serverProvider-side errors, overload, maintenance
inputToken limits, context overflow
modelModel not found / deprecated
networkConnection timeout, DNS
configBad parameters, region restrictions

Auto-Detection

The plugin also registers an after_tool_call hook that automatically detects Chinese text in error responses from any tool. When it finds a known error pattern, it appends the English translation and top solution inline.

CLI

bash
openclaw zhfix providers    # list supported providers
openclaw zhfix errors       # list all known errors
openclaw zhfix errors -p deepseek   # filter by provider
openclaw zhfix categories   # list error categories

Contributing Errors

Found a Chinese LLM error that's not in the database? Open an issue or PR at github.com/iriyaverma/openclaw-zhfix with:

  1. The original Chinese error message
  2. Which provider it came from
  3. What it means / what fixed it

License

MIT