![[Bug] New topics created inside Agent Groups never appear in the sidebar (Cloud v2.2.6)](https://www.chat-gpts.plus/wp-content/uploads/2026/06/16074-61370c7b.jpg)
[Bug] New topics created inside Agent Groups never appear in the sidebar (Cloud v2.2.6)
快速结论:该问题发生在 LobeChat Cloud v2.2.6 版本中,当用户在 Agent Group(多智能体团队)内创建新话题时,话题不会出现在侧边栏列表中。优先排查侧边栏话题列表的筛选器同步机制是否在群组对话路径下正常工作。
问题场景
用户在 LobeChat Cloud (app.lobehub.com) 或 Desktop App v2.2.6 中,打开一个包含多个 agent 成员和 1 个 supervisor 的 Agent Group,点击”Start New Topic”创建新话题并发送消息后,话题成功创建并正常对话,但侧边栏不显示新话题。
报错原文
When using an Agent Group (multi-agent team), creating a new topic results in normal conversation — the supervisor responds and everything works — but the new topic never appears in the sidebar.
Steps to reproduce:
1. Open any Agent Group
2. Click "Start New Topic"
3. Send the first message to the supervisor
4. The supervisor responds normally — conversation works
5. Observe the sidebar: the new topic never appears
6. Topic count in sidebar does not increase
7. Refreshing the page does not help
Additional symptom:
Sometimes during an ongoing conversation inside a group, the chat content temporarily disappears and reappears as if it were a brand new topic.
原因分析
可能原因:这是一个与侧边栏话题列表刷新相关的问题。话题创建流程本身通过 sendMessage() 自动创建 topic(当 topicId 为 undefined 时),然后调用 internal_updateTopics() 刷新侧边栏列表。如果刷新返回的数据是陈旧或错误筛选的,新话题就不会显示。
已知关联问题包括:
- 筛选器同步问题(PR #14160 修复,2026年4月):服务端在消息发送后刷新时未收到 UI 的活跃筛选状态,导致话题列表返回未筛选数据。
- 分页状态管理问题(Issue #13462):新话题开始并发送第一条消息后,”More”按钮短暂消失,抽屉刷新覆盖已加载的分页项,可能导致新话题不渲染。
- 多 agent 组话题切换失败(Issue #14547):群组对话中导航到其他话题时,实际显示的内容未切换。
由于用户确认此问题在 v2.2.4 之后出现,而筛选器同步修复在 2026年4月发布,可能该修复未完全覆盖 Agent Group 代码路径,或者引入了新的回归。
环境排查
- 确认 LobeChat 版本是否为 v2.2.6(用户从 v2.2.5 升级后问题依然存在)
- 确认部署平台:LobeHub Cloud (app.lobehub.com) — 非自托管
- 客户端类型:Desktop App (Electron) + Web 浏览器均复现
- 测试 Agent Group 是否包含多个 agent 成员 + 1 个 supervisor
- 确认侧边栏视图/排序/筛选设置为默认值
解决步骤
- 验证是否与筛选器同步相关:尝试切换到不同的视图再切回来,或检查”More Topics”抽屉中是否显示新话题。如果显示,说明是筛选/作用域问题而非创建问题。
- 确认已有修复状态:检查 PR #14160(筛选器同步修复)是否已合并到当前版本。如果未合并,可优先尝试手动应用该修复。
- 检查分页状态:在话题列表中观察”More”按钮是否正常显示,避免抽屉刷新覆盖已加载的分页项。
- 临时降级:如果问题严重影响日常工作,可临时回退到 v2.2.4 之前的版本(该版本之前功能正常)。
- 重新创建非群组话题测试:在普通会话中创建新话题,确认侧边栏是否正常显示,以排除全局性问题。
验证方法
在 Agent Group 中创建新话题并发送一条消息后,观察侧边栏是否立即显示该话题。同时检查话题计数是否增加。如果话题在切换视图后出现或在”More Topics”抽屉中可见,则证明问题与筛选状态同步相关。


