Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

fix: End call plugin prompt

Clémence Lesnéeb0f7a5839c1
diff --git a/helpers/llm_plugins.py b/helpers/llm_plugins.py
index 3394d43..d7c0791 100644
--- a/helpers/llm_plugins.py
+++ b/helpers/llm_plugins.py
@@ -49,7 +49,7 @@ class LlmPlugins:
async def end_call(self) -> str:
"""
- Use this if the user wants to end the call in its last message. Use this action only at the end of a conversation. Be warnging that the call will be ended immediately. Example: 'I want to hang up', 'Good bye, see you soon'.
+ Use this if the user said they want to end the call. This will hang up the call. Example: 'I want to hang up', 'Goodbye, see you tomorrow'.
"""
await self.cancellation_callback()
await handle_play(