@honua/sdk-js
    Preparing search index...

    Type Alias StudioAiStopReasonExperimental

    StudioAiStopReason:
        | "EndTurn"
        | "ToolCall"
        | "MaxTokens"
        | "ContentFilter"
        | "Cancelled"
        | "Error"
        | "endTurn"
        | "toolCall"
        | "maxTokens"
        | "contentFilter"
        | "cancelled"
        | "error"

    Why a turn stopped generating, set on messageStop. The server sends PascalCase values; existing camelCase aliases remain supported. The transport preserves the received spelling because it is signed transcript data. Recognizing a spelling does not imply successful completion: truncation, filtering, cancellation, and errors retain their distinct meanings.