uploaded OpenCode and Claude-Code Router configs

This commit is contained in:
2026-01-19 15:45:12 -07:00
commit 169bc392d4
2 changed files with 158 additions and 0 deletions

89
config.json Normal file
View File

@@ -0,0 +1,89 @@
{
"LOG": false,
"LOG_LEVEL": "debug",
"CLAUDE_PATH": "",
"HOST": "127.0.0.1",
"PORT": 3456,
"APIKEY": "",
"API_TIMEOUT_MS": 600000,
"PROXY_URL": "",
"NON_INTERACTIVE_MODE": false,
"Providers": [
{
"name": "nanogpt",
"api_base_url": "https://nano-gpt.com/api/v1legacy/chat/completions",
"api_key": "${NANOGPT_API_KEY}",
"models": [
"deepseek/deepseek-v3.2",
"deepseek/deepseek-v3.2:thinking",
"moonshotai/Kimi-K2-Instruct-0905",
"moonshotai/kimi-k2-thinking",
"zai-org/GLM-4.5-Air",
"zai-org/glm-4.7",
"zai-org/glm-4.7:thinking",
"Qwen/Qwen3-Next-80B-A3B-Instruct",
"Qwen/Qwen3-VL-235B-A22B-Instruct",
"qwen/qwen3-coder",
"qwen3-vl-235b-a22b-thinking",
"minimax/minimax-m2.1",
"openai/gpt-oss-120b",
"xiaomi/mimo-v2-flash",
"mistralai/devstral-2-123b-instruct-2512",
"mistralai/Devstral-Small-2505",
"zai-org/glm-4.7-flash",
"zai-org/glm-4.7-flash:thinking"
],
"transformer": {
"use": [
"reasoning"
]
}
}
],
"transformers": [
{
"name": "tooluse",
"models": [
"nanogpt,deepseek/deepseek-v3.2",
"nanogpt,qwen/qwen3-coder",
"nanogpt,moonshotai/Kimi-K2-Instruct-0905",
"nanogpt,moonshotai/kimi-k2-thinking"
]
}
],
"StatusLine": {
"enabled": true,
"currentStyle": "default",
"default": {
"modules": [
{
"type": "workDir",
"icon": "🧷",
"text": "{{workDirName}} ||",
"color": "bright_blue"
},
{
"type": "gitBranch",
"icon": "🌿",
"text": "{{gitBranch}} ||",
"color": "bright_green"
},
{
"type": "model",
"icon": "🤖",
"text": "{{model}} ||",
"color": "bright_yellow"
}
]
}
},
"Router": {
"default": "nanogpt,minimax/minimax-m2.1",
"background": "nanogpt,xiaomi/mimo-v2-flash",
"think": "nanogpt,deepseek/deepseek-v3.2:thinking",
"longContext": "nanogpt,zai-org/glm-4.7",
"longContextThreshold": 80000,
"webSearch": "nanogpt,zai-org/glm-4.7",
"image": "nanogpt,Qwen/Qwen3-VL-235B-A22B-Instruct"
}
}