Skip to content

Commit 270c256

Browse files
Copilotmudler
andauthored
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>
1 parent 1a30020 commit 270c256

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

backend/rust/kokoros/src/service.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,15 @@ impl Backend for KokorosService {
375375
Err(Status::unimplemented("Not supported"))
376376
}
377377

378+
type AudioToAudioStreamStream = ReceiverStream<Result<backend::AudioToAudioResponse, Status>>;
379+
380+
async fn audio_to_audio_stream(
381+
&self,
382+
_: Request<tonic::Streaming<backend::AudioToAudioRequest>>,
383+
) -> Result<Response<Self::AudioToAudioStreamStream>, Status> {
384+
Err(Status::unimplemented("Not supported"))
385+
}
386+
378387
async fn sound_generation(
379388
&self,
380389
_: Request<backend::SoundGenerationRequest>,

0 commit comments

Comments
 (0)