From 270c2564094c767d3c5272cbe089b863fa4891ab Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Sun, 24 May 2026 22:39:15 +0200 Subject: [PATCH] Fix kokoros backend build break from Backend trait drift (#9972) * Initial plan * fix(kokoros): implement missing AudioToAudioStream trait stubs Agent-Logs-Url: https://github.com/mudler/LocalAI/sessions/e3c6b042-f055-4df9-a05e-e2d8434ee58b Co-authored-by: mudler <2420543+mudler@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: mudler <2420543+mudler@users.noreply.github.com> --- backend/rust/kokoros/src/service.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/backend/rust/kokoros/src/service.rs b/backend/rust/kokoros/src/service.rs index 0bd7cc1e2..b980feb52 100644 --- a/backend/rust/kokoros/src/service.rs +++ b/backend/rust/kokoros/src/service.rs @@ -375,6 +375,15 @@ impl Backend for KokorosService { Err(Status::unimplemented("Not supported")) } + type AudioToAudioStreamStream = ReceiverStream>; + + async fn audio_to_audio_stream( + &self, + _: Request>, + ) -> Result, Status> { + Err(Status::unimplemented("Not supported")) + } + async fn sound_generation( &self, _: Request,