Benjamin E.
05/22/2024, 11:10 AMVapi Support
05/22/2024, 11:10 AMVapi Support
05/22/2024, 11:11 AMTool Calls are properly added and recognized in both ClientMessages and ServerMessages settings as you've done [(1)]() .
2. Check Response Handling: Confirm that the assistant’s logic for handling the response from the server is set up to accurately parse and utilize the "result" field in the JSON payload you provided. It's essential that the assistant correctly maps this result to the output speech or text.
3. Debug the Tool Configuration: Review the tool configuration, especially the messages associated with the request-complete event. Make sure that the message dynamically includes the result from the function call. It’s possible the message is hardcoded or not correctly appending the result which might be causing the incorrect time announcement [(2)]() .
4. Inspect Latency and Timing: Since you have asynchronous behavior enabled ("async": true), check if there is any issue with how the responses are being managed temporally. Delays in processing could lead to outdated or incorrect information being presented if not handled correctly.
5. Review Server Logs: Check the logs on your server that is hosting the function (https://hook.us1.make.com/...). LookVapi Support
05/22/2024, 11:11 AMSahil
05/22/2024, 3:11 PM