Skip to main content

CompletionRun

@totemsdk/qvac


@totemsdk/qvac / CompletionRun

Interface: CompletionRun

Properties​

events​

events: AsyncIterable<CompletionEvent>


final​

final: Promise<CompletionFinal>


requestId​

requestId: string


stats​

stats: Promise<CompletionStats | undefined>


text​

text: Promise<string>


tokenStream​

tokenStream: AsyncGenerator<string>


toolCalls​

toolCalls: Promise<ToolCallWithCall[]>


toolCallStream​

toolCallStream: AsyncGenerator<ToolCallEvent>