Squad for Incoming Calls
# support
b
I'm trying to set up a squad to answer incoming calls to break up the complexity of my system prompt. The documentation says incoming call squads are supported but I see in this forum that it may not be implemented yet. I'm getting a "Cannot fetch assistant" error. Are transient squads for incoming assistants supported at this time?
v
message has been deleted
@BrentPope Yes, transient squads for incoming calls are indeed supported. The "Cannot fetch assistant" error you're encountering might be due to a configuration issue or a temporary service disruption. To assist you better, could you please provide more details about how you're setting up the squad? This will help me understand the context and guide you through the correct process.
You can continue this conversation by mentioning me in the message.
b
Great. Here is my json for the squad. There are two assistants and each works correctly on it's own - without the 'assistantDestiations' section. I have not yet worked on the transfer logic, just trying to get it to answer the call right now. Please let me know if you need more info. https://cdn.discordapp.com/attachments/1253005758736498699/1253011381783887872/Sarah_and_Izzy_Squad.txt?ex=66744d49&is=6672fbc9&hm=0b38b5fd5fe4bf8906ae31b37266b89a221e7903662e5e5eeb784816d38a792c&
v
@BrentPope Thank you for providing more context. If each assistant works correctly on its own, the issue might be related to how the 'assistantDestinations' section is set up within your JSON configuration. To help you further, I would need to see the actual JSON configuration for the squad, especially the 'assistantDestinations' section, to identify any potential issues. Please provide the JSON configuration for your squad, and I'll do my best to assist you with the setup. If there's sensitive information, make sure to redact that before sharing.
b
that file is the jason for the squad
json
s
Yes, it is supported. Could you please check your server? It will send the error message to your server URL
or we can schedule a meet and we can check that over there
b
I finally found the log. Here is the error: "assistantRequestError": "Couldn't Get Assistant. Each Member Needs
assistantId
or
assistant
.", These are transient assistants, how do i set the Id?
If I try assigning numbers, I get this error: "assistantRequestError": "Invalid Assistant. Errors: squad.members.0.assistant.property assistantId should not exist,squad.members.1.assistant.property assistantId should not exist",
s
Your payload is incorrect. Assistant and assistantDestination should be in one object.
Please check this
b
Finally got it! yay! thank you!
2 Views