修复循环推理bug

This commit is contained in:
2026-05-05 00:54:04 +08:00
parent acc8d801f3
commit b64dade9e9
11 changed files with 605 additions and 766 deletions

View File

@@ -7,13 +7,10 @@ from typing import Dict, Any, Optional
from langchain_core.runnables.config import RunnableConfig
from ..state import MainGraphState
from ..nodes.react_nodes import (
init_state_node,
react_reason_node,
web_search_node,
error_handling_node,
route_by_reasoning
)
from ..nodes.reasoning import react_reason_node
from ..nodes.web_search import web_search_node
from ..nodes.error_handling import error_handling_node
from ..nodes.routing import init_state_node, route_by_reasoning
from ..nodes.hybrid_router import (
hybrid_router_node,
fast_chitchat_node,