Class RunSpend
java.lang.Object
ai.redouble.demo.extract.RunSpend
What a workflow spent, read off the cost ledger once it is done: the caps it ran under,
the totals per currency, the split per model, and the call counts. Every demo report
carries one, so a run of any workflow answers "what did that cost" the same way.
- Since:
- 0.1 (2026-09-15)
- Author:
- Andrey Santrosyan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCaps()longgetSpent()longstatic RunSpendof(CostLedger ledger, String workflowId) voidsetByModel(List<ExtractReport.ModelUsage> byModel) voidvoidsetLlmCalls(long llmCalls) voidvoidsetUnpricedCalls(long unpricedCalls)
-
Constructor Details
-
RunSpend
public RunSpend()
-
-
Method Details
-
of
-
getSpent
-
setSpent
-
getCaps
-
setCaps
-
getByModel
-
setByModel
-
getLlmCalls
public long getLlmCalls() -
setLlmCalls
public void setLlmCalls(long llmCalls) -
getUnpricedCalls
public long getUnpricedCalls() -
setUnpricedCalls
public void setUnpricedCalls(long unpricedCalls)
-