Leonydis137 commited on
Commit
3f1c563
·
verified ·
1 Parent(s): 7293a52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -33,6 +33,13 @@ app = FastAPI()
33
  cognitive_engine = CognitiveEngine(llm_model)
34
 
35
  # Routes
 
 
 
 
 
 
 
36
  @app.get("/status")
37
  def status():
38
  return {"status": "active", "agents": ["planner", "executor", "critic"]}
 
33
  cognitive_engine = CognitiveEngine(llm_model)
34
 
35
  # Routes
36
+ @app.get("/")
37
+ def home():
38
+ return {
39
+ "message": "✅ Autonomous AI API is live",
40
+ "routes": ["/status", "/generate?prompt=..."]
41
+ }
42
+
43
  @app.get("/status")
44
  def status():
45
  return {"status": "active", "agents": ["planner", "executor", "critic"]}