We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 370b2b6 commit 2b6fb52Copy full SHA for 2b6fb52
1 file changed
sentry_sdk/ai/utils.py
@@ -511,15 +511,6 @@ def _set_span_data_attribute(
511
span.set_data(key, value)
512
513
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
523
def normalize_message_role(role: str) -> str:
524
"""
525
Normalize a message role to one of the 4 allowed gen_ai role values.
0 commit comments