Different user, Different prompt - Same assistant

I want different users on my app have different system and user prompts for their voice agents. For that, I am making a patch call to /assistant and updating both the prompts when my user is about to make the call.

I am using a common assistant for the same. There would be an issue if:

for 2 users U1 and U2:
U1 triggers call --> vapi prompts are updated (as per U1) --> U2 triggers call --> vapi prompts are updated (as per U2) --> U1's call triggers (but vapi config has U2's prompt now)

Is there a way out?
Was this page helpful?