Tool transfers the call to the wrong agent
The AI agent transfers the call to the wrong phone number - even though I provide it with the correct number to transfer the call to with my function call. I'm using a tool to transfer the call based on this code from Sahil:
https://dump.sahilsuman.me/transfertool1.txt
It works most of the time but sometimes it fails and I don't understand why. For the last tests I did, it worked 10 out of 12 times but of course I want it to be perfect.
86cd064a-dcfa-4835-8781-29345713dccb
00:17
c1e33f40-7ae1-414a-9544-770f5af03779
00:14
https://dump.sahilsuman.me/transfertool1.txt
It works most of the time but sometimes it fails and I don't understand why. For the last tests I did, it worked 10 out of 12 times but of course I want it to be perfect.
86cd064a-dcfa-4835-8781-29345713dccb
00:17
c1e33f40-7ae1-414a-9544-770f5af03779
00:14