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.StopReason

Why 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 40614135

Variants

Complete

ToolUse

MaxTokens

Refused