We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cc738f commit befbedaCopy full SHA for befbeda
1 file changed
packages/opencode/src/session/prompt.ts
@@ -403,7 +403,7 @@ NOTE: At any point in time through this workflow you should feel free to ask the
403
Effect.runPromise(
404
Effect.gen(function* () {
405
const match = input.processor.partFromToolCall(options.toolCallId)
406
- if (!match || match.state.status !== "running") return
+ if (!match || !["running", "pending"].includes(match.state.status)) return
407
yield* sessions.updatePart({
408
...match,
409
state: {
0 commit comments