diff --git a/src/api/app/routers/voice_live.py b/src/api/app/routers/voice_live.py index 6672c357..64895b90 100644 --- a/src/api/app/routers/voice_live.py +++ b/src/api/app/routers/voice_live.py @@ -179,7 +179,7 @@ async def stop(self) -> None: if callable(close_fn): close_result = close_fn() if asyncio.iscoroutine(close_result): - await close_result + _ = await close_result async def _run(self) -> None: try: @@ -611,7 +611,7 @@ async def text_to_speech(request: Request): if callable(close_fn): close_result = close_fn() if asyncio.iscoroutine(close_result): - await close_result + _ = await close_result if not audio_chunks: return Response(status_code=500, content="No audio generated")