From b50c1f1e8cc9497f7bea87d82d5eed9bf52f0ec1 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sun, 19 Apr 2026 08:01:06 +0000 Subject: [PATCH] fix(kokoros): implement audio_transcription_stream trait stub The backend.proto was updated to add AudioTranscriptionStream RPC, but the Rust KokorosService was never updated to match the regenerated tonic trait, breaking compilation with E0046. Stubs the new streaming method as unimplemented, matching the pattern used for the other streaming RPCs Kokoros does not support. --- backend/rust/kokoros/src/service.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/backend/rust/kokoros/src/service.rs b/backend/rust/kokoros/src/service.rs index 8e0ec86c761b..e1038f5e9f5d 100644 --- a/backend/rust/kokoros/src/service.rs +++ b/backend/rust/kokoros/src/service.rs @@ -341,6 +341,16 @@ impl Backend for KokorosService { Err(Status::unimplemented("Not supported")) } + type AudioTranscriptionStreamStream = + ReceiverStream>; + + async fn audio_transcription_stream( + &self, + _: Request, + ) -> Result, Status> { + Err(Status::unimplemented("Not supported")) + } + async fn sound_generation( &self, _: Request,