From a0900d46630f5d9c891d1f68491c5a784063c6ec Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 13 Apr 2023 06:48:09 +0300 Subject: emacs: redo chatgpt with emacs-openai using api --- org/emacs.org | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'org/emacs.org') diff --git a/org/emacs.org b/org/emacs.org index 02a9cd7..538bc28 100755 --- a/org/emacs.org +++ b/org/emacs.org @@ -609,14 +609,7 @@ Hook with ~dired-mode~ #+end_src ** ChatGPT #+begin_src emacs-lisp - ;; (require 'quelpa-use-package) - ;; (use-package chatgpt - ;; :quelpa ((chatgpt :fetcher git :url "https://github.com/joshcho/ChatGPT.el.git") :upgrade t) - ;; :init - ;; (require 'python) - ;; (setq chatgpt-repo-path (expand-file-name "chatgpt/" quelpa-build-dir)) - ;; (setq python-interpreter "/usr/bin/python3") - ;; :bind ("C-c q" . chatgpt-query)) + (setq openai-key (password-store-get "chatgpt/api2")) #+end_src * Org-mode Configuration ** org-make-toc -- cgit v1.2.3