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

    Interface ModelSchedulerOptions

    What the real scheduler needs from the chat.

    interface ModelSchedulerOptions {
        provider: Provider;
        model: string;
        bus: EventBus;
        gate: PermissionGate;
        secrets(): string[];
        budgets?: Pick<ChatBudgets, "contextBudgetTokens" | "maxOutputTokens">;
    }
    Index
    provider: Provider
    model: string

    The chat bus: plan, task and usage events go to the UI.

    The chat gate: it asks the user to approve the plan.

    budgets?: Pick<ChatBudgets, "contextBudgetTokens" | "maxOutputTokens">

    The chat budgets for this model. The manager and the workers get its max output; a worker gets its context budget when it is smaller than WORKER_CONTEXT_TOKENS. Without it they use their defaults.