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] 老账号的ai服务商页面会保存已被删除的模型并无法手动删除 #5933

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

Comments

@fqscfqj
Copy link

fqscfqj commented Feb 9, 2025

📦 Environment

Docker

📌 Version

1.52.7

💻 Operating System

Windows

🌐 Browser

Edge

🐛 Bug Description

我使用newapi来转发我所有的模型,我发现最初的一个账户里的所有模型删除按钮都消失了

Image

当我创建一个新账户时删除按钮又会出现在新账户中

Image

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

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

👀 @fqscfqj

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 9, 2025

The issue you're experiencing, where the delete button for AI models is missing in older accounts but appears in new accounts, might be related to the logic that controls the visibility of the delete button. The delete button is only shown if the model's source is not AiModelSourceEnum.Builtin [1].

If the models in your old account are marked as Builtin, the delete button will not be displayed. This could explain why the delete button is missing in older accounts but appears in new ones, where models might not be marked as Builtin.

To resolve this, you might need to check the source property of the models in your old account and ensure they are not set to Builtin. If this is not the case, there might be a caching issue or a configuration specific to older accounts that needs to be addressed.

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 16, 2025

现在是支持重置的

Image

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

@fqscfqj

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