| from fastapi import FastAPI | |
| from app.routes.loopagent import router as loop_router | |
| app = FastAPI(title="AutoExec AI Backend") | |
| def read_root(): | |
| return { | |
| "message": "π AutoExec AI API is running!", | |
| "endpoints": { | |
| "Loop Agent": "/loopagent/run", | |
| "Dashboard (Streamlit)": "https://mgbam-AICEO.hf.space", | |
| } | |
| } | |
| app.include_router(loop_router, prefix="/loopagent", tags=["LoopAgent"]) | |