Documentation
    Preparing search index...

    Interface HttpLlmProviderOptions

    Options for createHttpLlmProvider.

    interface HttpLlmProviderOptions {
        fetch?: LlmFetch;
        stream?: boolean;
    }
    Index

    Properties

    Properties

    fetch?: LlmFetch

    Fetch implementation; defaults to the global fetch.

    stream?: boolean

    Request each dialect's server-sent-event form and forward block lifecycle events to onDelta. The resolved generation is the same as the buffered path's. Default false. An endpoint whose route only streams is still read as a stream, without forwarding events.