Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't change the api key for openai #836

Open
prpanto opened this issue Sep 2, 2024 · 3 comments
Open

Can't change the api key for openai #836

prpanto opened this issue Sep 2, 2024 · 3 comments
Labels
question Further information is requested

Comments

@prpanto
Copy link

prpanto commented Sep 2, 2024

I run gptscript --openai-api-key <api-key> show all the commands or return to help and the key dont change.

@MuhammadMunir1214
Copy link

I am having the same issue, I want to change my API key but I cant seem to get it to work.

@Keshav-Madhav
Copy link

Same Issue, can someone help? I have tried changing the API key the command mentioned by @prpanto, i have tried to find the gptscripts in program files or app data, i event checked my systems environment variable, and i cannot find any place to change the api key

@drpebcak
Copy link
Member

drpebcak commented Nov 6, 2024

It sounds like you need to remove the saved credential - https://docs.gptscript.ai/credentials#gptscript-credential-command

@drpebcak drpebcak added the question Further information is requested label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants