Task End • AI Agent SDK

task_end: A team task ends: “completed“, “failed“ or “skipped“.

task_end

Method

</div>

This is a method of the ContextTraceEmitter class in the context_events module.

A team task ends: `completed, failed or skipped`.

Signature

python
def task_end(name: Optional[str], status: str, retries: int, duration_ms: float, output: Any, agent: Optional[str], node_id: Optional[str]) -> None

Parameters

ParamField Optional[str]

No description available.

ParamField str

No description available.

ParamField int

No description available.

ParamField float

No description available.

ParamField Any

No description available.

ParamField Optional[str]

No description available.

ParamField Optional[str]

No description available.

Uses

  • ContextEvent
  • time.time

Source

View on GitHub

praisonaiagents/trace/context_events.py at line 1248


Related Documentation