Skip to content

DirectBackend

Defined in: types.ts:24

Backend adapter interface for direct mode. This allows using a BackendAdapter or Bridge directly without HTTP.

execute(request, signal?): Promise<IRChatResponse>

Defined in: types.ts:25

IRChatRequest

AbortSignal

Promise<IRChatResponse>


optional executeStream(request, signal?): AsyncGenerator<IRStreamChunk, void, undefined>

Defined in: types.ts:27

IRChatRequest

AbortSignal

AsyncGenerator<IRStreamChunk, void, undefined>