Skip to content

CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.

style: fix ruff formatting in loop.py

xf gonga64ca43eab4e
diff --git a/cubepi/agent/loop.py b/cubepi/agent/loop.py
index eca25bf..e655757 100644
--- a/cubepi/agent/loop.py
+++ b/cubepi/agent/loop.py
@@ -205,7 +205,9 @@ async def _run_loop(
current_context.messages.append(result)
new_messages.append(result)
- await emit_event(emit, TurnEndEvent(message=message, tool_results=tool_results))
+ await emit_event(
+ emit, TurnEndEvent(message=message, tool_results=tool_results)
+ )
if should_stop_after_turn:
stop_ctx = ShouldStopAfterTurnContext(