interface AssistantStreamEvents
implements BaseEvents
import { type AssistantStreamEvents } from "https://deno.land/x/openai@v4.69.0/lib/AssistantStream.ts";
Properties
run: (run: Run) => void
messageCreated: (message: Message) => void
messageDelta: (message: MessageDelta, snapshot: Message) => void
messageDone: (message: Message) => void
runStepCreated: (runStep: RunStep) => void
runStepDelta: (delta: RunStepDelta, snapshot: Runs.RunStep) => void
toolCallCreated: (toolCall: ToolCall) => void
toolCallDelta: (delta: ToolCallDelta, snapshot: ToolCall) => void
toolCallDone: (toolCall: ToolCall) => void
textCreated: (content: Text) => void
event: (event: AssistantStreamEvent) => void