File tree Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -390,19 +390,17 @@ E.g. when visiting a soft/hard link.
390
390
** org-mode
391
391
*** org-ai
392
392
#+BEGIN_SRC emacs-lisp :tangle user-config.el
393
- (use-package org-ai
394
- :ensure :commands
395
- (org-ai-mode)
396
- :custom (org-ai-openai-api-token (auth-source-pick-first-password :host "api.openai.com")):init
397
- (add-hook 'org-mode-hook #'org-ai-mode)
398
- :config (setq org-ai-default-chat-model "gpt-3.5-turbo")(org-ai-install-yasnippets))
399
-
400
- (use-package whisper
401
- :load-path "~/.spacemacs.d/private/whisper.el/whisper.el"
402
- :bind ("M-s-r" . whisper-run))
403
- (require 'whisper (expand-file-name "~/.spacemacs.d/private/whisper.el/whisper.el"))
404
- (use-package greader :ensure)
405
- (require 'org-ai-talk)
393
+ (use-package org-ai
394
+ :ensure t
395
+ :commands (org-ai-mode
396
+ org-ai-global-mode)
397
+ :custom (org-ai-openai-api-token (auth-source-pick-first-password :host "api.openai.com"))
398
+ :init
399
+ (add-hook 'org-mode-hook #'org-ai-mode) ; enable org-ai in org-mode
400
+ (org-ai-global-mode) ; installs global keybindings on C-c M-a
401
+ :config
402
+ (setq org-ai-default-chat-model "gpt-4") ; if you are on the gpt-4 beta:
403
+ (org-ai-install-yasnippets)) ; if you are using yasnippet and want `ai` snippets (require 'org-ai-talk)
406
404
#+END_SRC
407
405
408
406
*** org-pomodora
You can’t perform that action at this time.
0 commit comments