We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 008ccb4 commit c66def2Copy full SHA for c66def2
1 file changed
packages/opencode/src/session/prompt.ts
@@ -191,9 +191,13 @@ export namespace SessionPrompt {
191
const session = await Session.get(input.sessionID)
192
await SessionRevert.cleanup(session)
193
194
- await createUserMessage(input)
+ const message = await createUserMessage(input)
195
await Session.touch(input.sessionID)
196
197
+ if (input.noReply) {
198
+ return message
199
+ }
200
+
201
return loop(input.sessionID)
202
})
203
0 commit comments