Skip to content

Commit 2b6fb52

Browse files
committed
Remove duplicate function
1 parent 370b2b6 commit 2b6fb52

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

sentry_sdk/ai/utils.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -511,15 +511,6 @@ def _set_span_data_attribute(
511511
span.set_data(key, value)
512512

513513

514-
def _set_span_data_attribute(
515-
span: "Union[Span, StreamedSpan]", key: str, value: "Any"
516-
) -> None:
517-
if isinstance(span, StreamedSpan):
518-
span.set_attribute(key, value)
519-
else:
520-
span.set_data(key, value)
521-
522-
523514
def normalize_message_role(role: str) -> str:
524515
"""
525516
Normalize a message role to one of the 4 allowed gen_ai role values.

0 commit comments

Comments
 (0)