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显示没有变化 #5728

Closed
qidianlinjin1990 opened this issue Feb 4, 2025 · 7 comments
Closed

[Bug] 社区版设置完api显示没有变化 #5728

qidianlinjin1990 opened this issue Feb 4, 2025 · 7 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@qidianlinjin1990
Copy link

📦 部署环境

Official Preview

📌 软件版本

1.50.2

💻 系统环境

Android

🌐 浏览器

Other

🐛 问题描述

社区版设置完api依然显示如图所示

Image

📷 复现步骤

社区版设置完api依然显示如图所示

🚦 期望结果

如何处理

📝 补充信息

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

👀 @qidianlinjin1990

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

Copy link

dosubot bot commented Feb 4, 2025

The issue you're experiencing, where the API settings in the community version do not seem to reflect any changes, could be related to how the application verifies and applies API settings. The application uses the getLlmOptionsFromPayload function to retrieve and apply the API settings based on the provider and payload. This function checks for specific keys in the configuration and defaults to using OpenAI options if a specific provider's API key is not found [1].

Here are a few steps you can take to troubleshoot this issue:

  1. Verify API Key: Ensure that the API key you are using is correctly configured and valid. The application defaults to OpenAI if it doesn't find a specific provider's API key.

  2. Check Configuration: Make sure that the configuration settings are correctly set up in the environment variables or the configuration file.

  3. Error Handling: The application has error handling mechanisms in place for API configuration failures. Check if any errors are being logged that might indicate what the issue is [2][3][4].

  4. Network Connection: Since the image shows a VPN connection, ensure that the network settings do not interfere with the API requests.

If these steps do not resolve the issue, you may need to look into the specific implementation details or logs for more insights.

To continue talking to Dosu, mention @dosu.


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

@arvinxx
Copy link
Contributor

arvinxx commented Feb 4, 2025

你没有点开启?

@lobehubbot
Copy link
Member

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


Did you open it?

@qidianlinjin1990
Copy link
Author

你没有点开启?

点了开启,api都设置完了,还是不行,关键昨天还可以,今天就突然变成这样

@lobehubbot
Copy link
Member

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


You didn't click on it?

After clicking on, the API is set up, but it is still not possible.

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

@qidianlinjin1990

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

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: Done
Development

No branches or pull requests

3 participants