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

x/openai/resources/beta/mod.ts>RunStreamEvent.ThreadRunFailed

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

Occurs when a run fails.

Properties

data: RunsAPI.Run

Represents an execution run on a thread.

event: "thread.run.failed"