SubagentMessageInfo

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

One message a child agent produced, with the tool activity that message requested.

import type { SubagentMessageInfo } from '@threadplane/react/chat';

Declaration

export interface SubagentMessageInfo  {
  readonly activities?: readonly ToolActivityInfo[];
  readonly id: string;
  readonly reasoning?: string;
  readonly text?: string;
}

Members

activities

readonly activities?: readonly ToolActivityInfo[];

id

readonly id: string;

reasoning

Backend-supplied reasoning display text.

readonly reasoning?: string;

text

Literal child text. Empty or absent text renders nothing.

readonly text?: string;