mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-02 10:46:46 +00:00
fix(session): subagents not being clickable (#20263)
This commit is contained in:
@@ -403,7 +403,7 @@ NOTE: At any point in time through this workflow you should feel free to ask the
|
|||||||
Effect.runPromise(
|
Effect.runPromise(
|
||||||
Effect.gen(function* () {
|
Effect.gen(function* () {
|
||||||
const match = input.processor.partFromToolCall(options.toolCallId)
|
const match = input.processor.partFromToolCall(options.toolCallId)
|
||||||
if (!match || match.state.status !== "running") return
|
if (!match || !["running", "pending"].includes(match.state.status)) return
|
||||||
yield* sessions.updatePart({
|
yield* sessions.updatePart({
|
||||||
...match,
|
...match,
|
||||||
state: {
|
state: {
|
||||||
|
|||||||
Reference in New Issue
Block a user