Update app/main.py
Browse files- app/main.py +10 -0
app/main.py
CHANGED
@@ -3,4 +3,14 @@ from app.routes.loopagent import router as loop_router
|
|
3 |
|
4 |
app = FastAPI(title="AutoExec AI Backend")
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
app.include_router(loop_router, prefix="/loopagent", tags=["LoopAgent"])
|
|
|
3 |
|
4 |
app = FastAPI(title="AutoExec AI Backend")
|
5 |
|
6 |
+
@app.get("/")
|
7 |
+
def read_root():
|
8 |
+
return {
|
9 |
+
"message": "🚀 AutoExec AI API is running!",
|
10 |
+
"endpoints": {
|
11 |
+
"Loop Agent": "/loopagent/run",
|
12 |
+
"Dashboard (Streamlit)": "https://mgbam-AICEO.hf.space",
|
13 |
+
}
|
14 |
+
}
|
15 |
+
|
16 |
app.include_router(loop_router, prefix="/loopagent", tags=["LoopAgent"])
|