Details on why the run is incomplete. Will be null if the run is not incomplete.

interface IncompleteDetails {
    reason?: "max_completion_tokens" | "max_prompt_tokens";
}

Properties

Properties

reason?: "max_completion_tokens" | "max_prompt_tokens"

The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run.