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

StepFinishedEvent.md

86 lines1.7 KB

Interface: StepFinishedEvent

Defined in: packages/typescript/ai/src/types.ts:1079

Emitted when a thinking/reasoning step finishes.

@ag-ui/core provides: stepName TanStack AI adds: model?, stepId? (deprecated alias), delta?, content?

Extends

  • StepFinishedEvent

Indexable

[k: string]: unknown

Properties

content?

optional content: string;

Defined in: packages/typescript/ai/src/types.ts:1090

Full accumulated thinking content (TanStack AI internal)


delta?

optional delta: string;

Defined in: packages/typescript/ai/src/types.ts:1088

Incremental thinking content (TanStack AI internal)


model?

optional model: string;

Defined in: packages/typescript/ai/src/types.ts:1081

Model identifier for multi-model support


signature?

optional signature: string;

Defined in: packages/typescript/ai/src/types.ts:1092

Provider signature for the thinking block


stepId?

optional stepId: string;

Defined in: packages/typescript/ai/src/types.ts:1086

Deprecated

Use stepName instead (from @ag-ui/core spec). Kept for backward compatibility.