Squad doesn’t work
# support
n
I created a squad in the dashboard and connected three assistants, but inside the squad they don’t behave as expected. They say the wrong things, don’t execute the tool functions, often misunderstand what I say, and sometimes the main assistant doesn’t transfer the call to the other assistant. I double-checked everything in the squad setup assistants, configurations, models, voice, and even the pre-transfer message everything is filled in correctly.
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
Hi Nico, could you please provide a call id where the squad is used and doesn't behave as expected? We will compare the squad config to the separate assistant configs
n
Sorry for the delay. This is the call ID on the Squad screen: 56c9ab2f-2045-4917-b8c9-c4fd42779662 The AI doesn’t understand, it doesn’t transfer the call, and if it does transfer to another assistant, such as Support, it doesn’t work it doesn’t call the tools and doesn’t provide answers. However, when I test the AIs separately on the Assistants screen, they work normally.
c
Thank you for the call id. We are reviewing the logs and will get back to you shortly
Hey Nico, we reviewed the logs and looks like the transcriber is set to
en
for the language. This is main reason your assistant is not resulting in a transfer, or even a transcription. Here is the transcriber object from the logs:
Copy code
"transcriber": {
          "model": "nova-2",
          "language": "en",
          "provider": "deepgram"
        },
To resolve this issue, you can use the API /squad endpoint to PATCH your squad id and all of your assistants to override the language to
es
instead. We have partially built out the request for you and all it needs is your VAPI private API key as the bearer token to complete this request. You can either build this request using our documentation page, run this cURL request on an API application such as postman, or you can reach out to us and we will assist you with sending this request. Please let us know how you would like to proceed. We will drop the cURL request below:
Copy code
curl -X PATCH https://api.vapi.ai/squad/013a1578-a6c1-4c83-bf35-30fd3dbdcc57 \
     -H "Authorization: Bearer " \
     -H "Content-Type: application/json" \
     -d '{
  "members": [
    {
      "assistantId": "14b19f1e-0e76-4409-bb64-2720846017c0"
    },
    {
      "assistantId": "a45810c0-0804-4b7f-90e8-ecc2ed803166"
    },
    {
      "assistantId": "220ed19e-c0ff-456a-8af3-71742a9f472b"
    },
    {
      "assistantId": "14b19f1e-0e76-4409-bb64-2720846017c0"
    }
  ],
  "membersOverrides": {
    "transcriber": {
      "provider": "deepgram",
      "language": "es"
    }
  }
}'
2 Views