Skip to main content

execute_task

Method
This is a method of the AgentTeam class in the agents module.
Synchronous version of execute_task method

Signature

def execute_task(task_id: Any) -> Any

Parameters

task_id
Any
required
No description available.

Returns

Returns
Any
The result of the operation.

Uses

  • display_error
  • logger.info
  • task.initialize_memory
  • llm.set_current_agent
  • process_task_context
  • dict.fromkeys
  • logger.debug
  • build_context_for_task
  • logger.error
  • executor_agent.chat

Used By

Source

View on GitHub

praisonaiagents/agents/agents.py at line 930