diff --git a/backend/routers/transcribe_v2.py b/backend/routers/transcribe_v2.py index 50f8e68c7..ba4087a18 100644 --- a/backend/routers/transcribe_v2.py +++ b/backend/routers/transcribe_v2.py @@ -211,7 +211,7 @@ async def create_memory_creation_task(): nonlocal memory_creation_task if memory_creation_task is not None: - await memory_creation_task.cancel() + memory_creation_task.cancel() try: await memory_creation_task except asyncio.CancelledError: