阿里云百炼 Coding Plan 缺少新模型且国内套餐连接配置失败
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: Jax Deng
**客户端版本**: 0.1.22
---
## 现象
使用国内阿里云百炼 Coding Plan 套餐接入 Cindy 时,遇到三个相关问题:
1. 在“阿里云百炼 Coding Plan(包月)”的模型选择列表中找不到 `qwen3.8-max-preview`,但该套餐实际包含此模型的额度。
2. Cindy 为该供应商预设的地址与国内套餐提供的专属 Base URL 不一致。使用国内套餐的 API Key 配合 Cindy 当前预设地址时,连接/匹配失败。
3. 改用“第三方自定义端点”后,“精确请求路径(可选)”这一配置对普通用户具有较强误导性。按照阿里云官方说明粘贴完整 Base URL 并填写 API Key,反而连接出错,需要反复尝试不同填法才能继续。
相关使用场景:Cindy 使用 global 构建,但 API Key 来自国内阿里云百炼 Coding Plan 套餐。
Cindy 当前为 Coding Plan 展示的预设地址:
- Claude Code:`https://coding.dashscope.aliyuncs.com/apps/anthropic`
- Codex:`https://coding.dashscope.aliyuncs.com/v1`
国内套餐实际提供的专属 Base URL:
- OpenAI 兼容协议:`https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1`
- Anthropic 兼容协议:`https://token-plan.cn-beijing.maas.aliyuncs.com/apps/anthropic`
## 复现步骤
### 问题一:模型缺失
1. 添加供应商“阿里云百炼 Coding Plan(包月)”。
2. 填写 API Key 并进入“选择模型”。
3. 查看可选模型列表。
4. 列表中没有 `qwen3.8-max-preview`,无法选择该模型。
### 问题二:国内套餐连接失败
1. 购买国内阿里云百炼 Coding Plan 套餐并获取 API Key。
2. 在 Cindy 中选择预设的“阿里云百炼 Coding Plan(包月)”。
3. 使用 Cindy 默认连接地址并填入 API Key。
4. 连接/匹配失败。
### 问题三:自定义端点配置具有误导性
1. 改用“第三方自定义端点”。
2. 根据阿里云官方信息填写完整的套餐专属 Base URL 和 API Key。
3. 面对“精确请求路径(可选)”配置时,难以判断 Base URL 是否还需拆分或补充路径。
4. 按官方完整 URL 填写后仍出错,需要反复尝试不同组合。
## 期望行为
1. Coding Plan 的模型列表加入 `qwen3.8-max-preview`,并建议提供手动填写模型 ID 的兜底能力,避免列表更新不及时导致套餐内模型不可用。
2. Cindy 能识别国内阿里云 Coding Plan,使用对应的 `token-plan.cn-beijing.maas.aliyuncs.com` 地址;或在预设供应商连接页允许用户直接修改 Base URL,使国内套餐 API Key 能正常验证和连接。
3. 简化自定义端点配置:主要只要求用户填写官方 Base URL 和 API Key;将“精确请求路径”折叠为高级选项,或在不必要时移除。若必须保留,应明确说明 Base URL 与精确请求路径如何拆分,并提供可直接照抄的示例。
## 实际行为
1. 套餐包含 `qwen3.8-max-preview`,但 Cindy 列表中无法选择。
2. 国内套餐 API Key 使用 Cindy 默认地址时连接/匹配失败。
3. 使用官方完整 Base URL 配置自定义端点仍容易报错,字段含义和填写方式不清晰,普通用户需要多次试错。
---
**OS**: darwin arm64 (24.6.0)
**界面语言**: zh-CN
Contributor guide
Research direction
Start by locating the Alibaba Cloud Coding Plan provider preset, its model-selection list, and the third-party custom-endpoint form. Reproduce the domestic Base URL connection failure, then verify that qwen3.8-max-preview is selectable, domestic OpenAI and Anthropic URLs can be used, and the endpoint fields clearly explain how Base URL and exact request path are entered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, cloud, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100