Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
quality: Code quality
Clémence Lesnéd59f643e2284
diff --git a/models/message.py b/models/message.pyindex e52c42e..49e5a8c 100644--- a/models/message.py+++ b/models/message.py@@ -100,7 +100,7 @@ class ToolModel(BaseModel):return_objects=True,) # type: ignore- if args == None:+ if not args:logger.warn(f"Error decoding JSON args for function {name}: {self.function_arguments[:20]}...{self.function_arguments[-20:]}")