Hi, I've managed to get a squad working, but I'm still having a couple of hiccups.
Initially I tried a single assistant with a fairly long prompt, but the assistant wasn't following the prompt as closely as I would have liked.
I proceeded to split the assistant up into a squad of smaller assistants (smaller prompts), each tasked with achieving a specific outcome before the conversation could be passed to the next squad member with the next goal.
Ultimately, I want the squad of assistants to act like a single uninterrupted assistant, without the user knowing that they've been transferred. So, I keep the voice the same for all the squad members and I try to ensure that tool, destination and first messages flow on one another.
The issue I'm having is that I try and verify an account with a tool, which then tells the assistant to respond with a success message. I've prompted the assistant to immediately transfer the call, after the tool call, but the following happens:
1. Assistant runs tool call
2. Success message plays
3. Assistant says they will transfer the call and waits for the user to respond (THIS IS THE PROBLEM)
4. User responds (SHOULDN'T BE NECESSARY)
5. Destination message plays
6. Transferred assistant first message plays
The issue seems like it has to do with turn taking?