FakeSubagentInput

Unpublished development API. This package is under development and is not available as a published release.

A child agent to place in a fake snapshot. The status defaults to 'complete', and its messages take the same defaults as root messages.

import type { FakeSubagentInput } from '@threadplane/core/testing';

Declaration

export type FakeSubagentInput = Omit<AgentSubagent, 'status' | 'messages' | 'toolCalls'> & {
    readonly status?: AgentSubagentStatus;
    readonly messages?: readonly FakeMessageInput[];
    readonly toolCalls?: readonly ToolCall[];
};