Skip to content

Commit 743fc44

Browse files
authored
Add _run_config attribute to trace classes
1 parent a490cf2 commit 743fc44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/agents/tracing/traces.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def start(self, mark_as_current: bool = False):
9797
def finish(self, reset_current: bool = False):
9898
if reset_current and self._prev_context_token is not None:
9999
Scope.reset_current_trace(self._prev_context_token)
100-
self._prev_context_token = None
100+
self._prev_context_token = None
101101

102102
@property
103103
def trace_id(self) -> str:
@@ -167,7 +167,7 @@ def finish(self, reset_current: bool = False):
167167
self._processor.on_trace_end(self)
168168
if reset_current and self._prev_context_token is not None:
169169
Scope.reset_current_trace(self._prev_context_token)
170-
self._prev_context_token = None
170+
self._prev_context_token = None
171171

172172
def __enter__(self) -> Trace:
173173
if self._started:

0 commit comments

Comments
 (0)