mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix don't log langfuse cache_hit in tags
This commit is contained in:
parent
18a9d6cf2d
commit
33a6647fac
1 changed files with 0 additions and 1 deletions
|
@ -421,7 +421,6 @@ class LangFuseLogger:
|
|||
if "cache_hit" in kwargs:
|
||||
if kwargs["cache_hit"] is None:
|
||||
kwargs["cache_hit"] = False
|
||||
tags.append(f"cache_hit:{kwargs['cache_hit']}")
|
||||
clean_metadata["cache_hit"] = kwargs["cache_hit"]
|
||||
if existing_trace_id is None:
|
||||
trace_params.update({"tags": tags})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue