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] qwen的api key在这里用不了 #3108

Open
bakamake opened this issue Jul 1, 2024 · 15 comments
Open

[Bug] qwen的api key在这里用不了 #3108

bakamake opened this issue Jul 1, 2024 · 15 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@bakamake
Copy link

bakamake commented Jul 1, 2024

📦 部署环境

Docker

📌 软件版本

lastest

💻 系统环境

Ubuntu

🌐 浏览器

Edge

🐛 问题描述

🤯 随便聊聊 · LobeChat 和另外 14 个页面 - 个人 - Microsoft​ Edge 2024_7_1 23_58_52
报的错qwen的文档里没有,另外同一个key在chatbox上可以用
Chatbox 2024_7_1 23_48_21

📷 复现步骤

🤯 随便聊聊 · LobeChat 和另外 14 个页面 - 个人 - Microsoft​ Edge 2024_7_2 0_03_57

🚦 期望结果

搞不懂这是不是bug

📝 补充信息

No response

@bakamake bakamake added the 🐛 Bug Something isn't working | 缺陷 label Jul 1, 2024
@lobehubbot
Copy link
Member

👀 @bakamake

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


📦 Deployment environment

Docker

📌 Software version

lastest

💻 System environment

Ubuntu

🌐 Browser

Edge

🐛 Problem description

🤯 Casual Chat · LobeChat and 14 other pages - Personal - Microsoft Edge 2024_7_1 23_58_52
The error reported is not in qwen's documentation. In addition, the same key can be used on chatbox.
Chatbox 2024_7_1 23_48_21

📷 Steps to reproduce

🤯 Casual Chat · LobeChat and 14 other pages - Personal - Microsoft Edge 2024_7_2 0_03_57

🚦 Expected results

I don't know if this is a bug

📝 Supplementary information

No response

@arvinxx
Copy link
Contributor

arvinxx commented Jul 1, 2024

关掉客户端请求模式

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Turn off client request mode

@bakamake
Copy link
Author

bakamake commented Jul 1, 2024

关掉后设置检查连通性成功
🤯 随便聊聊 · LobeChat 和另外 12 个页面 - 个人 - Microsoft​ Edge 2024_7_2 0_22_21

但是请求还是有报错,而且是两种不一样的报错
如下两图
image
🤯 随便聊聊 · LobeChat 和另外 12 个页面 - 个人 - Microsoft​ Edge 2024_7_2 0_22_25

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


After turning off the settings, check the connectivity successfully.
🤯 Casual Chat · LobeChat and 12 other pages - Personal - Microsoft Edge 2024_7_2 0_22_21

But the request still reports errors, and they are two different errors
As shown in the two pictures below
image
🤯 Casual Chat · LobeChat and 12 other pages - Personal - Microsoft Edge 2024_7_2 0_22_25

@arvinxx
Copy link
Contributor

arvinxx commented Jul 1, 2024

你自己配了一个 qwen 的模型?换一个别的试试

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Did you create a qwen model yourself? Try another one

@bakamake
Copy link
Author

bakamake commented Jul 1, 2024

deepseek正常使用,api-key是在阿里灵积调的

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


deepseek is used normally, the api-key is adjusted in Alibaba Lingji

@arvinxx
Copy link
Contributor

arvinxx commented Jul 1, 2024

你切一个另外的 qwen模型试试

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Try cutting another qwen model

@bakamake
Copy link
Author

bakamake commented Jul 1, 2024

换来换去,已知massage:“ 'frequency_penalty' is not supported now",

@Mingholy
Copy link
Contributor

Mingholy commented Jul 3, 2024

换来换去,已知massage:“ 'frequency_penalty' is not supported now",

如果是自定义LLM,模型名称需要是以下枚举值之一
qwen-turbo qwen-plus qwen-max qwen-max-0428 qwen-max-0403 qwen-max-0107 qwen-max-1201 qwen-max-longcontext
入参需要满足文档要求:https://help.aliyun.com/zh/dashscope/developer-reference/api-details

@bakamake
Copy link
Author

bakamake commented Jul 3, 2024

image

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
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

4 participants