使用 0.38 仍然无法添加Anthropic Third-party API第三方模型,运行诊断是通过的
我是这样用的,暂时用v0.26.0版本
v0.38.1 已修复
第三方 Anthropic API 模型无法使用的问题在 v0.38.1 中已修复,核心改动:
- 模型选择器补全:现在
role_models_json里配置的模型会自动出现在聊天选择器中 - 默认 provider 悬空修复:如果之前的默认 provider 被删除过,resolver 会自动修复而不是回退到环境变量
- Doctor 增强:诊断通过但实际不工作的情况现在会被更准确地检测(包括「模型列表为空」、「默认 provider 指向已删除记录」等)
请更新到 v0.38.1: https://github.com/op7418/CodePilot/releases
更新后如果仍有问题:
- 打开 设置 → 服务商 → 运行诊断
- 点击「导出日志」下载诊断报告
- 将日志文件附在此 issue 回复中,我们帮你排查
Azure works fine in v0.38.1
Update: Only sonnet 4.6 works
运行服务商诊断后把 log 贴上来
持续报同一个错,用的是cc的套餐,检查是通过的,但回到对话框就是错的。
Error: Claude Code process exited with an error (Provider: Anthropic Third-party API). Common causes: • Invalid or missing API Key • Incorrect Base URL configuration • Network connectivity issues • Thinking mode may not be supported What to do: Check your API key and provider settings. Run Provider Doctor in Settings for detailed diagnostics. 💡 Go to Settings → Providers → Run Diagnostics for detailed troubleshooting.
我的火山方舟coding plan,情况类似,版本 0.38.2
这个 issue 因为缺少复现信息 / 等待确认,已经 14 天没有更新。
如果问题仍然存在,请在最新版本(v0.56.2 及以上)上补充:版本号、操作系统、运行时 / 服务商、复现步骤或日志。
再过 14 天若仍无回应,会自动关闭——这不是否认问题,关闭后随时可以用新信息重新打开。