setup router python binding ci (#1999)

This commit is contained in:
Byron Hsu
2024-11-11 12:19:32 -08:00
committed by GitHub
parent ddeb9d42de
commit 00ffde206f
13 changed files with 254 additions and 161 deletions

View File

@@ -90,7 +90,7 @@ impl Router {
}
#[pymodule]
fn sglang_router(m: &Bound<'_, PyModule>) -> PyResult<()> {
fn sglang_router_rs(m: &Bound<'_, PyModule>) -> PyResult<()> {
m.add_class::<PolicyType>()?;
m.add_class::<Router>()?;
Ok(())