count cache tokens in telemetry, budget and report
This commit is contained in:
1 parent
67a5bdedb9
commit
8d3af8b629
7 files changed
+90
-13
No files matched your search
+2
-1
@@ -218,7 +218,8 @@ fn run_json(t: &Task, r: &Run) -> Value {
|
||||
json!({"task": t, "run": {
|
||||
"id": r.id, "status": r.status, "reason": r.reason, "branch": r.branch, "repo": r.repo,
|
||||
"worktree": r.worktree, "attempts": r.attempts, "input_tokens": r.input_tokens,
|
||||
"output_tokens": r.output_tokens, "published": r.published,
|
||||
"output_tokens": r.output_tokens, "cache_read_tokens": r.cache_read_tokens,
|
||||
"cache_write_tokens": r.cache_write_tokens, "published": r.published,
|
||||
}})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user