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

StepFinishedEvent.md

86 lines1.6 KB

Interface: StepFinishedEvent

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

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/ai/src/types.ts:1282

Full accumulated thinking content (TanStack AI internal)


delta?

optional delta: string;

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

Incremental thinking content (TanStack AI internal)


model?

optional model: string;

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

Model identifier for multi-model support


signature?

optional signature: string;

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

Provider signature for the thinking block


stepId?

optional stepId: string;

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

Deprecated

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