Polyman Documentation - v3.1.0
    Preparing search index...

    Interface AiIo

    What the commands read and write. Tests pass fakes.

    interface AiIo {
        store?: KeyStore;
        readStdin?: () => Promise<string>;
        promptHidden?: (question: string) => Promise<string>;
        catalog?: ModelCatalog;
    }
    Index
    store?: KeyStore

    Where keys live. Defaults to ~/.polyman/ai.json.

    readStdin?: () => Promise<string>

    Reads the key for --key-stdin.

    promptHidden?: (question: string) => Promise<string>

    Asks for the key with a hidden prompt.

    catalog?: ModelCatalog

    Live model lists. Defaults to a ModelCatalog in ~/.polyman.