danemyers
06/23/2024, 9:07 PMMy summary prompt,
summaryRequestTimeoutSeconds: 10.5,
successEvaluationRubric: "AutomaticRubric",
},
serverMessages: ["end-of-call-report", "hang"],
serverUrl: "https://roley.ai/api/end-of-call-report",
},
};Vapi
06/23/2024, 9:09 PMasync property for the tools in your VAPI agent configuration. The async property should be set for each individual tool within the tools array, rather than at the agent level or as a separate array. Each tool in the tools array should have its own configuration, including whether it operates asynchronously.
However, if you're receiving a 404 error, it might not be related to the async property itself but rather to how you're structuring your payload or an issue with the endpoint you're trying to reach.
To set the async property correctly, you should include it within the configuration of each tool. Here's an example of how you might structure the tools array with the async property:
javascript
tools: [
{
toolId: 'your-tool-id-1',
async: true
},
{
toolId: 'your-tool-id-2',
async: true
}
// ... other tools
]
Make sure that each tool's configuration is an object with at least the toolId and async properties. If the async property is not recognized at the tool level, it's possible that the VAPI platform you're using does not support this configuration, or it may require a different approach.
If you continue to experience issues, please ask support for more info on this. They can provide you with the correct structure for your payload and help troubleshoot the 404 error you're encountering.Vapi
06/23/2024, 9:09 PMdanemyers
06/23/2024, 9:15 PMSahil
06/24/2024, 7:35 AMSahil
06/24/2024, 7:36 AMdanemyers
06/24/2024, 7:17 PMdanemyers
06/24/2024, 7:38 PM