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

StepStartedEvent

Interface: StepStartedEvent

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

Emitted when a thinking/reasoning step starts.

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

Extends

  • StepStartedEvent

Indexable

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

Properties

model?

ts
optional model: string;
optional model: string;

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

Model identifier for multi-model support


stepId?

ts
optional stepId: string;
optional stepId: string;

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

Deprecated

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


stepType?

ts
optional stepType: string;
optional stepType: string;

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

Type of step (e.g., 'thinking', 'planning')