Run Task • AI Agent SDK

run_task: Synchronous version of run_task method

run_task

Method

</div>

This is a method of the AgentTeam class in the agents module.

Synchronous version of run_task method

Signature

python
def run_task(task_id: Any) -> Any

Parameters

ParamField Any

No description available.

Returns

ResponseField Any

The result of the operation.

Uses

  • display_error
  • logger.info

Used By

Source

View on GitHub

praisonaiagents/agents/agents.py at line 2403


Related Documentation