claudius-chat-widget
    Preparing search index...

    Interface ChatApiClientOptions

    Options for ChatApiClient.

    interface ChatApiClientOptions {
        debounceMs?: number;
        maxRetries?: number;
        timeoutMs?: number;
    }
    Index

    Properties

    debounceMs?: number

    Minimum gap between sends, in milliseconds. A send inside this window rejects with DebounceError. Set to 0 to disable.

    300

    maxRetries?: number

    Maximum retries after the first attempt, for retryable failures (HTTP 429/503, network errors, timeouts).

    2

    timeoutMs?: number

    Per-attempt request timeout in milliseconds. Aborts the in-flight fetch via AbortController and surfaces a retryable ChatApiError with code "TIMEOUT". Set to 0 to disable.

    30000