Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

MidConversationChange.md

46 lines1.0 KB

Defined in: packages/ai/src/types.ts:380

The mid-conversation record that chat() saves on the first assistant message of a model call. It holds tool names and prompt hashes only, so it does not depend on a provider.

Properties

systemPrompts?

optional systemPrompts?: string[];

Defined in: packages/ai/src/types.ts:386

Short prompt hashes: every prompt on a start point, the added prompts otherwise.


tools?

optional tools?: string[];

Defined in: packages/ai/src/types.ts:382

A start point: the names of every tool.


toolsAdded?

optional toolsAdded?: string[];

Defined in: packages/ai/src/types.ts:384

Tool names added since the last record.