Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

total

Method
This is a method of the ContextLedger class in the models module.
Total tokens across all segments.

Signature

def total() -> int

Returns

Returns
int
The result of the operation.

Source

View on GitHub

praisonaiagents/context/models.py at line 47