Skip to content

Commit b019011

Browse files
author
Ryan Vogel
committed
fix: restore status idle set in processor error handler to fix unit tests
1 parent 4cfe8a8 commit b019011

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/opencode/src/session/processor.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,7 @@ export const layer: Layer.Layer<
533533
sessionID: ctx.assistantMessage.sessionID,
534534
error: ctx.assistantMessage.error,
535535
})
536+
yield* status.set(ctx.sessionID, { type: "idle" })
536537
})
537538

538539
const process = Effect.fn("SessionProcessor.process")(function* (streamInput: LLM.StreamInput) {

0 commit comments

Comments
 (0)