- 将 api 测试重组为 integration 测试 - 新增 unit 和 e2e 测试目录分类 - 新增 testing-guidelines.md 测试指南文档 - 更新 pyproject.toml 和 run_tests.sh 以适配新结构 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
484 B
Python
20 lines
484 B
Python
from dotenv import load_dotenv
|
|
|
|
load_dotenv(".env", override=True)
|
|
|
|
from concurrent.futures import ThreadPoolExecutor # noqa: E402
|
|
|
|
from yuxi.config import config as config # noqa: E402
|
|
|
|
__version__ = "0.6.0.beta2"
|
|
|
|
from yuxi.knowledge import graph_base as graph_base # noqa: E402
|
|
from yuxi.knowledge import knowledge_base as knowledge_base # noqa: E402
|
|
|
|
executor = ThreadPoolExecutor() # noqa: E402
|
|
|
|
|
|
def get_version():
|
|
"""Return the Yuxi version."""
|
|
return __version__
|