test(windows): include sherpa stub in backend test crate

This commit is contained in:
weikeyi committed 2026-05-21 09:46:27 +08:00
1 parent 3bfd61cf1c
commit 7072c30f69
1 file changed
+9
@@ -22,6 +22,15 @@ mod asr {
}
}
}
pub mod sherpa {
pub const DEFAULT_MODEL_ALIAS: &str = "sense-voice-small-zh";
pub const PROVIDER_ID: &str = "sherpa-onnx-local";
pub fn is_sherpa_onnx_local(id: &str) -> bool {
id == PROVIDER_ID
}
}
}
}