Open sangee2004 opened 1 month ago
@thedadams want to put this on your radar while youre looking at oauth flow
This issue is a result of the fact that dynamic tools aren't built into gptscript and the UI is doing something to work around that. I don't think anything I will do will change this behavior. In other words, the prompting of the user is handled by gptscript and the dynamic tool adding is done by the UI.
When I create an assistant with tool that has outlook mail tool and launch a chat session, the first thing I see is that I am presented with oauth flow for outlook mail tool. This experience is different from when I use "Add tool" to add outlook mail tool to an existing thread . I am not prompted for oauth flow right after this. I am promoted for the oauth flow only when a question regarding email is asked.
Seems like it is a better user experience to be prompted for the oauth workflow right after outlook mail tool gets added instead of having to wait for the oauth workflow to be triggered by the first chat message relating to mail.