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

OpenRouter APIKey无法正确填入 #7018

Open
Lynricsy opened this issue Mar 17, 2025 · 4 comments
Open

OpenRouter APIKey无法正确填入 #7018

Lynricsy opened this issue Mar 17, 2025 · 4 comments
Labels
🐛 Bug Something isn't working | 缺陷 unconfirm 未被维护者确认的问题

Comments

@Lynricsy
Copy link

📦 部署环境

Docker

📦 部署模式

服务端模式(lobe-chat-database 镜像)

📌 软件版本

v1.71.5

💻 系统环境

Other Linux

🌐 浏览器

Chrome, Edge

🐛 问题描述

填入OpenRouter的Key之后检查key的时候总是提示APIKey不正确或为空,点到其他API提供商然后再点回OpenRouter的配置页面之后会发现Key已经被清空了,其他服务商没有这个问题。

📷 复现步骤

填入OpenRouter的Key,检查连通性

🚦 期望结果

正确保存OpenRouter的Key

📝 补充信息

No response

@Lynricsy Lynricsy added the unconfirm 未被维护者确认的问题 label Mar 17, 2025
@lobehubbot
Copy link
Member

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


📦 Deployment environment

Docker

📦 Deployment mode

Server-side mode (lobe-chat-database mirror)

📌 Software version

v1.71.5

💻 System environment

Other Linux

🌐 Browser

Chrome, Edge

🐛 Question description

After filling in the OpenRouter Key, when checking the key, the APIKey always prompts that the APIKey is incorrect or empty. Click to other API providers and then click back to the OpenRouter configuration page, you will find that the key has been cleared, and other service providers do not have this problem.

📷 Reproduction steps

Fill in OpenRouter's Key to check connectivity

🚦 Expected results

Save OpenRouter's Key correctly

📝 Supplementary information

No response

@lobehubbot
Copy link
Member

👀 @Lynricsy

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

@dosubot dosubot bot added the 🐛 Bug Something isn't working | 缺陷 label Mar 17, 2025
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Mar 17, 2025
Copy link

dosubot bot commented Mar 17, 2025

I found some similar open issues related to API key problems in the lobe-chat repository:

  1. OpenAi配置参数偶发性丢失 - No solution found in the comments.
  2. 重新打开web界面时,所有配置全部丢失,需要手动导出在导出 - No solution found in the comments.
  3. 对话不定时出现api key不正确,但重试又可以 - No solution found in the comments.

These issues indicate that there might be a broader problem with the persistence or validation of API keys in the lobe-chat application. Unfortunately, there are no solutions provided in the comments of these issues. You might want to check if there are any updates or patches available for your version that address this problem.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@RAiNY7Study
Copy link

RAiNY7Study commented Mar 18, 2025

我也有问题,明明填入了key,但是检测不到key

Image

而且,我的openai也经常返回为空,换了几个平台,都会经常性的报错

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 | 缺陷 unconfirm 未被维护者确认的问题
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

3 participants