[router] fix router release workflow and add build test in PR (#12315)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user