safety constant
Candidate_FinishReason
const safety
Token generation stopped because the content potentially contains safety
violations. NOTE: When streaming,
content is empty if
content filters blocks the output.
Implementation
static const safety = Candidate_FinishReason('SAFETY');