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

    Interface IdeaWorkflowOptions

    What IdeaWorkflow needs.

    interface IdeaWorkflowOptions {
        provider: Provider;
        model: string;
        bus: EventBus;
        count?: number;
        maxOutputTokens?: number;
    }
    Index
    provider: Provider
    model: string

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

    count?: number

    Ideas per run, 3 by default.

    maxOutputTokens?: number

    The most output tokens the model may give in one call. The ideator asks for 3000 and the critic for 2000, never more than this.