Skip to content

Commit 3cb5b4a

Browse files
Michael KouremetisMichael Kouremetis
authored andcommitted
linting
1 parent cdc4482 commit 3cb5b4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dreadnode/agent/agent.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -491,13 +491,13 @@ async def _dispatch(event: AgentEvent) -> t.AsyncIterator[AgentEvent]: # noqa:
491491

492492
# Tool calling
493493
tool_calls = 0
494-
494+
495495
async def _process_tool_call(
496496
tool_call: "rg.tools.ToolCall",
497497
) -> t.AsyncGenerator[AgentEvent, None]:
498-
498+
499499
nonlocal tool_calls
500-
500+
501501
if self.max_tool_calls != -1 and tool_calls >= self.max_tool_calls:
502502
raise Finish("Reached maximum allowed tool calls.")
503503

0 commit comments

Comments
 (0)