Skip to content

Commit 7743d07

Browse files
Code Rabbit Conflicts Resolved
1 parent c913bac commit 7743d07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/agents/devrel/nodes/react_supervisor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def supervisor_decision_router(state: AgentState) -> Literal["web_search", "faq_
144144
action = decision.get("action", "complete")
145145

146146
iteration_count = state.context.get("iteration_count", 0)
147-
if iteration_count >= MAX_ITERATIONS:
147+
if iteration_count > MAX_ITERATIONS:
148148
logger.warning(f"Max iterations reached for session {state.session_id}")
149149
return "complete"
150150

0 commit comments

Comments
 (0)