From 3815e9dec3ceac298db165068dbc6501bb5c7802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Sat, 19 Oct 2024 16:26:27 -0700 Subject: [PATCH] examples: fix dialin-chatbot python arguments --- examples/dialin-chatbot/bot_runner.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/dialin-chatbot/bot_runner.py b/examples/dialin-chatbot/bot_runner.py index d29adc34e..ac2ce79bf 100644 --- a/examples/dialin-chatbot/bot_runner.py +++ b/examples/dialin-chatbot/bot_runner.py @@ -108,11 +108,9 @@ async def _create_daily_room(room_url, callId, callDomain=None, vendor="daily"): # Spawn a new agent, and join the user session # Note: this is mostly for demonstration purposes (refer to 'deployment' in docs) if vendor == "daily": - bot_proc = f"python3 - m bot_daily - u {room.url} - t {token} - i { - callId} - d {callDomain}" + bot_proc = f"python3 -m bot_daily -u {room.url} -t {token} -i {callId} -d {callDomain}" else: - bot_proc = f"python3 - m bot_twilio - u {room.url} - t { - token} - i {callId} - s {room.config.sip_endpoint}" + bot_proc = f"python3 -m bot_twilio -u {room.url} -t {token} -i {callId} -s {room.config.sip_endpoint}" try: subprocess.Popen(