Expose cache usage in adapters

This commit is contained in:
2026-07-02 23:07:57 +00:00
parent efe346893c
commit 5dcb3cd4fc
5 changed files with 63 additions and 6 deletions

View File

@@ -86,6 +86,8 @@ type tokenUsageDTO struct {
PromptTokens int `json:"prompt_tokens"`
CompletionTokens int `json:"completion_tokens"`
TotalTokens int `json:"total_tokens"`
CachedTokens int `json:"cached_tokens"`
CacheWriteTokens int `json:"cache_write_tokens"`
}
type validationDTO struct {