Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

chore: Delete dead code

Clémence Lesné19eb8ce900c9
diff --git a/app/helpers/call_utils.py b/app/helpers/call_utils.py
index 67e0533..8d12c20 100644
--- a/app/helpers/call_utils.py
+++ b/app/helpers/call_utils.py
@@ -84,14 +84,6 @@ class TtsCallback(PushAudioOutputStreamCallback):
self.queue.put_nowait(audio_buffer.tobytes())
return audio_buffer.nbytes
- def close(self) -> None:
- """
- Close the callback.
- """
- while not self.queue.empty():
- self.queue.get_nowait()
- self.queue.task_done()
-
class ContextEnum(str, Enum):
"""