Defined in: packages/typescript/ai/src/types.ts:630
State passed to agent loop strategy for determining whether to continue
finishReason: string | null;finishReason: string | null;Defined in: packages/typescript/ai/src/types.ts:636
Finish reason from the last response
iterationCount: number;iterationCount: number;Defined in: packages/typescript/ai/src/types.ts:632
Current iteration count (0-indexed)
messages: ModelMessage<
| string
| ContentPart<unknown, unknown, unknown, unknown, unknown>[]
| null>[];messages: ModelMessage<
| string
| ContentPart<unknown, unknown, unknown, unknown, unknown>[]
| null>[];Defined in: packages/typescript/ai/src/types.ts:634
Current messages array