mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-24 23:04:55 +00:00
feat: support delegate_task tool in subagent UI view (#11575)
This commit is contained in:
@@ -360,7 +360,7 @@ export function SessionTurn(
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
part.type === "tool" &&
|
part.type === "tool" &&
|
||||||
part.tool === "task" &&
|
(part.tool === "task" || part.tool === "delegate_task") &&
|
||||||
part.state &&
|
part.state &&
|
||||||
"metadata" in part.state &&
|
"metadata" in part.state &&
|
||||||
part.state.metadata?.sessionId &&
|
part.state.metadata?.sessionId &&
|
||||||
|
|||||||
Reference in New Issue
Block a user