Parameters
This class has no initialization parameters as it uses only static methods.Functions
enhance_task_context
Enhance a task’s context with all relevant information from the workflow.
Parameters:
current_task
(Task): The task to enhanceall_tasks
(List[Task]): All tasks in the workflowtask_index
(int): Index of the current taskagent_configurations
(List[Any]): Available agent configurationscompleted_results
(List[Task]): Previously completed tasks with results
build_selection_context
Build context for agent selection process.
Parameters:
current_task
(Task): The task for which to select an agentall_tasks
(List[Task]): All tasks in the workflowtask_index
(int): Index of the current taskagent_configurations
(List[Any]): Available agent configurationscompleted_results
(List[Task]): Previously completed tasks with results
List[Any]
: List of context items for agent selection