Method RecordSpend
- Namespace
- MailFathom.Application.Retrieval.AskMail
- Assembly
- MailFathom.Application.dll
RecordSpend(ChatTokenUsage)
Adds what one call consumed to this run's total.
public void RecordSpend(ChatTokenUsage usage)
Parameters
usageChatTokenUsageThe tokens the call sent and received.
Exceptions
- ArgumentNullException
Thrown when
usageis null.