Include version info into the router package (#2456)

Signed-off-by: Ata Fatahi <immrata@gmail.com>
Co-authored-by: Byron Hsu <byronhsu1230@gmail.com>
This commit is contained in:
Ata FatahiandByron Hsu authored and GitHub committed 2024-12-11 17:31:20 -08:00
1 parent 2ac36b9a7b
commit 7791fd9948
2 files changed
+7

No files matched your search

+6
View File
@@ -3,3 +3,9 @@ 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__"]
+1
View File
@@ -0,0 +1 @@
__version__ = "0.1.0"