import { type AbstractChatCompletionRunnerEvents } from "https://deno.land/x/openai@v4.21.0/lib/AbstractChatCompletionRunner.ts";
Properties
message: (message: ChatCompletionMessageParam) => void
chatCompletion: (completion: ChatCompletion) => void
finalMessage: (message: ChatCompletionMessageParam) => void
finalChatCompletion: (completion: ChatCompletion) => void
error: (error: OpenAIError) => void
abort: (error: APIUserAbortError) => void
totalUsage: (usage: CompletionUsage) => void