finishMessage property

String? finishMessage
final

An optional human-readable message describing why the turn ended.

Carries, for example, the "Reached max turns of N" text from a generation that overran its turn limit, so the SessionRunner can surface it rather than dropping it.

Implementation

final String? finishMessage;