From 2b2b2d859310bea4470e6aa3233f54a037e40f70 Mon Sep 17 00:00:00 2001 From: Brace Sproul Date: Thu, 22 May 2025 13:45:54 -0700 Subject: [PATCH] fix: Step planning routing (#11) * fix: Refactor graph state to use zod * handle err * fix: Step planning routing --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 15db59cc..44d22ffd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -79,7 +79,7 @@ const workflow = new StateGraph(GraphAnnotation, GraphConfiguration) .addEdge("initialize", "generate-action") .addConditionalEdges("generate-action", takeActionOrEnd, ["take-action", END]) .addEdge("take-action", "progress-plan-step") - .addEdge("progress-plan-step", "take-action"); + .addEdge("progress-plan-step", "generate-action"); // Zod types are messed up export const graph = workflow.compile() as any;