[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
+7 -2
View File
@@ -1,8 +1,13 @@
from typing import Optional
from sglang_router.router_args import RouterArgs
from sglang_router_rs import BackendType, HistoryBackendType, PolicyType, PyOracleConfig
from sglang_router_rs import Router as _Router
from sglang_router.sglang_router_rs import (
BackendType,
HistoryBackendType,
PolicyType,
PyOracleConfig,
)
from sglang_router.sglang_router_rs import Router as _Router
def policy_from_str(policy_str: Optional[str]) -> PolicyType: