Hi,
I am creating a bot that will respond to tickets via the GPT API to users so it can gather relevant data before passing the ticket to a human.
The goal for the bot is that when it thinks it has all the data necessary, it sends a message saying that it will pass the ticket to a human, as well as executing a function that will effectively do that.
My problem is that it seems to want to do one or the other, but not really both. Either it calls the function and does not send a message, or it sends a message and does not call the function, or worse, sends a message, and at the end of the message adds some weird code-looking stuff like [tools.send_to_human()].
Is there a way to consistently get it to do both?
Thank you.