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

x/openai/resources/beta/assistants.ts>AssistantStreamEvent.ThreadRunCancelled

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface AssistantStreamEvent.ThreadRunCancelled
import { type AssistantStreamEvent } from "https://deno.land/x/openai@v4.64.0/resources/beta/assistants.ts";
const { ThreadRunCancelled } = AssistantStreamEvent;

Occurs when a run is cancelled.

Properties

data: RunsAPI.Run

Represents an execution run on a thread.

event: "thread.run.cancelled"