Files
sglang/rust/py_src/sglang_router/__init__.py
Ata Fatahi 7791fd9948 Include version info into the router package (#2456)
Signed-off-by: Ata Fatahi <immrata@gmail.com>
Co-authored-by: Byron Hsu <byronhsu1230@gmail.com>
2024-12-11 17:31:20 -08:00

12 lines
290 B
Python

# a lightweihgt wrapper on router with argument type and comments
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__"]