Skip to content

Commit

Permalink
Include version info into the router package (#2456)
Browse files Browse the repository at this point in the history
Signed-off-by: Ata Fatahi <[email protected]>
Co-authored-by: Byron Hsu <[email protected]>
  • Loading branch information
MrAta and ByronHsu authored Dec 12, 2024
1 parent 2ac36b9 commit 7791fd9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rust/py_src/sglang_router/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@

# no wrapper on policy type => direct export
from .router import Router

__all__ = ["Router", "PolicyType"]

from sglang_router.version import __version__

__all__ += ["__version__"]
1 change: 1 addition & 0 deletions rust/py_src/sglang_router/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.1.0"

0 comments on commit 7791fd9

Please sign in to comment.