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

    Interface AgentCondition

    Agent execution condition

    interface AgentCondition {
        type:
            | "custom"
            | "timeout"
            | "step_count"
            | "result_match"
            | "error_threshold";
        value: any;
        check?: (steps: AgentStep[]) => boolean;
        description?: string;
    }
    Index

    Properties

    type: "custom" | "timeout" | "step_count" | "result_match" | "error_threshold"

    Condition type

    value: any

    Condition value

    check?: (steps: AgentStep[]) => boolean

    Condition check function for custom conditions

    description?: string

    Condition description