fix: persist accumulated cost in session DB to survive reload (#9191)

Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
Douwe Osinga
2026-05-14 12:57:06 -04:00
committed by GitHub
parent c938a46417
commit 4671053985
13 changed files with 100 additions and 192 deletions
+10
View File
@@ -7868,6 +7868,11 @@
"message_count"
],
"properties": {
"accumulated_cost": {
"type": "number",
"format": "double",
"nullable": true
},
"accumulated_input_tokens": {
"type": "integer",
"format": "int32",
@@ -8567,6 +8572,11 @@
"accumulatedTotalTokens"
],
"properties": {
"accumulatedCost": {
"type": "number",
"format": "double",
"nullable": true
},
"accumulatedInputTokens": {
"type": "integer",
"format": "int32"