-
Notifications
You must be signed in to change notification settings - Fork 386
Description
Description
means that the DefaultAudioInterface class in the ElevenLabs library is missing an internal attribute (should_stop).
Code example
"C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.1776.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1043, in _bootstrap_inner
self.run()
~~~~~~~~^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.1776.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 994, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\avadh\OneDrive\Desktop\jarvis\main.py", line 40, in end_session_after_timeout
conversation.end_session()
~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\avadh\OneDrive\Desktop\jarvis\venv\Lib\site-packages\elevenlabs\conversational_ai\conversation.py", line 320, in end_session
self.audio_interface.stop()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\avadh\OneDrive\Desktop\jarvis\venv\Lib\site-packages\elevenlabs\conversational_ai\default_audio_interface.py", line 51, in stop
self.should_stop.set()
^^^^^^^^^^^^^^^^
AttributeError: 'DefaultAudioInterface' object has no attribute 'should_stop'
Additional context
No response