Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
dev: Enhance debug logging
Clémence Lesnéc9a167916fde
diff --git a/main.py b/main.pyindex 5bb4a81..76e80f1 100644--- a/main.py+++ b/main.py@@ -596,6 +596,9 @@ async def gpt_chat(call: CallModel) -> ActionModel:content = res.choices[0].message.contenttool_calls = res.choices[0].message.tool_calls+ _logger.debug(f"Chat response: {content}")+ _logger.debug(f"Tool calls: {tool_calls}")+intent = IndentAction.CONTINUEmodels = []if tool_calls: