Files
omo-config/opencode.jsonc
2026-08-17 17:11:32 +08:00

51 lines
1.3 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"plugin": ["oh-my-openagent"],
"provider": {
"litellm-local": {
"npm": "@ai-sdk/openai-compatible",
"name": "litellm-proxy (abee)",
"options": {
"baseURL": "http://127.0.0.1:4000/v1",
"apiKey": "***"
},
"models": {
"default": {
"name": "Qwen3 35B (本地, 默认, thinking off)",
"options": {
"chat_template_kwargs": {"enable_thinking": false}
}
},
"coding": {
"name": "Kimi K2 (云端 coding)"
},
"analysis": {
"name": "Qwen3.7 Plus (云端 analysis)"
},
"minimax-m3": {
"name": "MiniMax-M3 (本会话同款)"
}
}
}
},
"model": "litellm-local/analysis",
"agent": {
"build": {
"model": "litellm-local/coding",
"prompt": "{file:./.opencode/agents/build.md}"
},
"plan": {
"model": "litellm-local/analysis",
"prompt": "{file:./.opencode/agents/plan.md}"
},
"manager": {
"model": "litellm-local/analysis",
"prompt": "{file:./.opencode/agents/manager.md}"
},
"review": {
"model": "litellm-local/analysis",
"prompt": "{file:./.opencode/agents/review.md}"
}
}
}