ControllerBase#
- class council.controllers.ControllerBase(chains: List[Chain])[source]#
Bases:
Monitorable,ABCAbstract base class for an agent controller.
- __init__(chains: List[Chain])[source]#
- Parameters:
chains (List[Chain]) – The list of chains available for execution.
- execute(context: AgentContext) List[ExecutionUnit][source]#
Generates an execution plan for the agent based on the provided context, chains, and budget.
- Parameters:
context (AgentContext) – The context for generating the execution plan.
- Returns:
A list of execution units representing the execution plan.
- Return type:
List[ExecutionUnit]
- Raises:
None –