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