Skip to main content

run_task

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

Signature

def run_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
  • on_task_start
  • logger.error
  • logger.debug
  • execute_task
  • completion_checker
  • task.execute_callback_sync
  • logger.exception
  • asyncio.iscoroutinefunction

Used By

Source

View on GitHub

praisonaiagents/agents/agents.py at line 1097