fix(session): subagents not being clickable (#20263)

pull/10827/merge
Dax 2026-03-31 08:58:46 -04:00 committed by GitHub
parent 2cc738fb17
commit befbedacdc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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: {