We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f7ca58 commit eb30d57Copy full SHA for eb30d57
packages/opentelemetry-instrumentation-langchain/opentelemetry/instrumentation/langchain/span_utils.py
@@ -51,7 +51,7 @@ def _message_type_to_role(message_type: str) -> str:
51
52
53
def _set_span_attribute(span: Span, name: str, value: AttributeValue):
54
- if value is not None and (value != "" if isinstance(value, str) else True):
+ if value is not None and value != "":
55
span.set_attribute(name, value)
56
57
0 commit comments