Open History to see the last commit
Interface: ModelMessage<TContent>#
Defined in: packages/typescript/ai/src/types.ts:312
Type Parameters#
TContent#
TContent extends string | null | ContentPart[] = string | null | ContentPart[]
Properties#
content#
content: TContent;
Defined in: packages/typescript/ai/src/types.ts:319
name?#
optional name: string;
Defined in: packages/typescript/ai/src/types.ts:320
role#
role: "user" | "assistant" | "tool";
Defined in: packages/typescript/ai/src/types.ts:318
thinking?#
optional thinking: object[];
Defined in: packages/typescript/ai/src/types.ts:323
content#
content: string;
signature?#
optional signature: string;
toolCallId?#
optional toolCallId: string;
Defined in: packages/typescript/ai/src/types.ts:322
toolCalls?#
optional toolCalls: ToolCall<unknown>[];
Defined in: packages/typescript/ai/src/types.ts:321