total • AI Agent SDK
total: Total tokens across all segments.
total
Method
</div>
This is a method of the ContextLedger class in the models module.
Total tokens across all segments.
Signature
def total() -> intReturns
ResponseField
intThe result of the operation.
Source
View on GitHubpraisonaiagents/context/models.py at line 47