Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/beta/threads/mod.ts>Run.IncompleteDetails

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface Run.IncompleteDetails
import { type Run } from "https://deno.land/x/openai@v4.61.1/resources/beta/threads/mod.ts";
const { IncompleteDetails } = Run;

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

Properties

optional
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.