emacs-openai / codegpt

Use GPT-3 inside Emacs
GNU General Public License v3.0
88 stars 12 forks source link

Where to add API key ? #16

Closed flagos closed 1 year ago

flagos commented 1 year ago

Hi,

The documentation states that:

Copy the key and paste into the 'API Key' field under the 'openai' custom group settings.

It's not really obvious to me what I should do here. I got my API key from the url, but I've no idea what this openai custom group settings. Can you please elaborate ?

jcs090218 commented 1 year ago

This package relies on openai.el, please see this section https://github.com/emacs-openai/openai#-usage.

openai custom group settings

The wording should probably be change by now. The older version was using defcustom, and it's bad practice see https://github.com/emacs-openai/openai/issues/5#issue-1611978573.

flagos commented 1 year ago

Thank you, it's working well now.