Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
fix: Simplify date given to the LLM
Clémence Lesné6e30b188f9f2
diff --git a/helpers/config_models/prompts.py b/helpers/config_models/prompts.pyindex c44af73..0a84eb4 100644--- a/helpers/config_models/prompts.py+++ b/helpers/config_models/prompts.py@@ -317,7 +317,9 @@ class LlmModel(BaseModel):bot_phone_number=CONFIG.communication_service.phone_number,date=datetime.now(UTC).astimezone()- .strftime("%Y-%m-%d %H:%M %Z%z"), # Example 2024-02-01 18:58 CET+0100+ .strftime(+ "%Y-%m-%d %H:%M"+ ), # Don't include seconds to enhance cache during unit tests. Example: "2024-02-01 18:58".phone_number=phone_number,))