qwen-code
目录
qwencode 官网 https://qwen.ai/qwencode
踩坑指南
配置 newapi
json
{
"modelProviders": {
"openai": [
{
"id": "qwen3-coder-plus",
"name": "qwen3-coder-plus (Coding Plan)",
"baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
"description": "来自阿里云 Coding Plan 的 qwen3-coder-plus",
"envKey": "BAILIAN_CODING_PLAN_API_KEY"
}
]
},
"env": {
"BAILIAN_CODING_PLAN_API_KEY": "sk-sp-xxxxxxxxx"
},
"security": {
"auth": {
"selectedType": "openai"
}
},
"model": {
"name": "qwen3-coder-plus"
}
}参考如上,注意点如下:
- 必须配置 security 和 model,不然无法启动 qwen
- key不能写在 envKey里面,必须使用 映射的方法写在 env 中(或者在环境变量中)
- 每个模型都要单独配置,挺麻烦
