diff --git a/src/engine.py b/src/engine.py index 63e68a5..28e3861 100644 --- a/src/engine.py +++ b/src/engine.py @@ -95,7 +95,7 @@ def wait_for_server(self, timeout=300, interval=5): def shutdown(self): if self.process: self.process.terminate() - self.process.wait() + self.process.wait() print("Server shut down.") class OpenAIRequest: diff --git a/src/handler.py b/src/handler.py index 71ffcc0..3aa0693 100644 --- a/src/handler.py +++ b/src/handler.py @@ -6,7 +6,7 @@ # Initialize the engine engine = SGlangEngine() -engine.start_server() +engine.start_server() engine.wait_for_server() print(f" ==== start_server")