ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
76.62k stars 59.17k forks source link

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

Closed MrArlong closed 1 month ago

MrArlong commented 1 month ago

📦 部署方式

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

Issues-translate-bot commented 1 month ago

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

lloydzhou commented 1 month ago

see #5001

MrArlong commented 1 month ago

参见#5001

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

Issues-translate-bot commented 1 month ago

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.