From c4bfc5ebe65ece61a6c81604a142558d88d6879a Mon Sep 17 00:00:00 2001 From: TCUDIKEL Date: Sun, 11 May 2025 19:39:29 +0300 Subject: [PATCH] update restart endpoint --- serve_mcphost.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serve_mcphost.py b/serve_mcphost.py index 2cd1645..b45e5d3 100644 --- a/serve_mcphost.py +++ b/serve_mcphost.py @@ -122,7 +122,7 @@ async def health_check(): return {"status": "healthy", "mcphost_alive": mcp_manager._is_alive()} -@app.post("/restart-service") +@app.get("/restart") async def restart_service(): """Restart the llm-api-mcphost service using supervisorctl""" hostname = socket.gethostname()