barnesoir/chatgpt-vscode-plugin

session token in the code

alexanderkjeldaas opened this issue · 2 comments

There is a session token in https://github.com/barnesoir/chatgpt-vscode-plugin/blob/main/src/extension.ts#L40

You can use ChatGPT to rewrite the code so it imports this using dotenv.

Cheers for that, was just a temp measure in the mean time, updating the plug in now to take it from a window.

Fixed in this commit, allowing loading and storing sessionToken.
bfa189d