forked from phoenix/litellm-mirror
fix langfuse debug mode
This commit is contained in:
parent
97c81a5c7e
commit
1bf8e7ac75
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ class LangFuseLogger:
|
|||
else:
|
||||
trace_params["output"] = output
|
||||
|
||||
if debug == True:
|
||||
if debug == True or (isinstance(debug, str) and debug.lower() == "true"):
|
||||
if "metadata" in trace_params:
|
||||
# log the raw_metadata in the trace
|
||||
trace_params["metadata"]["metadata_passed_to_litellm"] = metadata
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue