mirror of
https://github.com/aljazceru/opencode.git
synced 2026-02-02 14:45:04 +01:00
fix: noreply
This commit is contained in:
@@ -191,9 +191,13 @@ export namespace SessionPrompt {
|
||||
const session = await Session.get(input.sessionID)
|
||||
await SessionRevert.cleanup(session)
|
||||
|
||||
await createUserMessage(input)
|
||||
const message = await createUserMessage(input)
|
||||
await Session.touch(input.sessionID)
|
||||
|
||||
if (input.noReply) {
|
||||
return message
|
||||
}
|
||||
|
||||
return loop(input.sessionID)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user