mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-19 00:01:29 +00:00
parent
936e486c95
commit
542b333c95
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ class Usage(CompletionUsage):
|
|||
if "prompt_cache_hit_tokens" in params and isinstance(
|
||||
params["prompt_cache_hit_tokens"], int
|
||||
):
|
||||
self._cache_read_input_tokens = params["prompt_cache_hit_tokens=0"]
|
||||
self._cache_read_input_tokens = params["prompt_cache_hit_tokens"]
|
||||
|
||||
for k, v in params.items():
|
||||
setattr(self, k, v)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue