1
0
forked from agents/opencode

Compare commits

...

2 Commits

Author SHA1 Message Date
fa7a9e1fe7 merge upstream 2026-03-18 06:57:30 +00:00
2c645726fe chore: 精简 LiteLLM 模型配置并调整配置项顺序 2026-03-18 09:40:52 +08:00

View File

@@ -1,12 +1,9 @@
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["oh-my-opencode@latest"],
"autoupdate": false,
"model": "anthropic/claude-opus-4-6",
"small_model": "anthropic/claude-haiku-4-5",
"experimental": {
"disable_paste_summary": true
},
"plugin": ["oh-my-opencode@latest"],
"provider": {
"anthropic": {
"npm": "@ai-sdk/anthropic",
@@ -85,70 +82,34 @@
"apiKey": "{env:LITELLM_API_KEY}"
},
"models": {
// Grok
"grok-code-fast-1": {
"name": "Grok Code Fast 1",
"reasoning": true,
"modalities": { "input": ["text"], "output": ["text"] },
"limit": { "context": 256000, "output": 10000 }
},
// GLM
"glm-5": {
"name": "GLM-5",
"reasoning": true,
"modalities": { "input": ["text"], "output": ["text"] },
"limit": { "context": 204800, "output": 131072 }
},
"glm-4.7": {
"name": "GLM-4.7",
"reasoning": true,
"modalities": { "input": ["text"], "output": ["text"] },
"limit": { "context": 204800, "output": 131072 }
},
// Kimi
"kimi-k2.5": {
"name": "Kimi K2.5",
"reasoning": true,
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
"limit": { "context": 262144, "output": 262144 }
},
// MiniMax
"minimax-m2.5": {
"name": "MiniMax-M2.5",
"name": "MiniMax M2.5",
"reasoning": true,
"modalities": { "input": ["text"], "output": ["text"] },
"limit": { "context": 204800, "output": 131072 }
}
}
}
},
// Qwen
"qwen3.5-plus": {
"name": "Qwen3.5 Plus",
"reasoning": true,
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
"limit": { "context": 1000000, "output": 65536 }
},
"qwen3-max": {
"name": "Qwen3 Max",
"reasoning": false,
"modalities": { "input": ["text"], "output": ["text"] },
"limit": { "context": 262144, "output": 65536 }
},
"qwen3-coder-next": {
"name": "Qwen3 Coder Next",
"reasoning": false,
"modalities": { "input": ["text"], "output": ["text"] },
"limit": { "context": 262144, "output": 65536 }
},
"qwen3-coder-plus": {
"name": "Qwen3 Coder Plus",
"reasoning": false,
"modalities": { "input": ["text"], "output": ["text"] },
"limit": { "context": 1000000, "output": 65536 }
}
}
}
"experimental": {
"disable_paste_summary": true
}
}