Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#11,702 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
frontend, web-dev

Direzione di ricerca

Inizia riproducendo il problema dalla schermata Agents usando il pulsante Status, quindi in Chat Mode passando da una scheda della chat all’altra durante la generazione. Traccia il modo in cui la conversazione attiva e la risposta trasmessa vengono gestite durante la navigazione; il lavoro è completato quando tornando a una delle due conversazioni viene mostrata la risposta completa al termine della generazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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!

Lingua principale
Go
Stelle
49.2k
Fork
4.5k
Merge medio
1g 7h
PR unite (30g)
362

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mudler/LocalAI

Tutte le issue di mudler/LocalAI

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.