File size: 453 Bytes
c9c8879 be2ec43 33d604f c9c8879 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
from fastapi import FastAPI
from app.routes.loopagent import router as loop_router
app = FastAPI(title="AutoExec AI Backend")
@app.get("/")
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"])
|