Docs
CodeRabbit
Cloudflare
Railway
Netlify
Clerk
SerpAPI
WorkOS
AG Grid
OpenRouter
Electric
Prisma
Unkey
Sentry
CodeRabbit
Cloudflare
Railway
Netlify
Clerk
SerpAPI
WorkOS
AG Grid
OpenRouter
Electric
Prisma
Unkey
Sentry
Class References
Function References
Interface References
Type Alias References
Variable References

StepFinishedEvent

Interface: StepFinishedEvent

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

Emitted when a thinking/reasoning step finishes.

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

Extends

  • StepFinishedEvent

Indexable

ts
[k: string]: unknown
[k: string]: unknown

Properties

content?

ts
optional content: string;
optional content: string;

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

Full accumulated thinking content (TanStack AI internal)


delta?

ts
optional delta: string;
optional delta: string;

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

Incremental thinking content (TanStack AI internal)


model?

ts
optional model: string;
optional model: string;

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

Model identifier for multi-model support


signature?

ts
optional signature: string;
optional signature: string;

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

Provider signature for the thinking block


stepId?

ts
optional stepId: string;
optional stepId: string;

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

Deprecated

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