diff --git a/.config/emacs/lisp/init-chatgpt.el b/.config/emacs/lisp/init-chatgpt.el index 9ca964d..fb75b77 100644 --- a/.config/emacs/lisp/init-chatgpt.el +++ b/.config/emacs/lisp/init-chatgpt.el @@ -1,16 +1,12 @@ ;; init-chatgpt.el -*- lexical-binding: t -*- -(use-package chatgpt-shell +(use-package gptel :straight t :ensure t :defer t :config - (setq chatgpt-shell-openai-key custom-chatgpt-my-key)) -(use-package dall-e-shell - :straight t - :ensure t - :defer t - :config - (setq dall-e-shell-openai-key custom-chatgpt-my-key)) + (setq gptel-model "gpt-4o-mini") + (setq gptel-api-key custom-chatgpt-my-key)) + (provide 'init-chatgpt) ;;; init-chatgpt.el ends here