From 4132b7d23b8f1e521df8a3ecc952d9a7c9727861 Mon Sep 17 00:00:00 2001 From: root <953994191@qq.com> Date: Wed, 29 Apr 2026 19:04:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AD=90=E5=9B=BE=E4=B8=AD?= =?UTF-8?q?=20state=20=E7=9A=84=E5=AF=BC=E5=85=A5=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/subgraphs/contact/graph.py | 2 +- backend/app/subgraphs/contact/nodes.py | 2 +- backend/app/subgraphs/dictionary/graph.py | 2 +- backend/app/subgraphs/dictionary/nodes.py | 2 +- backend/app/subgraphs/news_analysis/graph.py | 2 +- backend/app/subgraphs/news_analysis/nodes.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/app/subgraphs/contact/graph.py b/backend/app/subgraphs/contact/graph.py index 474d9f0..4026179 100644 --- a/backend/app/subgraphs/contact/graph.py +++ b/backend/app/subgraphs/contact/graph.py @@ -6,7 +6,7 @@ Contact Subgraph Builder from app.main_graph.graph import StateGraph, START, END -from app.main_graph.state import ContactState +from .state import ContactState from .nodes import create_contact_nodes diff --git a/backend/app/subgraphs/contact/nodes.py b/backend/app/subgraphs/contact/nodes.py index 3d2918e..57c6891 100644 --- a/backend/app/subgraphs/contact/nodes.py +++ b/backend/app/subgraphs/contact/nodes.py @@ -10,7 +10,7 @@ from datetime import datetime # 公共工具 from ..common import MarkdownFormatter -from app.main_graph.state import ContactState, ContactAction, Contact, Email +from .state import ContactState from .api_client import ContactAPIClient diff --git a/backend/app/subgraphs/dictionary/graph.py b/backend/app/subgraphs/dictionary/graph.py index a3cebbc..bc65340 100644 --- a/backend/app/subgraphs/dictionary/graph.py +++ b/backend/app/subgraphs/dictionary/graph.py @@ -5,7 +5,7 @@ Dictionary Subgraph Builder - Complete from app.main_graph.graph import StateGraph, START, END -from app.main_graph.state import DictionaryState +from .state import DictionaryState from .nodes import ( parse_intent, query_word, diff --git a/backend/app/subgraphs/dictionary/nodes.py b/backend/app/subgraphs/dictionary/nodes.py index a839f07..faf06c3 100644 --- a/backend/app/subgraphs/dictionary/nodes.py +++ b/backend/app/subgraphs/dictionary/nodes.py @@ -12,7 +12,7 @@ from ..common import ( MarkdownFormatter ) -from app.main_graph.state import ( +from .state import ( DictionaryState, DictionaryAction, WordEntry, diff --git a/backend/app/subgraphs/news_analysis/graph.py b/backend/app/subgraphs/news_analysis/graph.py index b5a016f..1aa07c8 100644 --- a/backend/app/subgraphs/news_analysis/graph.py +++ b/backend/app/subgraphs/news_analysis/graph.py @@ -5,7 +5,7 @@ News Analysis Subgraph Builder from app.main_graph.graph import StateGraph, START, END -from app.main_graph.state import NewsAnalysisState +from .state import NewsAnalysisState from .nodes import ( parse_intent, query_news, diff --git a/backend/app/subgraphs/news_analysis/nodes.py b/backend/app/subgraphs/news_analysis/nodes.py index 0f38654..bd8e9d9 100644 --- a/backend/app/subgraphs/news_analysis/nodes.py +++ b/backend/app/subgraphs/news_analysis/nodes.py @@ -9,7 +9,7 @@ from datetime import datetime # 公共工具 from ..common import MarkdownFormatter -from app.main_graph.state import ( +from .state import ( NewsAnalysisState, NewsAction, NewsItem,