feat(server): add workbench API, DSH planner worker and RAG pipeline

This commit is contained in:
yi
2026-09-16 19:06:20 +08:00
parent 72fc5b47c7
commit d4b5b3f43a
122 changed files with 31906 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
"""双环境配置:YAWAN_ENV=dev(开发,8011) | prod(生产,8010)。数据隔离由 config.py 完成。"""
from .config import _ENV as ENV
IS_DEV = ENV == "dev"
PORT = 8011 if IS_DEV else 8010
LOG_PATH = f"/tmp/yawan-uvicorn{'-dev' if IS_DEV else ''}.log"