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] 设置中的默认助手角色设定无法加载 #6279

Closed
Alencryenfo opened this issue Feb 18, 2025 · 10 comments · Fixed by #6393
Closed

[Bug] 设置中的默认助手角色设定无法加载 #6279

Alencryenfo opened this issue Feb 18, 2025 · 10 comments · Fixed by #6393
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@Alencryenfo
Copy link

📦 部署环境

Zeabur

📦 部署模式

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

📌 软件版本

v1.60.7

💻 系统环境

Other Linux

🌐 浏览器

Edge

🐛 问题描述

修复手机端无法加载自定义助手设置信息后,通过账户头像进入设置后设置默认助手,其角色设定无法加载

📷 复现步骤

点击账户头像,进入
Image

点击默认助手后,其角色设定一直加载不出来
Image

手机也可以复现

🚦 期望结果

fix it

📝 补充信息

No response

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

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


📦 Deployment environment

Zeabur

📦 Deployment Mode

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

📌 Software version

v1.60.7

💻 System environment

Other Linux

🌐 Browser

Edge

🐛 Question description

Fixed that after the mobile phone cannot load the custom assistant settings information, the default assistant will be set after entering the settings through the account avatar, and its role settings cannot be loaded.

📷 Reproduction steps

Click on the account avatar to enter
Image

After clicking on the default assistant, its role settings cannot be loaded
Image

Mobile phones can also be reproduced

🚦 Expected results

fix it

📝 Supplementary information

No response

@lobehubbot
Copy link
Member

👀 @Alencryenfo

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

The issue you're experiencing with the default assistant's role settings not loading might be related to conditional logic in the code that prevents these settings from loading under certain circumstances. Specifically, the role settings might not load if there is no active session, if the agent configuration is still loading, if the isAgentEditable feature flag is not enabled, or if the session is an inbox session [1][2].

Additionally, there is a known issue where settings from the 'Default Assistant' do not apply to 'Casual Chat' due to incompatibility between new and old database solutions. This might be related to your problem, especially if the database migration is not yet complete [3].

To address this, you might want to check if the isAgentEditable feature flag is enabled and ensure that the session is not an inbox session. If the issue persists, it could be related to the ongoing database migration, which is expected to be resolved by the end of the month.

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

@MCQSJ
Copy link

MCQSJ commented Feb 19, 2025

The issue you're experiencing with the default assistant's role settings not loading might be related to conditional logic in the code that prevents these settings from loading under certain circumstances.您在默认助手的角色设置未加载的角色设置中遇到的问题可能与在某些情况下阻止这些设置的代码中的有条件逻辑有关。 Specifically, the role settings might not load if there is no active session, if the agent configuration is still loading, if the isAgentEditable feature flag is not enabled, or if the session is an inbox session [1][2].具体来说,如果没有活动会话,如果未启用isAgentEditable功能标志,或者会话是INBOX会话[1] [2] ,则角色设置可能不会加载。

Additionally, there is a known issue where settings from the 'Default Assistant' do not apply to 'Casual Chat' due to incompatibility between new and old database solutions. This might be related to your problem, especially if the database migration is not yet complete [3].此外,由于新数据库解决方案之间的不兼容,“默认助手”的设置不适用于“默认助手”的设置不适用于“休闲聊天”。这可能与您的问题有关,特别是如果数据库迁移尚未完成[3]

To address this, you might want to check if the isAgentEditable feature flag is enabled and ensure that the session is not an inbox session. If the issue persists, it could be related to the ongoing database migration, which is expected to be resolved by the end of the month.为了解决这个问题,您可能需要检查是否启用了isAgentEditable功能标志,并确保会话不是收件箱会话。如果问题持续存在,则可能与正在进行的数据库迁移有关,该数据库迁移有望在月底之前解决。

To continue talking to Dosu, mention @dosu.要继续与DOSU交谈,请提及。

Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other帮助DOSU学习!给予反馈:很好的回应|无关的答案|错误来源|太冗长|幻觉|错误报告|其他

我同样遇到此问题,未本地部署的Lobochat数据库版本,并且我去lobochat官方发现,官方在线的LoboChat也无法加载

Image

@lainbo
Copy link

lainbo commented Feb 20, 2025

same issue here

@nurena24
Copy link

same issue here. Any solution?

@Alencryenfo
Copy link
Author

@arvinxx

@lobehubbot
Copy link
Member

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


@arvinxx

@Alencryenfo
Copy link
Author

same issue here. Any solution?

应该会很快修复

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

@Alencryenfo

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

Successfully merging a pull request may close this issue.

5 participants