gptscript icon indicating copy to clipboard operation
gptscript copied to clipboard

Can't change the api key for openai

Open prpanto opened this issue 1 year ago • 3 comments

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

prpanto avatar Sep 02 '24 23:09 prpanto

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

MuhammadMunir1214 avatar Sep 09 '24 21:09 MuhammadMunir1214

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

Keshav-Madhav avatar Oct 06 '24 11:10 Keshav-Madhav

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

drpebcak avatar Nov 06 '24 22:11 drpebcak