mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Add a bit of doc for chatgpt-shell
This commit is contained in:
parent
ca835e1f83
commit
ec8521a484
8
init.org
8
init.org
@ -694,6 +694,14 @@
|
||||
|
||||
** ChatGPT
|
||||
|
||||
I have a line like this:
|
||||
|
||||
#+begin_example
|
||||
machine api.openai.com password OPEN-AI-KEY
|
||||
#+end_example
|
||||
|
||||
in my ~.authinfo~ file. Then the ~chatgpt-shell-openai-key~ can by set by:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(setq chatgpt-shell-openai-key
|
||||
(auth-source-pick-first-password :host "api.openai.com"))
|
||||
|
Loading…
Reference in New Issue
Block a user