From ec8521a484253aa216604345e63785992a433b2a Mon Sep 17 00:00:00 2001 From: larstvei Date: Mon, 5 Jun 2023 19:03:30 +0200 Subject: [PATCH] Add a bit of doc for chatgpt-shell --- init.org | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/init.org b/init.org index edb4039..0c720e7 100644 --- a/init.org +++ b/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"))