From b227e53ebfea88b0b4063c93cab65aeb2ecfe5dd Mon Sep 17 00:00:00 2001 From: Simo Lin Date: Thu, 12 Mar 2026 14:25:27 -0700 Subject: [PATCH] feat: add banner to sgl-model-gateway (#20471) Signed-off-by: Simo Lin --- .../python/src/sglang_router/launch_router.py | 12 ++++++++++++ sgl-model-gateway/src/main.rs | 11 +++++++++++ 2 files changed, 23 insertions(+) diff --git a/sgl-model-gateway/bindings/python/src/sglang_router/launch_router.py b/sgl-model-gateway/bindings/python/src/sglang_router/launch_router.py index 506842f84..1c32fc22c 100644 --- a/sgl-model-gateway/bindings/python/src/sglang_router/launch_router.py +++ b/sgl-model-gateway/bindings/python/src/sglang_router/launch_router.py @@ -41,6 +41,18 @@ def launch_router(args: argparse.Namespace) -> Optional[Router]: mini_lb = MiniLoadBalancer(router_args) mini_lb.start() else: + print( + "\n" + "==============================================================================\n" + "WARNING: This copy of sgl-model-gateway is DEPRECATED and no longer maintained.\n" + "The actively maintained version has moved to:\n" + " https://github.com/lightseekorg/smg\n" + "\n" + "Please migrate to the standalone repository for the latest features,\n" + "bug fixes, and security updates.\n" + "==============================================================================\n", + file=sys.stderr, + ) if Router is None: raise RuntimeError("Rust Router is not installed") router_args._validate_router_args() diff --git a/sgl-model-gateway/src/main.rs b/sgl-model-gateway/src/main.rs index 3d8b9842f..e3e8622a4 100644 --- a/sgl-model-gateway/src/main.rs +++ b/sgl-model-gateway/src/main.rs @@ -1153,6 +1153,17 @@ fn main() -> Result<(), Box> { } } + eprintln!("\n{}", "=".repeat(78)); + eprintln!( + "WARNING: This copy of sgl-model-gateway is DEPRECATED and no longer maintained." + ); + eprintln!("The actively maintained version has moved to:"); + eprintln!(" https://github.com/lightseekorg/smg"); + eprintln!(); + eprintln!("Please migrate to the standalone repository for the latest features,"); + eprintln!("bug fixes, and security updates."); + eprintln!("{}\n", "=".repeat(78)); + let prefill_urls = parse_prefill_args(); let mut filtered_args: Vec = Vec::new();