Initial commit: AI 知识库文档智能分块工具
This commit is contained in:
7
conftest.py
Normal file
7
conftest.py
Normal file
@@ -0,0 +1,7 @@
|
||||
"""pytest 配置:将项目根目录加入 Python 路径"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
# 确保项目根目录在 Python 路径中,使所有模块可以用裸 import
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
Reference in New Issue
Block a user