@ArtemHorik
Absolutely, VAPI can assist with that. To track where a user interrupts the agent, you would typically need to monitor the audio stream and detect when the user starts speaking. VAPI provides events that can help you understand when the agent starts and stops speaking, as well as when the user starts speaking.
However, to provide you with a precise solution, I would need to know more about the specific capabilities and events that VAPI supports for this use case. If VAPI has an event that notifies when the user interrupts the agent, you could use that event to determine the cutoff point in the message history.
If you can provide more details or if there's a specific function in VAPI that you think might help with this, I can guide you further on how to implement it. If this functionality is not directly supported, you might need to implement custom logic to handle the audio stream and detect interruptions.