We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2af38ea commit 36ac326Copy full SHA for 36ac326
1 file changed
model/log.go
@@ -1039,11 +1039,11 @@ type DashboardResponse struct {
1039
TPM int64 `json:"tpm"`
1040
1041
UsedAmount float64 `json:"used_amount"`
1042
- InputTokens int64 `json:"input_tokens"`
1043
- OutputTokens int64 `json:"output_tokens"`
1044
- TotalTokens int64 `json:"total_tokens"`
1045
- CachedTokens int64 `json:"cached_tokens"`
1046
- CacheCreationTokens int64 `json:"cache_creation_tokens"`
+ InputTokens int64 `json:"input_tokens,omitempty"`
+ OutputTokens int64 `json:"output_tokens,omitempty"`
+ TotalTokens int64 `json:"total_tokens,omitempty"`
+ CachedTokens int64 `json:"cached_tokens,omitempty"`
+ CacheCreationTokens int64 `json:"cache_creation_tokens,omitempty"`
1047
1048
Channels []int `json:"channels,omitempty"`
1049
}
0 commit comments