Count cache tokens in telemetry, budget and report (#16)
This commit was merged in pull request #16.
This commit is contained in:
1 parent
67a5bdedb9
commit
374cf28aed
7 files changed
+90
-13
No files matched your search
+1
-1
@@ -227,7 +227,7 @@ fn main() -> Result<std::process::ExitCode> {
|
||||
r.id,
|
||||
st.as_str().unwrap(),
|
||||
end.saturating_sub(r.started),
|
||||
r.input_tokens + r.output_tokens,
|
||||
r.total_tokens(),
|
||||
r.title,
|
||||
r.reason.map(|x| format!(" [{x}]")).unwrap_or_default()
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user