mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-03 19:03:21 +00:00
fix: Step planning routing (#11)
* fix: Refactor graph state to use zod * handle err * fix: Step planning routing
This commit is contained in:
parent
d3fdfc228e
commit
2b2b2d8593
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ const workflow = new StateGraph(GraphAnnotation, GraphConfiguration)
|
||||||
.addEdge("initialize", "generate-action")
|
.addEdge("initialize", "generate-action")
|
||||||
.addConditionalEdges("generate-action", takeActionOrEnd, ["take-action", END])
|
.addConditionalEdges("generate-action", takeActionOrEnd, ["take-action", END])
|
||||||
.addEdge("take-action", "progress-plan-step")
|
.addEdge("take-action", "progress-plan-step")
|
||||||
.addEdge("progress-plan-step", "take-action");
|
.addEdge("progress-plan-step", "generate-action");
|
||||||
|
|
||||||
// Zod types are messed up
|
// Zod types are messed up
|
||||||
export const graph = workflow.compile() as any;
|
export const graph = workflow.compile() as any;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue