feat: Add prompt cache hit tokens support for DeepSeek channel #406
This commit is contained in:
1 parent
5bed29e2bd
commit
a36d6de8d1
2 files changed
+7
No files matched your search
@@ -166,6 +166,7 @@ type Usage struct {
|
||||
PromptTokens int `json:"prompt_tokens"`
|
||||
CompletionTokens int `json:"completion_tokens"`
|
||||
TotalTokens int `json:"total_tokens"`
|
||||
PromptCacheHitTokens int `json:"prompt_cache_hit_tokens,omitempty"`
|
||||
PromptTokensDetails InputTokenDetails `json:"prompt_tokens_details"`
|
||||
CompletionTokenDetails OutputTokenDetails `json:"completion_tokens_details"`
|
||||
}
|
||||
Reference in new issue
Block a user