diff options
author | Thanos Apollo <[email protected]> | 2023-04-26 15:06:01 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-04-26 15:06:01 +0300 |
commit | 7cb1ca8280b8afdfb44d246b6fd1a42686964ee6 (patch) | |
tree | 0868a66053c8960ad04c258157b0f804bce9f7bd | |
parent | 7e878cb8b7b7cfd736ec3aa47ae9e3fb4293efae (diff) |
emacs: update chatgpt keys
-rw-r--r-- | .emacs.d/init.el | 4 | ||||
-rwxr-xr-x | org/emacs.org | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 5ccf920..c092880 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1004,9 +1004,7 @@ Contains the list of packages that need to be installed.") :keymaps 'org-mode-map "3" 'org-insert-image-size-300) -(if is-hermes - (setq openai-key (password-store-get "chatgpt/api2")) - (setq openai-key (password-store-get "chatgpt/api"))) +(setq openai-key (password-store-get "chatgpt/api")) (use-package circe :ensure t diff --git a/org/emacs.org b/org/emacs.org index 7a0c4d7..d6020dc 100755 --- a/org/emacs.org +++ b/org/emacs.org @@ -1114,9 +1114,7 @@ Hook with ~dired-mode~ #+end_src ** ChatGPT #+begin_src emacs-lisp - (if is-hermes - (setq openai-key (password-store-get "chatgpt/api2")) - (setq openai-key (password-store-get "chatgpt/api"))) + (setq openai-key (password-store-get "chatgpt/api")) #+end_src ** Circe #+begin_src emacs-lisp |