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] 第三方api设置后,聊天界面填入key报错key不正确 #5783

Closed
XiaolongYang-HZAU opened this issue Feb 6, 2025 · 9 comments · Fixed by #6112
Closed

[Bug] 第三方api设置后,聊天界面填入key报错key不正确 #5783

XiaolongYang-HZAU opened this issue Feb 6, 2025 · 9 comments · Fixed by #6112
Assignees
Labels
🐛 Bug Something isn't working | 缺陷 released

Comments

@XiaolongYang-HZAU
Copy link

📦 Environment

Vercel

📌 Version

最新版

💻 Operating System

Windows

🌐 Browser

Edge

🐛 Bug Description

感谢作者提供的优秀工具。在近期更新的几个版本的lobe中,设置了第三方openai api URL后必须在设置界面填入第三方的key才能使用,在聊天页面直接填入key会导致报错‘key不正确或为空’,该bug影响较为严重,希望可以尽快修复。

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

@XiaolongYang-HZAU XiaolongYang-HZAU added the 🐛 Bug Something isn't working | 缺陷 label Feb 6, 2025
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Feb 6, 2025
@lobehubbot
Copy link
Member

👀 @XiaolongYang-HZAU

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@Sen-CaPoo
Copy link

有同樣的狀況,更新後用戶設置的 Key 會遺失、新用戶在首次聊天會出現輸入 Key 的提示,但透過聊天室窗內輸入不論輸入甚麼都會失敗,必須至應用設置內去輸入 Key 才會生效。

@lobehubbot
Copy link
Member

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


In the same situation, the key set by the user will be lost after the update, and a prompt for entering the key for the first chat will be displayed for a new user. However, no matter what is entered through the chat room window, it will fail. You must enter the Key in the application settings to enter the Key. Effective.

@arvinxx arvinxx self-assigned this Feb 6, 2025
@XiaolongYang-HZAU
Copy link
Author

该问题在vercel部署的最新版本中似乎仍未得到解决,辛苦团队跟进

@lobehubbot
Copy link
Member

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


The problem still seems to be unsolved in the latest version of Vercel deployment, thank you for your hard work and the team will follow up

@arvinxx
Copy link
Contributor

arvinxx commented Feb 13, 2025

经过确认,应该是填完 apikey 后,没有等到落库就点发布请求导致,在 #6112 修复

@lobehubbot
Copy link
Member

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


After confirmation, it should be that after filling in the apikey, I clicked to publish the request before I could drop the database. I fixed it in #6112

@github-project-automation github-project-automation bot moved this from Roadmap - Chat 1.x to Done in Lobe Chat Routine Feb 13, 2025
@lobehubbot
Copy link
Member

@XiaolongYang-HZAU

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

@lobehubbot
Copy link
Member

🎉 This issue has been resolved in version 1.53.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 released
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants