Skip to main content

arun_task

AsyncMethod
This is a method of the AgentTeam class in the agents module.
Async version of run_task method

Signature

async def arun_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
  • logger.debug
  • aexecute_task
  • completion_checker
  • task.execute_callback_sync
  • logger.error
  • logger.exception
  • asyncio.iscoroutinefunction
  • asyncio.get_running_loop

Used By

Source

View on GitHub

praisonaiagents/agents/agents.py at line 748