chore: 更新 OpenCode 模型配置
This commit is contained in:
+8
-5
@@ -2,10 +2,11 @@
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"plugin": ["oh-my-openagent@latest"],
|
||||
"autoupdate": false,
|
||||
"model": "anthropic/claude-opus-4-6",
|
||||
"model": "anthropic/claude-opus-4-7",
|
||||
"small_model": "openai/gpt-5.4-mini",
|
||||
"provider": {
|
||||
"anthropic": {
|
||||
"name": "Anthropic",
|
||||
"npm": "@ai-sdk/anthropic",
|
||||
"options": {
|
||||
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1",
|
||||
@@ -33,6 +34,7 @@
|
||||
}
|
||||
},
|
||||
"openai": {
|
||||
"name": "OpenAI",
|
||||
"npm": "@ai-sdk/openai",
|
||||
"options": {
|
||||
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1",
|
||||
@@ -54,6 +56,7 @@
|
||||
}
|
||||
},
|
||||
"google": {
|
||||
"name": "Google",
|
||||
"npm": "@ai-sdk/google",
|
||||
"options": {
|
||||
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1beta",
|
||||
@@ -86,7 +89,7 @@
|
||||
"name": "GLM-5.1",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text"], "output": ["text"] },
|
||||
"limit": { "context": 204800, "output": 131072 }
|
||||
"limit": { "context": 202752, "output": 32768 }
|
||||
},
|
||||
"kimi-k2.6": {
|
||||
"name": "Kimi K2.6",
|
||||
@@ -94,11 +97,11 @@
|
||||
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
|
||||
"limit": { "context": 262144, "output": 65536 }
|
||||
},
|
||||
"kimi-k2p5-turbo": {
|
||||
"name": "Kimi K2.5 Turbo",
|
||||
"kimi-k2.6-turbo": {
|
||||
"name": "Kimi K2.6 Turbo",
|
||||
"reasoning": true,
|
||||
"modalities": { "input": ["text", "image"], "output": ["text"] },
|
||||
"limit": { "context": 256000, "output": 256000 }
|
||||
"limit": { "context": 262000, "output": 262000 }
|
||||
},
|
||||
"minimax-m2.7": {
|
||||
"name": "MiniMax M2.7",
|
||||
|
||||
Reference in New Issue
Block a user