auto-sync: 2026-05-20 00:05:24
This commit is contained in:
@@ -21,6 +21,7 @@ from src.daemon.router import AgentRouter, AgentProfile, LLMDriver
|
||||
from src.daemon.health import HealthChecker
|
||||
from src.daemon.experience import ExperienceDistiller, ExperienceStore
|
||||
from src.daemon.inbox import InboxWatcher
|
||||
from src.daemon.guardrails import GuardrailEngine
|
||||
from src.utils import get_data_root
|
||||
|
||||
logger = logging.getLogger("moziplus-v2")
|
||||
@@ -174,6 +175,7 @@ async def lifespan(app: FastAPI):
|
||||
spawner=spawner,
|
||||
counter=counter,
|
||||
db_path=default_db_path,
|
||||
guardrails=GuardrailEngine(config_path=Path(__file__).parent.parent / "config" / "guardrails.yaml"),
|
||||
)
|
||||
|
||||
# ── 集成模块 ──
|
||||
|
||||
Reference in New Issue
Block a user