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

StepFinishedEvent

Interface: StepFinishedEvent

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

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

Full accumulated thinking content (TanStack AI internal)


delta?

ts
optional delta: string;
optional delta: string;

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

Incremental thinking content (TanStack AI internal)


model?

ts
optional model: string;
optional model: string;

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

Model identifier for multi-model support


stepId?

ts
optional stepId: string;
optional stepId: string;

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

Deprecated

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