Session and prompt lost when stopping an action or hitting the stop button
Nessuno ha ancora preso questa issue.
- Lingua principale
- Shell
- Stelle
- 11.2k
- Fork
- 1.9k
- Merge medio
- 14h 16m
- PR unite (30g)
- 6
Descrizione
Bug Report
Description
When a user stops an in-progress action (e.g., hits the stop button during agent execution), the entire session — including the original prompt and any edits made to it — is deleted. This has happened multiple times.
Steps to Reproduce
- Create a new session with a detailed prompt
- The agent begins executing
- Hit the "stop" button to cancel the action
- The session disappears entirely — prompt, conversation history, and session are gone
Expected Behavior
Stopping an action should halt execution but preserve the session, the original prompt, and any conversation history up to that point. The user should be able to resume or re-run from that state.
Actual Behavior
The entire session is deleted, including the user's original prompt and any iterative edits they made to it. There is no way to recover the work.
Impact
- Loss of detailed, carefully crafted prompts that took time to write and iterate on
- User has to recreate the prompt from memory, losing edits made in the previous session
- Erodes trust in the tool for complex, multi-turn prompt development
Additional Context
- Reported by a user in the
github/lifecyclemarketingproject - Has occurred multiple times (not a one-off)
- The lost session involved a complex weekly digest workflow prompt that had been edited several times before the stop action was triggered
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci il problema creando una sessione con un prompt modificato, avviando un’azione e premendo il pulsante di arresto. Traccia il percorso di arresto/annullamento per identificare dove viene eliminata la sessione; il lavoro è completato quando l’esecuzione si arresta mentre il prompt, le modifiche, la cronologia della conversazione e la sessione rimangono disponibili per riprendere o rieseguire l’operazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- shell
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 55/100