This commit is contained in:
bracesproul
2025-03-06 20:12:47 -08:00
parent 38710f3cb0
commit 066b219107
2 changed files with 5 additions and 1 deletions

View File

@@ -4,7 +4,10 @@ import { planner } from "./nodes/planner";
import { interrupt } from "./nodes/interrupt";
import { executor } from "./nodes/executor";
function handleRoutingFromExecutor(state: OpenCodeState): "executor" | "interrupt" {}
function handleRoutingFromExecutor(state: OpenCodeState): "executor" | "interrupt" {
const lastAIMessage = state.messages.findLast((m) => m.getType() === "ai");
if (lastAIMessage)
}
function handleRoutingFromInterrupt(state: OpenCodeState): "executor" | typeof END {}