Remove chatgpt-shell config

This commit is contained in:
Camden Dixie O'Brien 2025-01-08 12:30:47 +00:00
parent d9d2042459
commit bfe6414f98

View File

@ -1377,25 +1377,6 @@
'clang-format-region-or-buffer))) 'clang-format-region-or-buffer)))
#+end_src #+end_src
** ChatGPT
The =chatpt-shell= package provides a shell-like interface for
ChatGPT.
#+begin_src emacs-lisp
(use-package chatgpt-shell)
#+end_src
[[help:chatgpt-shell-openai-key][chatgpt-shell-openai-key]] must also be set to a function that
returns an OpenAI API key. I have a key (made on [[https://platform.openai.com/account/api-keys][this page]]) stored
in =pass(1)= under =openai/api-key=, so this can be retrieved via
[[help:process-lines][process-lines]]:
#+begin_src emacs-lisp
(setq chatgpt-shell-openai-key
(lambda ()
(car (process-lines "pass" "openai/api-key"))))
#+end_src
** GraphViz ** GraphViz
The =graphviz-dot-mode= package provides some integration for the The =graphviz-dot-mode= package provides some integration for the
GraphViz suite of tools, and a mode for the 'dot' language they GraphViz suite of tools, and a mode for the 'dot' language they