From 9d7286e28bdc599e5232653672a92f53a409dba2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=205f1b81b8-4f5d-11e8-9c2d-fa7ae01?= =?UTF-8?q?bbebc?= Date: Thu, 2 Jul 2026 17:26:56 +0000 Subject: [PATCH] Fixed syntax and removed deepagents --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 84bc222..0284284 100644 --- a/main.py +++ b/main.py @@ -75,14 +75,14 @@ Provide the output in the following JSON-like format: async def rewrite(state: CodeReviewState) -> CodeReviewState: # Simple rewrite: add a sentence addressing the weakest criterion - additional = f"Additionally, the review should pay more attention to {state['weakest_criterion']}." + additional = f"Additionally, the review should pay more attention to {state['weakest_criterion']}.", state['draft_review'] = state['draft_review'] + "\n" + additional state['round'] += 1 return state # ---------- Graph ---------- def build_graph() -> StateGraph[CodeReviewState]: - graph = StateGraph(CodeGraphState) + graph = StateGraph(CodeReviewState) graph.add_node("draft_review", draft_review) graph.add_node("reflect", reflect) graph.add_node("rewrite", rewrite)