Sanjarbek Sobirjonov
05/05/2025, 4:02 PMVapi Support Bot
05/05/2025, 4:04 PMfirstMessage and firstMessageMode correctly.
Have you checked the startSpeakingPlan.waitSeconds parameter in your assistant configuration? This controls the delay before the assistant starts speaking (default is 0.4 seconds), and adjusting it might help ensure the assistant speaks immediately after the call is answered.
javascript
const assistant = {
firstMessageMode: 'assistant-speaks-first',
startSpeakingPlan: {
waitSeconds: 0.2 // Try a lower value
}
// other configurations
};
Source:
- [Discord discussion about startSpeakingPlan.waitSeconds](https://discord.com/channels/1211482211119796234/1343915991670853654)Sanjarbek Sobirjonov
05/05/2025, 4:06 PMChiranjeet Mishra
05/05/2025, 4:27 PMfirstMessageMode setting. Changing it to assistant-waits-for-user could help ensure that the assistant's message is not played until the user answers and engages in the call. Additionally, you might want to use live call control to trigger the message if there's no response within a few seconds into the call. This can improve the interaction flow and ensure timely conversation. Let me know if you need help with implementing these settings.Sanjarbek Sobirjonov
05/05/2025, 5:16 PMChiranjeet Mishra
05/05/2025, 11:16 PM