AvailableCondition
autogen.agentchat.group.available_condition.AvailableCondition #
Bases: BaseModel
Protocol for determining if a condition is available to be evaluated.
is_available #
Determine if the condition should be considered for evaluation.
PARAMETER | DESCRIPTION |
---|---|
agent | The agent evaluating the condition TYPE: |
messages | The conversation history |
RETURNS | DESCRIPTION |
---|---|
bool | True if the condition should be evaluated, False otherwise |