added trace name (#1043)
Fixed https://github.com/logspace-ai/langflow/issues/1042
This commit is contained in:
commit
562ebdec6f
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ def get_langfuse_callback(trace_id):
|
|||
if langfuse := LangfuseInstance.get():
|
||||
logger.debug("Langfuse credentials found")
|
||||
try:
|
||||
trace = langfuse.trace(CreateTrace(id=trace_id))
|
||||
trace = langfuse.trace(CreateTrace(name="langflow-"+trace_id, id=trace_id))
|
||||
return trace.getNewHandler()
|
||||
except Exception as exc:
|
||||
logger.error(f"Error initializing langfuse callback: {exc}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue