Skip to content

阿里云百炼通过claude方式调用报错 #4081

@chung1912

Description

@chung1912

提交前必读(请勿删除本节)

您当前的 newapi 版本
v0.12.1

提交确认

  • 我已确认目前没有类似 issue
  • 我已完整查看过文档 https://docs.newapi.ai/ 和项目 README,尤其是常见问题部分
  • 我未删除此模板中的任何引导内容或小节标题,并会按要求完整填写
  • 我理解项目维护者精力有限,不遵循模板要求的 issue 可能会被无视或直接关闭

问题描述
在cherrystudio中,通过阿里云百炼接入agent模式,选择阿里云百炼的所有模型,都会出现如下报错:
Claude Code returned an error result:Failed to authenticate.API Error:403 invalid api-key
但是用原生的阿里云百炼接入就能正常使用,这说明是经过newapi中转时才会报错

复现步骤
Cherry Studio中在Agent模式下,选择阿里云百炼的模型(qwen3.6-plus),交互报错

预期结果
希望可以正常使用阿里云百炼的claude原生格式

相关截图
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmissing reproduction stepsMissing necessary reproduction steps.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions