Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
test: Speedup LLM test
Clémence Lesné80cc862240ea
diff --git a/tests/llm.py b/tests/llm.pyindex 826cb7e..ef538a4 100644--- a/tests/llm.py+++ b/tests/llm.py@@ -306,12 +306,11 @@ async def test_llm( # noqa: PLR0913)# Simulate conversation with speech recognition- for speech in speeches:- # Add message to history- async with db.call_transac(- call=call,- scheduler=scheduler,- ):+ async with db.call_transac(+ call=call,+ scheduler=scheduler,+ ):+ for speech in speeches:call.messages.append(MessageModel(content=speech,