ai.content.StopReason
Why the model stopped. `ToolUse` means the turn ended with tool calls the runner must execute before the next turn.
Reference version
Signature
enum ai.content.StopReasonWhy the model stopped. ToolUse means the turn ended with tool calls the
runner must execute before the next turn.
Source:<builtin>/ai/ns_content/content.bamlbytes 4057–4193
Variants
Complete
ToolUse
MaxTokens
Refused
Failed
The attempt threw; see ModelTurn.error.