Skip to main content

total_cost

Method
This is a method of the Agent class in the agent module.
Cumulative USD cost of all LLM calls in this agent run.

Signature

Returns

float
The result of the operation.

Source

View on GitHub

praisonaiagents/agent/agent.py at line 2777