Define observed cost values and aggregation

This commit is contained in:
2026-11-22 18:24:33 +00:00
parent 3d82cad2c9
commit 6ed0e037c4
13 changed files with 215 additions and 2 deletions

View File

@@ -76,6 +76,7 @@ type ExecutionGroupSummary struct {
TransientRetries uint64
RepairCalls uint64
Usage ObservedTokenUsage
CostUSD ObservedCost
}
// ExecutionEvent contains metadata only; it carries no mutable containers or
@@ -101,6 +102,7 @@ type ExecutionEvent struct {
StatusCode int
RetriesExhausted bool
Usage ObservedTokenUsage
CostUSD ObservedCost
Attempts uint64
TransientRetries uint64
RepairCalls uint64