Skip to main content
Module

x/openai/resources/beta/threads/runs/runs.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.29.0/resources/beta/threads/runs/runs.ts";

Interfaces

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

Type Aliases

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