From 460b82f0396221e74862b7def880d037e7edaaac Mon Sep 17 00:00:00 2001 From: Miguel Palhas Date: Sun, 20 Sep 2026 18:47:29 +0100 Subject: [PATCH] fix(api): name an unconfigured engine on /health Fourth copy of the same wrong sentence, and the one an operator actually reads: a compiled-in engine with no API key reported itself as unavailable in the build. Co-Authored-By: Claude --- crates/arr-api/src/health.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/arr-api/src/health.rs b/crates/arr-api/src/health.rs index f0fec51..5ae952c 100644 --- a/crates/arr-api/src/health.rs +++ b/crates/arr-api/src/health.rs @@ -290,9 +290,7 @@ async fn probe_provider(state: &AppState, id: &str) -> ProviderCheck { async fn probe_engine(state: &AppState, engine: &str) -> Check { match state.translation_backend(engine) { Some(backend) => backend_check(backend.probe().await), - None => Check::unconfigured(format!( - "'{engine}' is selected but unavailable in this build" - )), + None => Check::unconfigured(arr_subs::unusable_engine(engine)), } }