diff --git a/openless-all/app/src-tauri/backend-tests/tests/backend_rust.rs b/openless-all/app/src-tauri/backend-tests/tests/backend_rust.rs index 08ef2f2a..a3760ccb 100644 --- a/openless-all/app/src-tauri/backend-tests/tests/backend_rust.rs +++ b/openless-all/app/src-tauri/backend-tests/tests/backend_rust.rs @@ -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 + } + } } }