feat(server): add workbench API, DSH planner worker and RAG pipeline
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user