manateelazycat / mind-wave

Emacs AI plugin based on ChatGPT API
GNU General Public License v3.0
159 stars 26 forks source link

从 elisp 提供 API KEY #5

Closed randomwangran closed 1 year ago

randomwangran commented 1 year ago

从 elisp 提供 api key, 类似:

(setq mind-wave-api-key "sk-xxxx")

虽有

https://github.com/manateelazycat/mind-wave/blob/7996e649d43d7ba12c552fcc8a5048af5eb8fe08/mind_wave.py#L59

增加易用性

manateelazycat commented 1 year ago

这样会有泄露API key的风险。