refactor: 统一导入方式,移除 sys.path 操作
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m22s
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m22s
- 重构所有模块导入,移除 sys.path.insert - 统一使用 from backend.xxx 的绝对导入方式 - rag_core 包内使用相对导入(from .xxx) - 移动 visualize_graph.py 到 tools/ 目录 - 添加必要的 __init__.py 文件 - 清理废弃文档和脚本
This commit is contained in:
0
frontend/__init__.py
Normal file
0
frontend/__init__.py
Normal file
@@ -1,9 +0,0 @@
|
||||
"""
|
||||
AI Agent 前端模块
|
||||
采用分层架构设计,包含配置、状态、API客户端和UI组件
|
||||
"""
|
||||
|
||||
from logger import debug, info, warning, error
|
||||
|
||||
__version__ = "2.0.0"
|
||||
__all__ = ["debug", "info", "warning", "error"]
|
||||
Reference in New Issue
Block a user