feat: 添加百炼 Coding Plan 模型提供商配置
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user