This commit is contained in:
2025-11-13 13:09:07 +01:00
parent e02c3b79cc
commit 47a22ac2a6
12 changed files with 1126 additions and 6 deletions

View File

@@ -49,6 +49,14 @@ def create_app(config: Optional[Dict[str, Any]] = None) -> FastAPI:
# Router existiert evtl. noch nicht beim ersten Scaffold
pass
try:
from agent_api.router import agent_router
app.include_router(agent_router, prefix="/api")
except Exception:
# Agenten-API ist optional und wird bei fehlender Implementierung ignoriert
pass
@app.get("/health", tags=["health"])
async def health() -> Dict[str, str]:
"""