feat: 更新模型与网关配置至最新版本
- 更新模型和网关配置,将模型标识符和网关基础URL升级为最新版本,并移除已废弃的模型选项。
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
"$schema": "https://opencode.ai/config.json",
|
"$schema": "https://opencode.ai/config.json",
|
||||||
"autoupdate": "notify",
|
"autoupdate": "notify",
|
||||||
"theme": "tokyonight",
|
"theme": "tokyonight",
|
||||||
"model": "gateway/claude-sonnet-4-5",
|
"model": "anthropic-gateway/claude-sonnet-4-5",
|
||||||
"small_model": "gateway/gemini-3-flash",
|
"small_model": "google-gateway/gemini-3-flash",
|
||||||
"plugin": [
|
"plugin": [
|
||||||
"@tarquinen/opencode-dcp@latest",
|
"@tarquinen/opencode-dcp@latest",
|
||||||
"@franlol/opencode-md-table-formatter@latest"
|
"@franlol/opencode-md-table-formatter@latest"
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
"name": "Google Gateway",
|
"name": "Google Gateway",
|
||||||
"npm": "@ai-sdk/google",
|
"npm": "@ai-sdk/google",
|
||||||
"options": {
|
"options": {
|
||||||
"baseURL": "http://10.0.1.1:8317/v1",
|
"baseURL": "http://10.0.1.1:8317/v1beta",
|
||||||
"apiKey": "{env:CPA_API_KEY}"
|
"apiKey": "{env:CPA_API_KEY}"
|
||||||
},
|
},
|
||||||
"models": {
|
"models": {
|
||||||
@@ -64,12 +64,6 @@
|
|||||||
},
|
},
|
||||||
"gemini-3-flash": {
|
"gemini-3-flash": {
|
||||||
"name": "Gemini 3 Flash"
|
"name": "Gemini 3 Flash"
|
||||||
},
|
|
||||||
"gpt-5.2": {
|
|
||||||
"name": "GPT-5.2"
|
|
||||||
},
|
|
||||||
"gpt-5.2-codex": {
|
|
||||||
"name": "GPT-5.2-Codex"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user