CoAgent8
    Preparing search index...

    Interface TurnCompletion

    How the review turn ended, from the backend's protocol rather than the model's text.

    lengthLimited is true only when the backend reported a stop at the output length limit, and undefined when it reports no stop reason (Codex and agy today).

    interface TurnCompletion {
        completed: boolean;
        lengthLimited?: boolean;
    }
    Index
    completed: boolean

    The turn ended with a normal terminal event: not interrupted, timed out or failed.

    lengthLimited?: boolean