Aannounce Completion • AI Agent SDK

aannounce_completion: Async version of announce_completion.

aannounce_completion

Async

Method

</div>

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

Async version of announce_completion.

Signature

python
async def aannounce_completion(agent_id: str, task_id: str, result: Any, success: bool, error: Optional[str], metadata: Optional[Dict[str, Any]]) -> None

Parameters

ParamField str

No description available.

ParamField str

No description available.

ParamField Any

No description available.

ParamField bool

No description available.

ParamField Optional[str]

No description available.

ParamField Optional

No description available.

Uses

  • SubAgentCompletionEvent
  • event_bus.publish_async
  • event_bus.publish
  • logger.debug

Used By

Source

View on GitHub

praisonaiagents/agents/agents.py at line 4771