diff --git a/flakes/emacs/config/init.el b/flakes/emacs/config/init.el index 3c1045e..fbf1cdb 100644 --- a/flakes/emacs/config/init.el +++ b/flakes/emacs/config/init.el @@ -319,22 +319,6 @@ (member (buffer-name) '("*Colors*" "*Faces*" "*Quick Help*"))) (variable-pitch-mode)))))) -(use-package gptel - :bind ("C-c RET" . gptel-send) - :config - (setq gptel-backend - (gptel-make-openai "OpenRouter" - :host "openrouter.ai" - :endpoint "/api/v1/chat/completions" - :stream t - :key (lambda () - (nth 0 (process-lines "pass" "show" "emacs-openrouter-api-key"))) - :models '(openai/gpt-5 - openai/gpt-5-mini - openai/gpt-5-nano - deepseek/deepseek-chat-v3-0324:free))) - (setq gptel-default-mode 'org-mode)) - (use-package graphql-mode :defer t) diff --git a/flakes/emacs/home.nix b/flakes/emacs/home.nix index a0a8564..01fd247 100644 --- a/flakes/emacs/home.nix +++ b/flakes/emacs/home.nix @@ -27,7 +27,6 @@ flycheck flycheck-clj-kondo flycheck-swiftlint - gptel graphql-mode helpful htmlize