AICEO / app /main.py
mgbam's picture
Update app/main.py
33d604f verified
raw
history blame contribute delete
453 Bytes
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"])