From d39bc8be6cd6866f183834cd3d58a145ed8e6890 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 8 Feb 2026 22:48:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=8A=A8Agent?= =?UTF-8?q?=E5=9B=BE=E8=B7=AF=E7=94=B1=E8=8A=82=E7=82=B9=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ai/auto-agent-graph.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ai/auto-agent-graph.ts b/lib/ai/auto-agent-graph.ts index 74c70f3..17dbcbf 100644 --- a/lib/ai/auto-agent-graph.ts +++ b/lib/ai/auto-agent-graph.ts @@ -265,14 +265,14 @@ function buildGraph() { return new StateGraph(AutoAgentState) .addNode("analyze", analyzeNode) .addNode("optimize", optimizeNode) - .addNode("route", routeNode) + .addNode("routeModel", routeNode) .addEdge(START, "analyze") .addConditionalEdges("analyze", shouldOptimize, { optimize: "optimize", - route: "route", + route: "routeModel", }) - .addEdge("optimize", "route") - .addEdge("route", END) + .addEdge("optimize", "routeModel") + .addEdge("routeModel", END) .compile(); }