Open History to see the last commit
Defined in: packages/ai/src/types.ts:393
What changed in the tools and system prompts between model calls.
chat() passes it in TextOptions.midConversationChanges.
Properties#
changes#
changes: object[];
Defined in: packages/ai/src/types.ts:404
Each change goes directly before messages[before], or at the end when
before === messages.length. tools are the added names.
systemPrompts is how many of the next entries of systemPrompts it adds.
before#
before: number;
systemPrompts?#
optional systemPrompts?: number;
tools?#
optional tools?: string[];
start#
start: object;
Defined in: packages/ai/src/types.ts:398
The tool names of the start point, in start order, and how many entries
at the front of systemPrompts belong to it.
systemPrompts#
systemPrompts: number;
tools#
tools: string[];