Open sangee2004 opened 2 months ago
Both of these scenarios happen because the tools are dynamically added. The Outlook and Slack tools are tool sets that are shared as context tools, each of which has a Share Credential
line in them. If you were to include these in an assistant ahead of time (instead of dynamically adding them), you would be prompted of all of the credentials before sending your first message. When dynamically adding them, you don't get prompted until after you send a message, at which point it looks through the context tools it needs to run and then executes them.
If the logic for dynamic tool adding has been implemented in core GPTScript, then this is something I could adjust to take care of either immediate (as soon at the tools are added) or only as needed. However, if the dynamic tool adding is still implemented either in only the SDK or only the UI, then this isn't really possible.
cc @cjellick
Electron build - 090c16f8
Steps to reproduce the problem:
Scenario1:
Tildy
Scenario 2:
I am presented with oauth flows relating to slack
Expected Behavior: User should not be presented with oauth flow for tools unrelated to the query.