intellibrix v1.0.0
    Preparing search index...

    Interface ChatReplOptions

    interface ChatReplOptions {
        exitCommands?: string[];
        hint?: string | false;
        prompt?: string;
        signal?: AbortSignal;
        threadId?: string;
    }
    Index
    exitCommands?: string[]

    Inputs (case-insensitive) that end the session.

    ['exit', 'quit']
    
    hint?: string | false

    Shown once when the session starts. false disables it.

    'Type "exit" or press Ctrl+C to quit.'
    
    prompt?: string

    Prompt shown before each input.

    '> '
    
    signal?: AbortSignal

    Aborts the session, including an in-flight ask().

    threadId?: string

    Thread id passed to ask(), so a configured memory carries the conversation. Defaults to a random id.