Initial travel knowledge graph release

This commit is contained in:
2026-06-09 09:56:26 +08:00
commit 5f061295d8
402 changed files with 103877 additions and 0 deletions

17
app/api/agent_settings.py Normal file
View File

@@ -0,0 +1,17 @@
"""Agent settings — global LLM, thresholds, and per-sub-agent config."""
from fastapi import APIRouter
from app.auth import CurrentUser
from app.db import get_agent_settings, save_agent_settings
router = APIRouter()
@router.get("/agent-settings")
async def _get(_user: CurrentUser = None):
return await get_agent_settings()
@router.put("/agent-settings")
async def _save(body: dict, _user: CurrentUser):
return await save_agent_settings(body)