fix: Step planning routing (#11)

* fix: Refactor graph state to use zod

* handle err

* fix: Step planning routing
This commit is contained in:
Brace Sproul 2025-05-22 13:45:54 -07:00 • committed by GitHub
parent d3fdfc228e
commit 2b2b2d8593
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;