Defined in: types.ts:604
State passed to agent loop strategy for determining whether to continue
finishReason: string | null;finishReason: string | null;Defined in: types.ts:610
Finish reason from the last response
iterationCount: number;iterationCount: number;Defined in: types.ts:606
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: types.ts:608
Current messages array