Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,10 @@ def _append_to_message_attribute(
new_messages: List[Dict[str, Any]],
) -> None:
"""Helper to append messages to an existing attribute, combining with previous messages."""

if not span.span_instance.is_recording():
return

Comment on lines +561 to +563
# Get existing attribute value
existing_value = span.span_instance.attributes.get(attribute_name) if span.span_instance.attributes else None

Expand Down
Loading