dr_py icon indicating copy to clipboard operation
dr_py copied to clipboard

Your openAI secret key is published

Open oelmekki opened this issue 2 years ago • 0 comments

Hi,

Just a fair warning that you've published your API key:

https://github.com/troray/dr_py/blob/78082eae8fdd012c82445e617409e7ba7588c415/py/chatgpt%E8%B0%83%E7%94%A8.py#L13

If you have a a paying account on openAI's api and this key is still valid, it may be used to access the api while billing you. You should probably deactivate this key in openAI's dashboard and remove it from your code, using instead an environment variable or similar.

oelmekki avatar Mar 10 '23 09:03 oelmekki