Open
Description
gptscript version - v0.0.0-dev-f4284f43-dirty
Steps to reproduce the problem:
- Execute the following script that has tools with credentials.
Tools: github.com/sangee2004/slack/toolcred.gpt
search messages in slack and list all messages that have mentioned Disney in the past month
- When prompted for credentials , provide an invalid value. This will result in the script execution to fail. But credentials will be stored.
- Execute the script again. User will not be prompted and existing credential (from step2) will get used and the script execution will fail. This as expected.
For user to get out of this state , users needs to delete the credentials using gptscript credentials delete
and rerun the script which will result in user being prompted to enter credentials.
It would be good to have an option to allow for prompting user for entering credentials (even when they are already present) to allow for rewriting the existing credentials (that might be incorrect or expired credentials).