@! John Jahshan
It sounds like there might be an issue with the implementation of your AI's logic when interacting with the make automation tool. To help you better, I would need to understand how your AI is structured to call the tool and handle responses. However, here are a few general suggestions that might resolve the issue:
1. **Check for Asynchronous Handling**: Ensure that your AI is designed to handle asynchronous operations. It should wait for a response from the make automation tool before attempting another call.
2. **Implement Callbacks or Promises**: If your AI is using callbacks or promises, make sure they are set up correctly to handle the response from the make automation tool.
3. **Rate Limiting**: Implement rate limiting to prevent the AI from calling the tool too frequently. This can be done by setting a timeout or delay between calls.
4. **State Management**: Make sure your AI maintains the state of each call. It should not initiate a new call if the previous one is still pending.
5. **Error Handling**: Proper error handling can prevent repeated calls if the initial call fails. Ensure that your AI can distinguish between a failed call and a successful one that's still awaiting a response.
6. **Logging**: Implement detailed logging to track each call and response. This can help you identify where the loop is occurring.
If you can provide more details or context about how your AI is making calls to the make automation tool, I can offer more specific advice. Otherwise, please check the points above to troubleshoot the issue.