VAPI overrides provider and voice_id when we call to an Assistant
When we call VAPI Assistant is starts talking using a different provider and voice_id that was set up by us. Looks like VAPI replaces the provider to its defaults: playht and voice_id to jennifer. During the investigation we accidentally found out that PATCH overrides all assistant settings. We are not sure if it has anything to do with our issue, but it looks kinda similar. Please, note that we do not call PATCH during our calls.
This is the initial assistant settings. Note that the voice_provider is 11labs:
Then we patch the responseDelaySeconds attribute and provider is now changed:
This is the initial assistant settings. Note that the voice_provider is 11labs:
GET /assistant/091ae3e9-0537-479d-9f83-8c25dd7c50ba
RESPONSE BODY:
{..., 'voice': {'model': 'eleven_turbo_v2', 'voiceId': 'QrRJx7pPvPGFVMtAx4IR', 'provider': '11labs'...}Then we patch the responseDelaySeconds attribute and provider is now changed:
PATCH /assistant/091ae3e9-0537-479d-9f83-8c25dd7c50ba
REQUEST BODY:
{'responseDelaySeconds': 0.15}
RESPONSE BODY:
{..., 'voice': {'voiceId': 's3://voice-cloning-zero-shot/801a663f-efd0-4254-98d0-5c175514c3e8/jennifer/manifest.json', 'provider': 'playht'...}