Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
dev: Enhance logging
Clémence Lesné63fd152961b0
diff --git a/main.py b/main.pyindex 79d5041..98d4d88 100644--- a/main.py+++ b/main.py@@ -396,7 +396,7 @@ async def intelligence(call: CallModel, client: CallConnectionClient, target_caller: PhoneNumberIdentifier) -> None:chat_res = await gpt_chat(call)- _logger.info(f"GPT response ({call.id}): {chat_res}")+ _logger.info(f"Chat ({call.id}): {chat_res}")if chat_res.intent == IndentAction.TALK_TO_HUMAN:await handle_play(