Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
fix: Fine-tune END_CALL action
Clémence Lesné2c85d0523b2f
diff --git a/main.py b/main.pyindex 9ef2be6..5555708 100644--- a/main.py+++ b/main.py@@ -651,7 +651,7 @@ async def gpt_chat({"type": "function","function": {- "description": "Use this if the user wants to end the call, or if the user is satisfied with the answer and confirmed the end of the call.",+ "description": "Use this if the user wants to end the call, or if the conversation ends naturally. Be warnging that the call will be ended immediately. Example: 'I want to hang up', 'Good bye, see you soon', 'We are done here', 'We will talk again later'.","name": IndentAction.END_CALL.value,"parameters": {"properties": {},