We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2e673b commit 90246f1Copy full SHA for 90246f1
1 file changed
src/elevenlabs/conversational_ai/conversation.py
@@ -859,7 +859,10 @@ async def wait_for_session_end(self) -> Optional[str]:
859
"""
860
if not self._task:
861
raise RuntimeError("Session not started.")
862
- await self._task
+ try:
863
+ await self._task
864
+ except asyncio.CancelledError:
865
+ pass
866
return self._conversation_id
867
868
async def send_user_message(self, text: str):
0 commit comments