[router] fix router release workflow and add build test in PR (#12315)

This commit is contained in:
Chang Su
2025-10-29 08:11:45 -07:00
committed by GitHub
parent 1e90fe2ed1
commit 400bddf24c
13 changed files with 99 additions and 39 deletions
+1 -1
View File
@@ -406,7 +406,7 @@ class TestPolicyFromStr:
def test_valid_policies(self):
"""Test conversion of valid policy strings."""
from sglang_router_rs import PolicyType
from sglang_router.sglang_router_rs import PolicyType
assert policy_from_str("random") == PolicyType.Random
assert policy_from_str("round_robin") == PolicyType.RoundRobin