On an incomplete message, details about why the message is incomplete.

interface IncompleteDetails {
    reason:
        | "max_tokens"
        | "content_filter"
        | "run_cancelled"
        | "run_expired"
        | "run_failed";
}

Properties

Properties

reason:
    | "max_tokens"
    | "content_filter"
    | "run_cancelled"
    | "run_expired"
    | "run_failed"

The reason the message is incomplete.