Improve metrics, logging, and importing orders (#2992)

This commit is contained in:
Lianmin Zheng
2025-01-19 18:36:59 -08:00
committed by GitHub
parent 61f42b5732
commit cd493b5afc
8 changed files with 64 additions and 49 deletions

View File

@@ -1,11 +1,7 @@
# a lightweihgt wrapper on router with argument type and comments
# no wrapper on policy type => direct export
from sglang_router.router import Router
from sglang_router.version import __version__
from sglang_router_rs import PolicyType
# no wrapper on policy type => direct export
from .router import Router
__all__ = ["Router", "PolicyType"]
from sglang_router.version import __version__
__all__ += ["__version__"]
__all__ = ["Router", "PolicyType", "__version__"]