Compare commits

...

3 Commits

3 changed files with 161 additions and 13 deletions

77
bailian-coding-plan.json Normal file
View File

@@ -0,0 +1,77 @@
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"bailian-coding-plan": {
"npm": "@ai-sdk/anthropic",
"name": "Model Studio Coding Plan",
"options": {
"baseURL": "https://coding.dashscope.aliyuncs.com/apps/anthropic/v1",
"apiKey": "{env:BAILIAN_CODING_API_KEY}"
},
"models": {
"qwen3.5-plus": {
"name": "Qwen3.5 Plus",
"modalities": {
"input": ["text", "image"],
"output": ["text"]
},
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
},
"qwen3-max-2026-01-23": {
"name": "Qwen3 Max 2026-01-23"
},
"qwen3-coder-next": {
"name": "Qwen3 Coder Next"
},
"qwen3-coder-plus": {
"name": "Qwen3 Coder Plus"
},
"MiniMax-M2.5": {
"name": "MiniMax M2.5",
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
},
"glm-5": {
"name": "GLM-5",
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
},
"glm-4.7": {
"name": "GLM-4.7",
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
},
"kimi-k2.5": {
"name": "Kimi K2.5",
"modalities": {
"input": ["text", "image"],
"output": ["text"]
},
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
}
}
}
}
}

View File

@@ -1,5 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
// "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json",
// ref: https://github.com/code-yeongyu/oh-my-opencode/blob/dev/src/agents/AGENTS.md#agent-inventory
"agents": {
"sisyphus": {
@@ -10,21 +11,18 @@
"model": "litellm/gpt-5.3-codex",
"variant": "medium"
},
"atlas": {
"model": "litellm/claude-sonnet-4-5"
},
"oracle": {
"model": "litellm/gpt-5.2",
"variant": "high"
},
"librarian": {
"model": "litellm/gemini-3-flash"
"model": "litellm/gemini-3-flash-preview"
},
"explore": {
"model": "litellm/gemini-3-flash"
"model": "litellm/gemini-3-flash-preview"
},
"multimodal-looker": {
"model": "litellm/gemini-3-flash"
"model": "litellm/gemini-3-flash-preview"
},
"prometheus": {
"model": "litellm/claude-opus-4-6",
@@ -38,14 +36,17 @@
"model": "litellm/gpt-5.2",
"variant": "medium"
},
"sisyphus-junior": {
"atlas": {
"model": "litellm/claude-sonnet-4-5"
}
// "sisyphus-junior": {
// "model": "litellm/claude-sonnet-4-5"
// }
},
// ref: https://github.com/code-yeongyu/oh-my-opencode/blob/dev/docs/reference/configuration.md#built-in-categories
"categories": {
"visual-engineering": {
"model": "litellm/gemini-3-pro",
"model": "litellm/gemini-3.1-pro-preview",
"variant": "high"
},
"ultrabrain": {
@@ -57,21 +58,21 @@
"variant": "medium"
},
"artistry": {
"model": "litellm/gemini-3-pro",
"model": "litellm/gemini-3.1-pro-preview",
"variant": "high"
},
"quick": {
"model": "litellm/gemini-3-flash"
"model": "litellm/claude-haiku-4-5"
},
"unspecified-low": {
"model": "litellm/claude-sonnet-4-5"
"model": "litellm/claude-sonnet-4-6"
},
"unspecified-high": {
"model": "litellm/claude-opus-4-6",
"variant": "max"
},
"writing": {
"model": "litellm/gemini-3-flash"
"model": "litellm/gemini-3-flash-preview" // FIXME
}
},
"git_master": {

View File

@@ -92,6 +92,76 @@
"limit": { "context": 400000, "input": 272000, "output": 128000 }
}
}
},
"bailian-coding-plan": {
"npm": "@ai-sdk/anthropic",
"name": "Model Studio Coding Plan",
"options": {
"baseURL": "https://coding.dashscope.aliyuncs.com/apps/anthropic/v1",
"apiKey": "{env:BAILIAN_API_KEY}"
},
"models": {
"glm-5": {
"name": "GLM-5",
"reasoning": true,
"modalities": {
"input": ["text"],
"output": ["text"]
},
"limit": { "context": 204800, "output": 131072 },
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
},
"glm-4.7": {
"name": "GLM-4.7",
"reasoning": true,
"modalities": {
"input": ["text"],
"output": ["text"]
},
"limit": { "context": 204800, "output": 131072 },
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
},
"kimi-k2.5": {
"name": "Kimi K2.5",
"reasoning": true,
"modalities": {
"input": ["text", "image", "video"],
"output": ["text"]
},
"limit": { "context": 262144, "output": 262144 },
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
},
"MiniMax-M2.5": {
"name": "MiniMax-M2.5",
"reasoning": true,
"modalities": {
"input": ["text"],
"output": ["text"]
},
"limit": { "context": 204800, "output": 131072 },
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
}
}
}
},
"disabled_providers": ["opencode"]