new
This commit is contained in:
@@ -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]:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user