properly track cache token counts

This commit is contained in:
Dax Raad
2025-06-16 12:43:22 -04:00
parent 0e3458b112
commit 06af406146
3 changed files with 26 additions and 7 deletions

View File

@@ -174,6 +174,10 @@ export namespace Message {
input: z.number(),
output: z.number(),
reasoning: z.number(),
cache: z.object({
read: z.number(),
write: z.number(),
}),
}),
})
.optional(),