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

x/openai/resources/beta/threads/runs/mod.ts

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
import * as openai from "https://deno.land/x/openai@v4.52.1/resources/beta/threads/runs/mod.ts";

Interfaces

Text output from the Code Interpreter tool call as part of a run step.

Details of the Code Interpreter tool call the run step was involved in.

The Code Interpreter tool call definition.

Text output from the Code Interpreter tool call as part of a run step.

Details of the Code Interpreter tool call the run step was involved in.

The Code Interpreter tool call definition.

The definition of the function that was called.

The definition of the function that was called.

Details of the message creation by the run step.

Tool call objects

The function definition.

Represents an execution run on a thread.

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

The last error associated with this run. Will be null if there are no errors.

Details on the action required to continue the run. Will be null if no action is required.

Details on the tool outputs needed for this run to continue.

Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run.

Usage statistics related to the run. This value will be null if the run is not in a terminal state (i.e. in_progress, queued, etc.).

Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run.

Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run.

Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run.

Represents a step in execution of a run.

The last error associated with this run step. Will be null if there are no errors.

Usage statistics related to the run step. This value will be null while the run step's status is in_progress.

The delta containing the fields that have changed on the run step.

Represents a run step delta i.e. any changed fields on a run step during streaming.

Details of the message creation by the run step.

Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run.

Details of the tool call.

Details of the tool call.

Type Aliases

The status of the run, which can be either queued, in_progress, requires_action, cancelling, cancelled, failed, completed, incomplete, or expired.

Details of the Code Interpreter tool call the run step was involved in.

Details of the Code Interpreter tool call the run step was involved in.