We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3aa4af8 commit ddb767eCopy full SHA for ddb767e
langfuse/langchain/CallbackHandler.py
@@ -365,7 +365,7 @@ def on_agent_action(
365
raise Exception("run not found")
366
367
agent_run = self.runs[run_id]
368
- if hasattr(agent_run, '_otel_span'):
+ if hasattr(agent_run, "_otel_span"):
369
agent_run._otel_span.set_attribute(
370
LangfuseOtelSpanAttributes.OBSERVATION_TYPE, "agent"
371
)
@@ -394,7 +394,7 @@ def on_agent_finish(
394
395
396
397
398
399
400
0 commit comments