mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
Fixing lint errors with LangfuseUsageDetails again
This commit is contained in:
parent
a30fd5c2ad
commit
90c54d688a
1 changed files with 1 additions and 1 deletions
|
|
@ -659,7 +659,7 @@ class LangFuseLogger:
|
|||
"completion_tokens": _usage_obj.completion_tokens,
|
||||
"total_cost": cost if self._supports_costs() else None,
|
||||
}
|
||||
usage_details : Optional[LangfuseUsageDetails] = {
|
||||
usage_details = {
|
||||
"input": _usage_obj.prompt_tokens,
|
||||
"output": _usage_obj.completion_tokens,
|
||||
"cache_creation_input_tokens": _usage_obj.get('cache_creation_input_tokens', 0),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue