From 6a09fcfa06f5eae3fd6ec7f45eece08017dd6e5c Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Tue, 16 Jan 2024 08:21:37 -0800 Subject: [PATCH] (feat) print num_workers when starting prox --- litellm/proxy/proxy_cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/litellm/proxy/proxy_cli.py b/litellm/proxy/proxy_cli.py index 2dfef9c039..b42a09d427 100644 --- a/litellm/proxy/proxy_cli.py +++ b/litellm/proxy/proxy_cli.py @@ -474,6 +474,10 @@ def run_server( # before starting server, read num_workers as an env variable num_workers = os.getenv("NUM_WORKERS", num_workers) + + print( + f"\033[1;32mLiteLLM Proxy: Starting server on {host}:{port} with {num_workers} workers\033[0m\n" + ) gunicorn_options = { "bind": f"{host}:{port}", "workers": num_workers, # default is 1