subagentsFromEvidence
Unpublished development API. This package is under development and is not available as a published release.
Group each child's attributed messages under its start evidence, and separate them from the root transcript.
Status follows evidence only: finished is complete, an error is error, and a child with no terminal evidence
is running while the root run is active and unknown afterwards. An earlier child is never running: running
describes the current run only. Messages attributed to a child with no start
evidence are still removed from the root transcript and belong to no card.
import { subagentsFromEvidence } from '@threadplane/react/chat';Declaration · overload 1
export declare function subagentsFromEvidence<TMessage extends SubagentEvidenceMessage = SubagentEvidenceMessage>(input: SubagentEvidence<TMessage>): SubagentProjection<TMessage>;Type parameters
TMessageSubagentEvidenceMessageDefault:SubagentEvidenceMessage
Parameters
{ subagents, earlierSubagents, transcript, running, toolLabel, toolOutcome, }· requiredinput· requiredSubagentEvidence<TMessage>
Returns
SubagentProjection<TMessage>