Skip to content

Commit c95cbd7

Browse files
committed
feat:fixed the lint error
1 parent 9aeb460 commit c95cbd7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/agents/result.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ async def stream_events(self) -> AsyncIterator[StreamEvent]:
213213
yield item
214214
self._event_queue.task_done()
215215

216-
# Ensure main execution completes before cleanup to avoid race conditions with session operations
216+
# Ensure main execution completes before cleanup to avoid race conditions
217+
# with session operations
217218
await self._await_task_safely(self._run_impl_task)
218219
# Safely terminate all background tasks after main execution has finished
219220
self._cleanup_tasks()

0 commit comments

Comments
 (0)