Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.38.5/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.