Skip to content

Commit 4a05d89

Browse files
author
Hao Ni (CSI Interfusion Co Ltd)
committed
fix StatusCode enum not found issue
1 parent b4de885 commit 4a05d89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agentlightning/tracer/agentops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def _trace_context_sync(
167167
if name is not None:
168168
kwargs["trace_name"] = str(name)
169169
trace = agentops.start_trace(**kwargs)
170-
status = StatusCode.SUCCESS # type: ignore
170+
status = StatusCode.OK # type: ignore
171171
try:
172172
yield processor
173173
except Exception as e:

0 commit comments

Comments
 (0)