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.31.0/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.

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.

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

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.

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