Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Agent response disappears when navigating away via "Status" or switching chats in chat section

未关闭
#11,702 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
javascript
领域
frontend, web-dev

调研方向

首先在 Agents 屏幕中使用 Status 按钮复现该问题,然后在 Chat Mode 中于生成期间切换聊天标签页来复现。跟踪导航过程中活动会话和流式响应的处理方式;生成完成后返回任一会话都能显示完整响应,即表示完成。

由索引模型根据 Issue 内容生成。

描述

bug unconfirmed

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

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

mudler/LocalAI 的其他 Issue

查看 mudler/LocalAI 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。