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

[Bug] 通义千问调用地址不正确 #5538

Closed
MrArlong opened this issue Sep 26, 2024 · 4 comments
Closed

[Bug] 通义千问调用地址不正确 #5538

MrArlong opened this issue Sep 26, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@MrArlong
Copy link

📦 部署方式

Docker

📌 软件版本

2.15.3

💻 系统环境

macOS

📌 系统版本

13

🌐 浏览器

Chrome

📌 浏览器版本

129.0.6668.59(正式版本) (arm64)

🐛 问题描述

A域名是oneapi,B域名是ChatGPTNextWeb,使用其他大模型请求地址是正常的A域名,换成通义千问请求地址变成了B域名,导致请求报错,提示apikey不正确

以下图片为同一个聊天框切换模型
image
以下图片为正常请求地址
image
以下图片为请求通义千问请求地址
image

📷 复现步骤

oneapi添加渠道,配置qwen-max,qwen-plus模型,使用这两个模型报apikey不正确

🚦 期望结果

能正常使用通义千问

📝 补充信息

No response

@MrArlong MrArlong added the bug Something isn't working label Sep 26, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] Tongyi Qianwen calling address is incorrect

📦 Deployment method

Docker

📌 Software version

2.15.3

💻 System environment

macOS

📌 System version

13

🌐 Browser

Chrome

📌 Browser version

129.0.6668.59 (official version) (arm64)

🐛 Problem description

The A domain name is oneapi, and the B domain name is ChatGPTNextWeb. When using other large models, the request address is the normal A domain name. If it is changed to Tongyi Qianwen, the request address becomes the B domain name, resulting in a request error, prompting that the apikey is incorrect.

The following picture shows the same chat box switching model
image
The following pictures are normal request addresses
image
The following picture is the request address for Tongyi Qianwen
image

📷 Steps to reproduce

Oneapi adds channels, configures qwen-max, qwen-plus models, and the apikey reported when using these two models is incorrect.

🚦 Expected results

Can use Tongyi Qianwen normally

📝 Supplementary information

No response

Copy link
Contributor

see #5001

@MrArlong
Copy link
Author

参见#5001

感谢,直接把通义千问的三个模型后面加上openai就可以了

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


See #5001

Thanks, just add openai after the three models of Tongyi Qianwen.

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

3 participants