Vaish6 commited on
Commit
0b21fa5
·
verified ·
1 Parent(s): 9a40a19

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ class OpenEnvHandler(BaseHTTPRequestHandler):
77
  "observation_space": ["acquired_scans", "available_budget", "tool_outputs", "step_count"]
78
  })
79
  elif self.path == "/" or self.path == "/health":
80
- self.send_json(404, {"error": "Not found"})
81
 
82
  def do_POST(self):
83
  try:
 
77
  "observation_space": ["acquired_scans", "available_budget", "tool_outputs", "step_count"]
78
  })
79
  elif self.path == "/" or self.path == "/health":
80
+ self.send_json(200, {"status": "ok", "message": "MetaOCT API Server is running. Use /validate, /reset, /step endpoints."})
81
 
82
  def do_POST(self):
83
  try: