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>
This commit is contained in:
Copilot
2026-05-24 22:39:15 +02:00
committed by GitHub
parent 1a30020a82
commit 270c256409

View File

@@ -375,6 +375,15 @@ impl Backend for KokorosService {
Err(Status::unimplemented("Not supported"))
}
type AudioToAudioStreamStream = ReceiverStream<Result<backend::AudioToAudioResponse, Status>>;
async fn audio_to_audio_stream(
&self,
_: Request<tonic::Streaming<backend::AudioToAudioRequest>>,
) -> Result<Response<Self::AudioToAudioStreamStream>, Status> {
Err(Status::unimplemented("Not supported"))
}
async fn sound_generation(
&self,
_: Request<backend::SoundGenerationRequest>,