1
0
forked from agents/opencode

Compare commits

..

4 Commits

Author SHA1 Message Date
b297f3b713 merge upstream 2026-03-04 10:15:55 +00:00
0c95def9f1 style: 调整 VSCode settings 配置项顺序 2026-03-04 16:58:59 +08:00
fc15e5d63f chore: 移除 BAILIAN_API_KEY 环境变量示例 2026-03-04 16:40:27 +08:00
5d8b068604 chore: 更新 provider 与代理模型映射
将部分代理模型切换到 litellm、Gemini 和 Sonnet 配置,以统一接入方式并匹配新的模型来源。
2026-03-04 16:07:49 +08:00
4 changed files with 23 additions and 17 deletions

View File

@@ -1,7 +1,6 @@
# Provider # Provider
LITELLM_BASE_URL=https://ai.furtherverse.com LITELLM_BASE_URL=https://ai.furtherverse.com
LITELLM_API_KEY= LITELLM_API_KEY=
BAILIAN_API_KEY=
# MCP # MCP
EXA_API_KEY= EXA_API_KEY=

12
.vscode/settings.json vendored
View File

@@ -1,13 +1,13 @@
{ {
"editor.codeActionsOnSave": {
"source.fixAll.biome": "explicit",
"source.organizeImports.biome": "explicit"
},
"editor.formatOnSave": true,
"[json]": { "[json]": {
"editor.defaultFormatter": "biomejs.biome" "editor.defaultFormatter": "biomejs.biome"
}, },
"[jsonc]": { "[jsonc]": {
"editor.defaultFormatter": "biomejs.biome" "editor.defaultFormatter": "biomejs.biome"
} },
"editor.codeActionsOnSave": {
"source.fixAll.biome": "explicit",
"source.organizeImports.biome": "explicit"
},
"editor.formatOnSave": true
} }

View File

@@ -4,13 +4,13 @@
"sisyphus": { "model": "anthropic/claude-opus-4-6", "variant": "max" }, "sisyphus": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
"hephaestus": { "model": "openai/gpt-5.3-codex", "variant": "medium" }, "hephaestus": { "model": "openai/gpt-5.3-codex", "variant": "medium" },
"oracle": { "model": "openai/gpt-5.2", "variant": "high" }, "oracle": { "model": "openai/gpt-5.2", "variant": "high" },
"librarian": { "model": "bailian-coding-plan/MiniMax-M2.5" }, "librarian": { "model": "google/gemini-3-flash-preview" },
"explore": { "model": "bailian-coding-plan/MiniMax-M2.5" }, "explore": { "model": "litellm/grok-code-fast-1" },
"multimodal-looker": { "model": "bailian-coding-plan/kimi-k2.5" }, "multimodal-looker": { "model": "openai/gpt-5.3-codex", "variant": "medium" },
"prometheus": { "model": "anthropic/claude-opus-4-6", "variant": "max" }, "prometheus": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
"metis": { "model": "anthropic/claude-opus-4-6", "variant": "max" }, "metis": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
"momus": { "model": "openai/gpt-5.2", "variant": "medium" }, "momus": { "model": "openai/gpt-5.2", "variant": "medium" },
"atlas": { "model": "bailian-coding-plan/kimi-k2.5" } "atlas": { "model": "anthropic/claude-sonnet-4-6" }
}, },
"categories": { "categories": {
"visual-engineering": { "model": "google/gemini-3.1-pro-preview", "variant": "high" }, "visual-engineering": { "model": "google/gemini-3.1-pro-preview", "variant": "high" },
@@ -20,7 +20,7 @@
"quick": { "model": "anthropic/claude-haiku-4-5" }, "quick": { "model": "anthropic/claude-haiku-4-5" },
"unspecified-low": { "model": "anthropic/claude-sonnet-4-6" }, "unspecified-low": { "model": "anthropic/claude-sonnet-4-6" },
"unspecified-high": { "model": "anthropic/claude-opus-4-6", "variant": "max" }, "unspecified-high": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
"writing": { "model": "bailian-coding-plan/kimi-k2.5" } "writing": { "model": "google/gemini-3-flash" }
}, },
"git_master": { "git_master": {
"commit_footer": false, "commit_footer": false,

View File

@@ -78,14 +78,21 @@
} }
} }
}, },
"bailian-coding-plan": { "litellm": {
"npm": "@ai-sdk/anthropic", "npm": "@ai-sdk/openai",
"name": "Model Studio Coding Plan",
"options": { "options": {
"baseURL": "https://coding.dashscope.aliyuncs.com/apps/anthropic/v1", "baseURL": "{env:LITELLM_BASE_URL}/v1",
"apiKey": "{env:BAILIAN_API_KEY}" "apiKey": "{env:LITELLM_API_KEY}"
}, },
"models": { "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
"glm-5": { "glm-5": {
"name": "GLM-5", "name": "GLM-5",