VAPI Squads Issue
I am creating a squad correcctly, using this JSON (with sensitive data removed) : {
"name": "test 6",
"members": [
{
"assistantId": "1ae9f8a9-f24c-4378-9edf-c45605b34db7",
"assistantOverrides": {
"model": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"transcriber": {
"model": "nova-2",
"language": "el",
"provider": "deepgram"
},
"voice": {
"voiceId": "aTP4J5SJLQl74WTSRXKW",
"provider": "11labs",
"fillerInjectionEnabled": false,
"model": "eleven_flash_v2_5"
}
},
"assistantDestinations": [
{
"message": "",
"description": "Transfer to EL landline GettingPhone when the user needs to give a phone to the assistant",
"type": "assistant",
"assistantName": "EL landline GettingPhone",
"transferMode": "swap-system-message-in-history"
}
]
},
{
"assistantId": "043bc70f-e5b3-4017-b9b1-907d0bb2187c",
"assistantOverrides": {
"model": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"transcriber": {
"model": "default",
"language": "el",
"provider": "speechmatics"
},
"voice": {
"voiceId": "aTP4J5SJLQl74WTSRXKW",
"provider": "11labs",
"model": "eleven_flash_v2_5",
"fillerInjectionEnabled": false
}
}
}
]
}
I have a transferCall tool, with the correct destination, and transfer method. For some reason, while the transferCall method does indeed get triggered, the assistant doesn't actually change over to the destination assistant (The conversation continues with the initial assistant).
At one point, it used to work, but for some reason, I have this issue now. Some help would be really appreciated as to what might be causing this.
"name": "test 6",
"members": [
{
"assistantId": "1ae9f8a9-f24c-4378-9edf-c45605b34db7",
"assistantOverrides": {
"model": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"transcriber": {
"model": "nova-2",
"language": "el",
"provider": "deepgram"
},
"voice": {
"voiceId": "aTP4J5SJLQl74WTSRXKW",
"provider": "11labs",
"fillerInjectionEnabled": false,
"model": "eleven_flash_v2_5"
}
},
"assistantDestinations": [
{
"message": "",
"description": "Transfer to EL landline GettingPhone when the user needs to give a phone to the assistant",
"type": "assistant",
"assistantName": "EL landline GettingPhone",
"transferMode": "swap-system-message-in-history"
}
]
},
{
"assistantId": "043bc70f-e5b3-4017-b9b1-907d0bb2187c",
"assistantOverrides": {
"model": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"transcriber": {
"model": "default",
"language": "el",
"provider": "speechmatics"
},
"voice": {
"voiceId": "aTP4J5SJLQl74WTSRXKW",
"provider": "11labs",
"model": "eleven_flash_v2_5",
"fillerInjectionEnabled": false
}
}
}
]
}
I have a transferCall tool, with the correct destination, and transfer method. For some reason, while the transferCall method does indeed get triggered, the assistant doesn't actually change over to the destination assistant (The conversation continues with the initial assistant).
At one point, it used to work, but for some reason, I have this issue now. Some help would be really appreciated as to what might be causing this.