From b3d0ceed97ad12f085fcd876de32a12b90ac8b57 Mon Sep 17 00:00:00 2001 From: jisongniu <529058747@qq.com> Date: Tue, 4 Aug 2026 13:06:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(asr):=20=E5=88=A0=E9=99=A4=20retranscribe?= =?UTF-8?q?=20=E9=87=8C=E9=87=8D=E5=A4=8D=E7=9A=84=20ElevenLabs=20?= =?UTF-8?q?=E5=8C=B9=E9=85=8D=E5=88=86=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 该分支与上一条完全一致,属于死代码,cargo check 会报 warning: unreachable pattern。 Co-Authored-By: Claude Opus 5 --- openless-all/app/src-tauri/src/coordinator.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/openless-all/app/src-tauri/src/coordinator.rs b/openless-all/app/src-tauri/src/coordinator.rs index 22f3c55b3..995309f67 100644 --- a/openless-all/app/src-tauri/src/coordinator.rs +++ b/openless-all/app/src-tauri/src/coordinator.rs @@ -2154,12 +2154,6 @@ impl Coordinator { .map_err(|_| "重新转录超时".to_string())? .map_err(|e| e.to_string())? } - ActiveAsr::ElevenLabs(e) => { - tokio::time::timeout(elevenlabs_timeout, e.transcribe()) - .await - .map_err(|_| "重新转录超时".to_string())? - .map_err(|e| e.to_string())? - } #[cfg(target_os = "windows")] ActiveAsr::FoundryLocalWhisper(local) => { let audio_secs = (local.buffer_duration_ms() as f64) / 1000.0;