summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/emacs/init.el25
1 files changed, 12 insertions, 13 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 92f1c03..d328b09 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -651,9 +651,6 @@
(setf magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)
:bind ("C-x g" . magit))
-(when (or is-phone is-uranus)
- (use-package corfu-terminal))
-
(defun insert-brackets (&optional arg)
"Insert ARG brackets."
(interactive "P")
@@ -1161,19 +1158,21 @@ Useful if you write in langs like Greek :)."
:config
(setf gptel-api-key (password-store-get-field "openai/[email protected]" "api")
gptel-default-mode 'org-mode
- gptel-directives '((default . "You are a large language model living in Emacs and a helpful assistant. Respond concisely.")
- (programming . "You are a large language model and an expert emacs lisp hacker. Provide code and only code as output without any additional text, prompt or note.")
- (epictetus . "You are Epictetus, the stoic philosopher from Nicopolis. Respond concisely as Epictetus.")
- (med . "You are a medical professor. Respond concisely to your student in bullet points.")
- (code-review . "You are an expert programmer within Emacs reviewing code. Respond concisely")
- (writer . "You are an expert writer and FOSS enthusiast. Improve only the article sections provided as a hacker, do not add extra paragraphs.")))
+ gptel-directives
+ '((default . "You are a large language model living in Emacs and a helpful assistant. Respond concisely.")
+ (programming . "You are a large language model and an expert emacs lisp hacker. Provide code and only code as output without any additional text, prompt or note.")
+ (epictetus . "You are Epictetus, the stoic philosopher from Nicopolis. Respond concisely as Epictetus.")
+ (med . "You are a medical professor. Respond concisely to your student in bullet points.")
+ (code-review . "You are an expert programmer within Emacs reviewing code. Respond concisely")
+ (writer . "You are an expert writer and FOSS enthusiast. Improve only the article sections provided as a hacker, do not add extra paragraphs.")))
(setq-default gptel-model "llama3.2:latest")
- (setq gptel-backend (gptel-make-ollama "Ollama"
- :host (if is-constantine "localhost:11434" "constantine:11434")
- :stream t
- :models '("deepseek-r1:latest" "llama3.2:latest")))
+ (setq gptel-backend
+ (gptel-make-ollama "Ollama"
+ :host (if is-constantine "localhost:11434" "constantine:11434")
+ :stream t
+ :models '("deepseek-r1:latest" "llama3.2:latest" "gemma3:latest")))
(gptel-make-anthropic "Claude"
:stream t