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.
2 parents 5c0e980 + 22813e0 commit 6b4c3c2Copy full SHA for 6b4c3c2
1 file changed
deepeval/tracing/otel/exporter.py
@@ -245,9 +245,13 @@ def _set_current_trace_attributes_from_base_span_wrapper(
245
)
246
247
# set the trace test case id and turn id
248
- if base_span_wrapper.trace_test_case_id:
+ if base_span_wrapper.trace_test_case_id and isinstance(
249
+ base_span_wrapper.trace_test_case_id, str
250
+ ):
251
current_trace.test_case_id = base_span_wrapper.trace_test_case_id
- if base_span_wrapper.trace_turn_id:
252
+ if base_span_wrapper.trace_turn_id and isinstance(
253
+ base_span_wrapper.trace_turn_id, str
254
255
current_trace.turn_id = base_span_wrapper.trace_turn_id
256
257
# set the trace metric collection
0 commit comments