🔄 Big News! bazed.ai is now sagentic.ai. Same vision, new name!

Skip to content

@sagentic-ai/sagentic-af / SessionReport

SessionReport ​

SessionReport is a report of the costs of the session and the performance of the models used.

Properties ​

cost ​

ts
cost: Record<ModelType, number>;

cost of each model used in the session

Source ​

src/session.ts:53


elapsed ​

ts
elapsed: number;

total time elapsed in the session in seconds

Source ​

src/session.ts:51


tokens ​

ts
tokens: Record<ModelType, number>;

tokens used by each model in the session

Source ​

src/session.ts:55


totalCost ​

ts
totalCost: number;

total cost of the session in USD

Source ​

src/session.ts:47


totalTokens ​

ts
totalTokens: number;

total tokens used in the session

Source ​

src/session.ts:49