tarlatan
    Preparing search index...

    Function reportsCompletedTurn

    • Whether an event reports a completed turn. Classification receives this answer, not the wire tag (review item M05).

      Parameters

      • event:
            | { type: "thread.started" }
            | { type: "turn.started" }
            | { type: "turn.completed"; usage?: { readonly [key: string]: unknown } }
            | { error?: { readonly [key: string]: unknown }; type: "turn.failed" }
            | { message?: string; type: "error" }

      Returns boolean