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

    Interface TuiInfo

    What the chat shows about itself in the header and the status line.

    interface TuiInfo {
        problem: string | null;
        model: string;
        provider?: string;
        mode?: PermissionMode;
        setMode?: (mode: PermissionMode) => void;
    }
    Index
    problem: string | null

    The problem folder name, or null for a new problem.

    model: string

    The model id, like google/gemma-4-31b-it.

    provider?: string

    The provider name shown next to the model, OpenRouter by default.

    The permission mode at start, ask by default.

    setMode?: (mode: PermissionMode) => void

    Called when the user switches the mode (shift+tab).