diff options
author | Thanos Apollo <[email protected]> | 2023-04-13 06:48:09 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-04-13 06:48:09 +0300 |
commit | a0900d46630f5d9c891d1f68491c5a784063c6ec (patch) | |
tree | 3820e0f56980cfb606b0e7a60d9ae7ceba152678 /.emacs.d/init.el | |
parent | 2b63834c98ccd8dc4453b2ca4525bd13bd19cc8f (diff) |
emacs: redo chatgpt with emacs-openai using api
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 6a8a315..c3704fa 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -554,14 +554,7 @@ Contains the list of packages that need to be installed.") :keymaps 'org-mode-map "3" 'org-insert-image-size-300) -;; (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")) (add-hook 'org-mode-hook 'org-make-toc-mode) |