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

    Interface Change

    What a hook changes, as data. Each hook takes some fields; another refuses (plugin-change).

    • instruction: the instruction itself, for this call (beforeCall); sections: text added after it, in order (beforeCall, context);
    • lm: the model for this call; settings: lm15 settings for it (temperature, maxTokens, reasoning, …) (beforeCall);
    • tools: the names of the tools offered, from the function's own (beforeCall);
    • keep: the ids of the earlier turns shown; without: fields left out of earlier turns, a list for every turn or { [turnId]: names } (context);
    • inputs: inputs replaced, by name (turnStart: the turn's; toolCall: the tool's);
    • block: the tool may not run, and why (toolCall);
    • output: the tool's result as the model is shown it (toolResult).
    interface Change {
        block?: string;
        inputs?: Readonly<Rec>;
        instruction?: string;
        keep?: readonly string[];
        lm?: string;
        output?: string;
        sections?: readonly string[];
        settings?: Readonly<Rec>;
        tools?: readonly string[];
        without?: readonly string[] | Readonly<Record<string, readonly string[]>>;
    }
    Index
    block?: string
    inputs?: Readonly<Rec>
    instruction?: string
    keep?: readonly string[]
    lm?: string
    output?: string
    sections?: readonly string[]
    settings?: Readonly<Rec>
    tools?: readonly string[]
    without?: readonly string[] | Readonly<Record<string, readonly string[]>>