Skip to content

Commit 9abdafc

Browse files
authored
Merge pull request #1417 from dgageot/usage-cached
Fix name
2 parents e7c6b12 + 8fb79e3 commit 9abdafc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/chat/chat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ type Usage struct {
126126
InputTokens int64 `json:"input_tokens"`
127127
OutputTokens int64 `json:"output_tokens"`
128128
CachedInputTokens int64 `json:"cached_input_tokens"`
129-
CacheWriteTokens int64 `json:"cached_output_tokens"`
129+
CacheWriteTokens int64 `json:"cached_write_tokens"`
130130
ReasoningTokens int64 `json:"reasoning_tokens,omitempty"`
131131
}
132132

0 commit comments

Comments
 (0)