chore: 简化AI模型提供商标识

- 将AI模型提供商标识从"ai-gateway"简化为"gateway",并更新对应的Claude模型名称。
This commit is contained in:
2026-01-12 12:18:40 +08:00
parent 98dddd6de2
commit ffdf4e705d

View File

@@ -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": "ai-gateway/claude-opus-4-5-thinking", "model": "gateway/claude-claude-4-5",
"small_model": "ai-gateway/gemini-3-flash-preview", "small_model": "gateway/gemini-3-flash-preview",
"plugin": [ "plugin": [
"@tarquinen/opencode-dcp@latest", "@tarquinen/opencode-dcp@latest",
"@franlol/opencode-md-table-formatter@latest" "@franlol/opencode-md-table-formatter@latest"
@@ -26,8 +26,8 @@
"websearch": "deny" "websearch": "deny"
}, },
"provider": { "provider": {
"ai-gateway": { "gateway": {
"name": "AI Gateway", "name": "Gateway",
"npm": "@ai-sdk/anthropic", "npm": "@ai-sdk/anthropic",
"options": { "options": {
"baseURL": "http://10.0.1.1:8317/v1", "baseURL": "http://10.0.1.1:8317/v1",