Even after connecting sometimes it doesn't responds after the firstMessage
mayank-holofy opened this issue · comments
mayank-holofy commented
To Init
vapiRef.current = new Vapi('api-token');
vapiRef.current.on('message', (message) => {
});
vapiRef.current.on('speech-start', () => {
console.log('Speech has started');
});
vapiRef.current.on('speech-end', () => {
console.log('Speech has ended');
});
vapiRef.current.on('call-start', () => {
console.log('Call has started');
});
vapiRef.current.on('call-end', () => {
console.log('Call has stopped');
});
To Start
vapiRef.current.start({
model: {
provider: 'openai',
model: 'gpt-3.5-turbo',
messages: [
{
role: 'system',
content: vapiSystemPromptRef.current,
},
],
},
voice: {
provider: 'azure',
voiceId: 'en-US-AvaNeural',
},
firstMessage: 'Hey!',
responseDelaySeconds: 0.7,
});
After the first Message it says hi it stops
Nikhil Gupta commented
- Any errors in the network tab?
- Check the call logs in the dashboard?
mayank-holofy commented
sagar-vapi commented
can you provide a callIId which has the error ? Will be easier for us to see whats going on
mayank-holofy commented
can you provide a callIId which has the error ? Will be easier for us to see whats going on
71de7643-3d1d-4dd1-afe6-612e74037f02
Is the call id @sagar-vapi
Nikhil Gupta commented
From what I can tell, no audio came through from your side or at least call was ended from the frontend before anything came through on that callId.
Could you email support@vapi.ai with some more recent call IDs if still an issue. That's the best channel for integration debugging. This is best for SDK bugs.