forked from agents/opencode
refactor: 迁移百炼 Coding Plan 模型配置至 opencode 主配置
This commit is contained in:
@@ -1,77 +0,0 @@
|
|||||||
{
|
|
||||||
"$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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -100,6 +100,42 @@
|
|||||||
"apiKey": "{env:BAILIAN_API_KEY}"
|
"apiKey": "{env:BAILIAN_API_KEY}"
|
||||||
},
|
},
|
||||||
"models": {
|
"models": {
|
||||||
|
"qwen3.5-plus": {
|
||||||
|
"name": "Qwen3.5 Plus",
|
||||||
|
"reasoning": true,
|
||||||
|
"modalities": {
|
||||||
|
"input": ["text", "image", "video"],
|
||||||
|
"output": ["text"]
|
||||||
|
},
|
||||||
|
"limit": { "context": 1000000, "output": 65536 }
|
||||||
|
},
|
||||||
|
"qwen3-max-2026-01-23": {
|
||||||
|
"name": "Qwen3 Max 2026-01-23",
|
||||||
|
"reasoning": false,
|
||||||
|
"modalities": {
|
||||||
|
"input": ["text"],
|
||||||
|
"output": ["text"]
|
||||||
|
},
|
||||||
|
"limit": { "context": 262144, "output": 65536 }
|
||||||
|
},
|
||||||
|
"qwen3-coder-next": {
|
||||||
|
"name": "Qwen3 Coder Next",
|
||||||
|
"reasoning": false,
|
||||||
|
"modalities": {
|
||||||
|
"input": ["text"],
|
||||||
|
"output": ["text"]
|
||||||
|
},
|
||||||
|
"limit": { "context": 262144, "output": 65536 }
|
||||||
|
},
|
||||||
|
"qwen3-coder-plus": {
|
||||||
|
"name": "Qwen3 Coder Plus",
|
||||||
|
"reasoning": false,
|
||||||
|
"modalities": {
|
||||||
|
"input": ["text"],
|
||||||
|
"output": ["text"]
|
||||||
|
},
|
||||||
|
"limit": { "context": 1000000, "output": 65536 }
|
||||||
|
},
|
||||||
"glm-5": {
|
"glm-5": {
|
||||||
"name": "GLM-5",
|
"name": "GLM-5",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user