Skip to content

HistoryMessage

HistoryMessage = { user: string | ContentPart[]; } | { assistant: string; } | { system: string; }

Defined in: agent/builder.ts:42

Message for conversation history. User messages can be text (string) or multimodal (ContentPart[]).