Skip to content

Commit befbeda

Browse files
authored
fix(session): subagents not being clickable (#20263)
1 parent 2cc738f commit befbeda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/session/prompt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ NOTE: At any point in time through this workflow you should feel free to ask the
403403
Effect.runPromise(
404404
Effect.gen(function* () {
405405
const match = input.processor.partFromToolCall(options.toolCallId)
406-
if (!match || match.state.status !== "running") return
406+
if (!match || !["running", "pending"].includes(match.state.status)) return
407407
yield* sessions.updatePart({
408408
...match,
409409
state: {

0 commit comments

Comments
 (0)