diff --git a/lightrag/api/lightrag_server.py b/lightrag/api/lightrag_server.py index b656b67f..10a9b52c 100644 --- a/lightrag/api/lightrag_server.py +++ b/lightrag/api/lightrag_server.py @@ -181,6 +181,8 @@ def create_app(args): "Skip document scanning(another scanning is active)" ) + ASCIIColors.green("\nServer is ready to accept connections! 🚀\n") + yield finally: diff --git a/lightrag/api/utils_api.py b/lightrag/api/utils_api.py index a24e731e..8784f265 100644 --- a/lightrag/api/utils_api.py +++ b/lightrag/api/utils_api.py @@ -548,7 +548,5 @@ def display_splash_screen(args: argparse.Namespace) -> None: Make sure to include the X-API-Key header in all your requests. """) - ASCIIColors.green("Server is ready to accept connections! 🚀\n") - # Ensure splash output flush to system log sys.stdout.flush()