"message":"Invalid Destination. Assistant \"Arham\...
# support
m
Copy code
{
  "squad": {
    "members": [
      {
        "assistant": {
          "name": "Mohammad Appointment setter",
          "model": {
            "model": "gpt-4o-mini",
            "provider": "openai"
          },
          "transcriber": {
            "provider": "deepgram",
            "model": "nova-2",
            "language": "en"
          },
          "firstMessage": "Hey, what's up Arham?",
          "firstMessageMode": "assistant-speaks-first"
        },
        "assistantDestinations": [
          {
            "type": "assistant",
            "assistantName": "Arham",
            "message": "transfering to our arabic agent",
            "description": "when user ask for help in arabic"
          }
        ],
        "assistantId": ""
      }
    ]
  },
  "customer": {
    "number": "+919770664160"
  },
  "phoneNumberId": ""
}
https://cdn.discordapp.com/attachments/1277587964628832348/1277587964813115464/Screenshot_2024-08-26_164804.png?ex=66cdb603&is=66cc6483&hm=71dcc4ed2a881931ca75d89e31fdf9e417d8a10ce741b8f5de4ad56c815fe7c5&
v
@Mohammad Hello! How can I assist you today? If you need help in Arabic or any other specific matter, please let me know, and I'll do my best to provide the support you require.
You can continue this conversation by mentioning me in the message.
m
I want the issue resolve
Copy code
{
  "squad": {
    "members": [
      {
        "assistant": {
          "name": "Mohammad Appointment setter",
          "model": {
            "model": "gpt-4o-mini",
            "provider": "openai"
          },
          "transcriber": {
            "provider": "deepgram",
            "model": "nova-2",
            "language": "en"
          },
          "firstMessage": "Hey, what's up Arham?",
          "firstMessageMode": "assistant-speaks-first"
        },
        "assistantDestinations": [
          {
            "type": "assistant",
            "assistantName": "Arham",
            "message": "transfering to our arabic agent",
            "description": "when user ask for help in arabic"
          }
        ],
        "assistantId": ""
      }
    ]
  },
  "customer": {
    "number": "+919770664160"
  },
  "phoneNumberId": ""
}
"message":"Invalid Destination. Assistant \"Arham\" Not Found.","error":"Bad Request","statusCode":4
@User
s
Copy code
json
{
  "squad": {
    "members": [
      {
        "assistant": {
          "name": "Mohammad Appointment setter",
          "model": {
            "model": "gpt-4o-mini",
            "provider": "openai"
          },
          "transcriber": {
            "provider": "deepgram",
            "model": "nova-2",
            "language": "en"
          },
          "firstMessage": "Hey, what's up Arham?",
          "firstMessageMode": "assistant-speaks-first"
        },
        "assistantDestinations": [
          {
            "type": "assistant",
            "assistantName": "Arham",
            "message": "transfering to our arabic agent",
            "description": "when user ask for help in arabic"
          }
        ]
      },
      {
        "assistantId": "<insert-your-arham-assistant-id-here>"
      }
    ]
  },
  "customer": {
    "number": "+919770664160"
  },
  "phoneNumberId": ""
}
@Mohammad use the above squad config, you have to add assistant destinations to squad memebers as well
m
thnanks mam Now my squad is working fine
3 Views