Configuration Reference
All configuration is through environment variables. There are no config files.
Required
| Variable |
Description |
WUMING_FORGEJO_TOKEN |
Forgejo API token with read-repo and write-issues permissions. |
Backend selection
| Variable |
Default |
Description |
WUMING_BACKEND |
deepseek |
Which AI backend to use: deepseek, anthropic, or ollama. |
WUMING_DEEPSEEK_KEY |
— |
DeepSeek API key. Required when WUMING_BACKEND=deepseek. |
WUMING_ANTHROPIC_KEY |
— |
Anthropic API key. Required when WUMING_BACKEND=anthropic. |
WUMING_OLLAMA_URL |
— |
Ollama base URL (e.g. http://localhost:11434). Required when WUMING_BACKEND=ollama. |
Agent configuration
| Variable |
Default |
Description |
WUMING_AGENTS |
code |
Comma-separated list of agents to run. Valid names: code, config, docs, security, shell. Append :model to any name to set the model for that agent (e.g. code:deepseek-chat,docs). Model names are backend-specific. |
WUMING_SKIP_PATHS |
— |
Additional glob patterns (comma-separated) for files to exclude from review. Applied on top of each agent's built-in skip list. |
Tuning
| Variable |
Default |
Description |
WUMING_MAX_TOKENS |
2048 |
Maximum output tokens per backend call. Automatically raised to 16384 for any agent using the deepseek-reasoner model. |
WUMING_MAX_DIFF_LINES |
0 |
Maximum raw diff size in lines. When the diff exceeds this value (and it is greater than 0), WuMing posts a single plain PR comment and exits without inline review. Set to 0 to disable. |
WUMING_PROGRESS |
— |
Progress output control. true or 1 forces it on; false or 0 forces it off. When unset, auto-detects: enabled when stdout is a TTY and the CI environment variable is absent. |
WUMING_FORGEJO_URL |
https://codeberg.org |
Forgejo instance base URL. Override for self-hosted instances. |
Woodpecker CI variables (injected automatically)
WuMing reads these from the Woodpecker environment. You do not set them manually.
| Variable |
Description |
CI_REPO_OWNER |
Repository owner (user or organisation). |
CI_REPO_NAME |
Repository name. |
CI_COMMIT_PULL_REQUEST |
PR number. Absent on non-PR pipeline events. |
CI_COMMIT_SHA |
Head commit SHA. |