Skip to main content

DictCondition

Defined in the evaluator module.
AI Agent Dict-based condition evaluator for routing decisions. Used by AgentTeam for task routing based on decision keys.

Constructor

routes
Dict
required
No description available.
key
str
default:"'decision'"
No description available.

Methods

evaluate()

Check if the context contains a valid routing decision.

get_target()

Get target tasks based on the decision value.

Usage

Source

View on GitHub

praisonaiagents/conditions/evaluator.py at line 66