lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design LLMs/AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Bedrock / Azure / Mistral / Perplexity ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT chat application.
https://chat-preview.lobehub.com
Other
35.28k stars 8.28k forks source link

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

Closed bakamake closed 6 days ago

bakamake commented 2 weeks ago

📦 部署环境

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

lobehubbot commented 2 weeks ago

👀 @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 commented 2 weeks ago

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 commented 2 weeks ago

关掉客户端请求模式

lobehubbot commented 2 weeks ago

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


Turn off client request mode

bakamake commented 2 weeks ago

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

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

lobehubbot commented 2 weeks ago

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 commented 2 weeks ago

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

lobehubbot commented 2 weeks ago

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


Did you create a qwen model yourself? Try another one

bakamake commented 2 weeks ago

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

lobehubbot commented 2 weeks ago

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 commented 2 weeks ago

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

lobehubbot commented 2 weeks ago

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


Try cutting another qwen model

bakamake commented 2 weeks ago

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

Mingholy commented 1 week ago

换来换去,已知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 commented 1 week ago

image

lobehubbot commented 6 days ago

✅ @bakamake

This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。

lobehubbot commented 6 days ago

:tada: This issue has been resolved in version 1.3.4 :tada:

The release is available on:

Your semantic-release bot :package::rocket: