mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: permission rejection no longer stalls queued messages
Queued messages were not "flushed" pending a new prompt on tool permission rejection, despite UI indication to the contrary.
This commit is contained in:
parent
540407e193
commit
bc349b7e25
1 changed files with 1 additions and 1 deletions
|
|
@ -370,8 +370,8 @@ export namespace SessionProcessor {
|
|||
}
|
||||
}
|
||||
input.assistantMessage.time.completed = Date.now()
|
||||
if (blocked) input.assistantMessage.finish = "stop"
|
||||
await Session.updateMessage(input.assistantMessage)
|
||||
if (blocked) return "stop"
|
||||
if (input.assistantMessage.error) return "stop"
|
||||
return "continue"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue