forked from agents/opencode
feat: 添加百炼 Coding Plan 独立配置文件
This commit is contained in:
77
bailian-coding-plan.json
Normal file
77
bailian-coding-plan.json
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user