Documentation
    Preparing search index...

    Type Alias HttpLlmProvider

    HttpLlmProvider: (
        endpoint: LlmProviderEndpoint,
        request: LlmGenerationRequest,
        signal: AbortSignal,
        onDelta?: (event: LlmBlockEvent) => void,
    ) => Promise<LlmGeneration>

    Perform one provider generation. onDelta receives block lifecycle events when the provider was created with stream: true; it is never called on the buffered path.

    Type Declaration