重构代码,实现相对导入
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 5m26s

This commit is contained in:
2026-04-21 10:26:37 +08:00
parent 37e021e302
commit 726236eaff
68 changed files with 119 additions and 3990 deletions

View File

@@ -10,8 +10,8 @@ import sys
# 添加项目根目录到 Python 路径
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", ".."))
from rag_indexer.index_builder import IndexBuilder
from rag_indexer.splitters import SplitterType
from ..index_builder import IndexBuilder
from ..splitters import SplitterType
async def test_index_builder():
"""测试索引构建功能"""