interface AssistantStreamEvents
implements AbstractAssistantRunnerEvents
import { type AssistantStreamEvents } from "https://deno.land/x/openai@v4.38.0/lib/AssistantStream.ts";
Properties
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