truncated property
bool
get
truncated
Whether the output hit the token limit and is truncated.
Implementation
bool get truncated => stopReason == 'max_tokens' || stopReason == 'length';
Whether the output hit the token limit and is truncated.
bool get truncated => stopReason == 'max_tokens' || stopReason == 'length';