Skip to main content

get_token_usage_summary

Method
This is a method of the AgentTeam class in the agents module.
Get a summary of token usage across all agents and tasks.

Signature

def get_token_usage_summary() -> Dict[str, Any]

Returns

Returns
Dict[str, Any]
The result of the operation.

Uses

  • _token_collector.get_session_summary

Source

View on GitHub

praisonaiagents/agents/agents.py at line 1520