@conciergus/chat - v0.3.1
    Preparing search index...

    Interface ContinueUntilOptions

    interface ContinueUntilOptions {
        condition: (workflow: AgentWorkflow, step: AgentStep) => boolean;
        maxSteps?: number;
        maxDuration?: number;
        onStep?: (step: AgentStep) => void;
        onDecision?: (
            decision: {
                action: string;
                confidence: number;
                alternatives: string[];
            },
        ) => void;
        onToolCall?: (
            toolCall: {
                name: string;
                arguments: any;
                result?: any;
                error?: string;
            },
        ) => void;
        pauseOnError?: boolean;
        retryFailedSteps?: boolean;
    }
    Index

    Properties

    condition: (workflow: AgentWorkflow, step: AgentStep) => boolean
    maxSteps?: number
    maxDuration?: number
    onStep?: (step: AgentStep) => void
    onDecision?: (
        decision: { action: string; confidence: number; alternatives: string[] },
    ) => void
    onToolCall?: (
        toolCall: { name: string; arguments: any; result?: any; error?: string },
    ) => void
    pauseOnError?: boolean
    retryFailedSteps?: boolean