functai for TypeScript - v0.1.0
    Preparing search index...

    Interface ServeOptions

    Options of a service.

    interface ServeOptions {
        approvals?: "caller" | "owner";
        keys?: string | readonly string[] | null;
        lm?: string | null;
        store?: string | boolean | ConversationStore | null;
    }
    Index
    approvals?: "caller" | "owner"

    Who answers a tool call the program's approve rule asks about: the owner (in their own process), or the caller, through the approvals route.

    keys?: string | readonly string[] | null

    Bearer keys a caller must send: a list, one key, or a file of one key per line (# comments skipped). None: no key, which serve allows only on this machine.

    lm?: string | null

    The model every call uses, bound when serving starts.

    store?: string | boolean | ConversationStore | null

    Where conversations are kept (as fn.conversation({ store })); null keeps them in this process's memory.