fix: 修复导入路径
All checks were successful
构建并部署 AI Agent 服务 / deploy (push) Successful in 5m56s

This commit is contained in:
2026-05-01 00:36:30 +08:00
parent 7a08aacced
commit 4a881ea32d
4 changed files with 5 additions and 5 deletions

View File

@@ -2,6 +2,6 @@
Agent 子模块 Agent 子模块
""" """
from .service import AIAgentService from .agent_service import AIAgentService
__all__ = ["AIAgentService"] __all__ = ["AIAgentService"]

View File

@@ -12,7 +12,7 @@ from typing import Dict, Any, Optional
from datetime import datetime from datetime import datetime
from app.main_graph.state import MainGraphState, ErrorRecord, ErrorSeverity from app.main_graph.state import MainGraphState, ErrorRecord, ErrorSeverity
from .retry_utils import ( from app.main_graph.utils.retry_utils import (
RetryConfig, RetryConfig,
RAG_RETRY_CONFIG, RAG_RETRY_CONFIG,
create_retry_wrapper_for_node create_retry_wrapper_for_node

View File

@@ -23,7 +23,7 @@ from app.core.intent import (
) )
from app.core.state_base import StateUtils from app.core.state_base import StateUtils
from app.main_graph.state import MainGraphState, ErrorRecord, ErrorSeverity from app.main_graph.state import MainGraphState, ErrorRecord, ErrorSeverity
from .retry_utils import ( from app.main_graph.utils.retry_utils import (
RetryConfig, RetryConfig,
SUBGRAPH_RETRY_CONFIG SUBGRAPH_RETRY_CONFIG
) )

View File

@@ -7,7 +7,7 @@ from app.main_graph.graph import StateGraph, START, END
from typing import Dict, Any from typing import Dict, Any
from app.main_graph.state import MainGraphState, CurrentAction from app.main_graph.state import MainGraphState, CurrentAction
from .react_nodes import ( from app.main_graph.nodes.react_nodes import (
init_state_node, init_state_node,
react_reason_node, react_reason_node,
web_search_node, # ⭐ 新增 web_search_node, # ⭐ 新增
@@ -15,7 +15,7 @@ from .react_nodes import (
final_response_node, final_response_node,
route_by_reasoning route_by_reasoning
) )
from .rag_nodes import rag_retrieve_node from app.main_graph.nodes.rag_nodes import rag_retrieve_node
from app.subgraphs.contact import build_contact_subgraph from app.subgraphs.contact import build_contact_subgraph
from app.subgraphs.dictionary import build_dictionary_subgraph from app.subgraphs.dictionary import build_dictionary_subgraph
from app.subgraphs.news_analysis import build_news_analysis_subgraph from app.subgraphs.news_analysis import build_news_analysis_subgraph