Agent response disappears when navigating away via "Status" or switching chats in chat section
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript
调研方向
首先在 Agents 屏幕中使用 Status 按钮复现该问题,然后在 Chat Mode 中于生成期间切换聊天标签页来复现。跟踪导航过程中活动会话和流式响应的处理方式;生成完成后返回任一会话都能显示完整响应,即表示完成。
由索引模型根据 Issue 内容生成。
描述
LocalAI version:
7.9.0
Environment, CPU architecture, OS, and Version:
Linux Ubuntu
Describe the bug
Hi there,
I encountered an issue where the agent's response is lost if I navigate away while it is still thinking or generating text.
To Reproduce
Steps to Reproduce in Agents screen:
Start a conversation with an agent.
While the agent is processing (thinking) or streaming the response, click on the "Status" button in the top-right corner of the web UI.
Return to the conversation (or press back). The full response is not displayed, even if the generation has finished.
In Chat Mode:
If I switch to a different chat tab (in the same browser tab) while the model is reflecting or writing, and then return to the original chat, the response is missing if it had not finished writing yet.
I imagine these are limitations of the current web UI architecture that might be complex to fix with JavaScript. A potential workaround could be to move conversation-related functions (like the Status view) into popup windows. This would allow users to interact with these features without losing the context of the ongoing conversation.
Let me know if you need more details!
- 主要语言
- Go
- 星标
- 49.3k
- 派生
- 4.5k
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 362
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mudler/LocalAI 的其他 Issue
-
bug unconfirmed
难度 2/5 1-3 小时 新手友好度 78/100
mudler/LocalAI#12337 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
mudler/LocalAI#11995 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
mudler/LocalAI#11991 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 76/100
mudler/LocalAI#11348 · 1 条评论 ·
维护者通常 1 天内回复
-
barholeur未关闭bug unconfirmed
难度 5/5 一周以上 新手友好度 10/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
status: ready for dev
难度 1/5 1-3 小时 新手友好度 92/100
hyperledger-labs/fabric-smart-client#2004 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
apache/datasketches-go#189 ·
维护者通常 1 天内回复