Skip to content

Commit bcf0a16

Browse files
committed
Fix /resume
1 parent 66e7f5a commit bcf0a16

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44

55
- Add `/fork` command to clone current chat into a new chat with the same history and settings, and `chat/opened` server notification.
6+
- Fix `/resume` leaving the chat stuck after replaying messages because the resumed chat's `:prompt-finished?` flag blocked finalization.
67

78
## 0.118.1
89

src/eca/features/commands.clj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@
401401
:else
402402
(let [chat (get chats selected-chat-id)]
403403
(swap! db* assoc-in [:chats chat-id] chat)
404+
(swap! db* update-in [:chats chat-id] dissoc :prompt-finished?)
404405
(swap! db* update-in [:chats] #(dissoc % selected-chat-id))
405406
(db/update-workspaces-cache! @db* metrics)
406407
{:type :chat-messages

0 commit comments

Comments
 (0)