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] github 服务商配置不正常 #5354

Closed
git268 opened this issue Jan 9, 2025 · 5 comments · Fixed by #5366
Closed

[Bug] github 服务商配置不正常 #5354

git268 opened this issue Jan 9, 2025 · 5 comments · Fixed by #5366
Labels
🐛 Bug Something isn't working | 缺陷 released

Comments

@git268
Copy link

git268 commented Jan 9, 2025

📦 部署环境

Docker

📌 软件版本

v1.45.0

💻 系统环境

Windows

🌐 浏览器

Edge

🐛 问题描述

lobe

左边为Lobechat服务端数据库部署模式而右边为Lobechat客户端数据库模式。对于github中的模型,使用同样的api key,客户端数据库模式可以正常使用。但是,服务端数据库部署模式对github api key检查不通过且无法使用其中的模型,其他服务商模型一切正常。

On the left is the deployment pattern for the Lobechat server-side database, and on the right is the Lobechat client-side database pattern. When using models from GitHub, the client-side database pattern works correctly with the same API key. However, the server-side database deployment pattern fails the GitHub API key check and cannot use models from GitHub, while models from other providers function normally.

📷 复现步骤

使用相同的github api key进行检查,已确认api key准确无误,更换其他github api key仍然无效。

The same GitHub API key was used for verification, and it has been confirmed to be accurate. Replacing it with another GitHub API key still does not work.

🚦 期望结果

希望正常使用github中的模型。

I want to be able to use GitHub models normally.

📝 补充信息

No response

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

👀 @git268

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

@arvinxx arvinxx changed the title [Bug] [Bug] github 服务商不正常 Jan 9, 2025
@arvinxx arvinxx changed the title [Bug] github 服务商不正常 [Bug] github 服务商配置不正常 Jan 9, 2025
@JoeChen2me
Copy link

我也发现这个问题了!
报错信息为

{
  "error": {
    "errorType": "InvalidGithubToken"
  },
  "provider": "github"
}

@lobehubbot
Copy link
Member

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


I also found this problem!
The error message is

{
  "error": {
    "errorType": "InvalidGithubToken"
  },
  "provider": "github"
}

@lobehubbot
Copy link
Member

@git268

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.45.4 🎉

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.

3 participants