[router] allow router to have empty workers (#8160)

This commit is contained in:
Simo Lin
2025-07-18 22:09:54 -07:00
committed by GitHub
parent 8fcc55cfa1
commit b763cf7e8e
2 changed files with 24 additions and 2 deletions

View File

@@ -97,7 +97,8 @@ class RouterArgs:
parser.add_argument(
"--worker-urls",
type=str,
nargs="+",
nargs="*",
default=[],
help="List of worker URLs (e.g., http://worker1:8000 http://worker2:8000)",
)