Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新建聊天使用qwen-max切换其他模型报apiKey不正确,发现接口请求会变掉导致报错 #1841

Open
5 tasks done
MrArlong opened this issue Sep 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@MrArlong
Copy link

MrArlong commented Sep 25, 2024

例行检查

  • 我已确认目前没有类似 issue
  • 我已确认我已升级到最新版本
  • 我已完整查看过项目 README,尤其是常见问题部分
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述
通义千问渠道测试可以正常,但是进行聊天提示apikey不正确,反复测试发现新建聊天框之后不能切换模型,一旦切换了就会报key不对,不切换可以正常聊天,这个切换指的是qwen-plus切换到qwen-max,如果我从阿里切换到百度,百度是正常使用,百度切换回阿里也是不能使用
复现步骤
创建渠道,填入阿里apikey
默认模型为qwen-max,正常使用,切换qwen-plus,提示apikey不正确,在切换回qwen-max,继续报apikey不正确
预期结果

相关截图
这是点击渠道测试
image
这是进行聊天报错
image
这是新建聊天第一次和切换之后
image

再次测试发现新建聊天之后接口请求是v1/chat/completions,切换了模型之后就变成了api/alibaba/v1/services/aigc/text-generation/generation,所以才会报apikey不对
image

@MrArlong MrArlong added the bug Something isn't working label Sep 25, 2024
@MrArlong MrArlong changed the title 通义千问渠道测试可以成功,但是进行聊天提示apikey不正确 使用通义千问大模型不能切换其他模型,切换就报apiKey不正确 Sep 25, 2024
@MrArlong MrArlong changed the title 使用通义千问大模型不能切换其他模型,切换就报apiKey不正确 新建聊天使用qwen-max切换其他模型报apiKey不正确,发现接口请求会变掉导致报错 Sep 25, 2024
@MrArlong
Copy link
Author

已找到解决办法

ChatGPTNextWeb/ChatGPT-Next-Web#5538

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant