AshokGakr commited on
Commit
2e89beb
·
verified ·
1 Parent(s): ce33b3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -884,7 +884,7 @@ async def home(request: Request):
884
  "tool_calling": True
885
  })
886
 
887
- @app.post("/api/chat")
888
  async def chat_endpoint(
889
  prompt: str = Form(...),
890
  conversation_id: Optional[str] = Form(None),
@@ -993,7 +993,7 @@ async def list_tools():
993
  ]
994
  }
995
 
996
- @app.get("/api/health")
997
  async def health_check():
998
  """Health check endpoint"""
999
  return {
 
884
  "tool_calling": True
885
  })
886
 
887
+ @app.post("/api/analyze")
888
  async def chat_endpoint(
889
  prompt: str = Form(...),
890
  conversation_id: Optional[str] = Form(None),
 
993
  ]
994
  }
995
 
996
+ @app.get("/health")
997
  async def health_check():
998
  """Health check endpoint"""
999
  return {