Super tiny fix unused code in router (#14618)

This commit is contained in:
fzyzcjy
2025-12-08 15:12:09 +08:00
committed by GitHub
parent 36361adcbf
commit a2ca9bd4f1

View File

@@ -692,10 +692,6 @@ class RouterArgs:
def _validate_router_args(self):
# Validate configuration based on mode
if self.pd_disaggregation:
# Allow empty URLs even without service discovery to support dynamic worker addition
# URLs will be validated separately if provided
pass
# Warn about policy usage in PD mode
if self.prefill_policy and self.decode_policy and self.policy:
logger.warning(