indentation fixed, deleted ellama, add mtplx

This commit is contained in:
Willem van den Ende
2026-08-27 12:30:01 +01:00
parent 4a27095186
commit a55f4849ae
2 changed files with 25 additions and 28 deletions
+6 -28
View File
@@ -88,33 +88,6 @@
;;
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
;; they are implemented.
;; embedd llms in emacs. with org-mode support
(use-package ellama
:init
;; setup key bindings
(setopt ellama-keymap-prefix "C-c e")
;; language you want ellama to translate to
(setopt ellama-language "Dutch")
;; could be llm-openai for example
(require 'llm-ollama)
(setopt ellama-provider
(make-llm-ollama
;; this model should be pulled to use it
;; value should be the same as you print in terminal during pull
:chat-model "llama3.1:8b-instruct-q8_0"
:embedding-model "nomic-embed-text"
:default-chat-non-standard-params '(("num_ctx" . 8192))))
;; Naming new sessions with llm
(setopt ellama-naming-provider
(make-llm-ollama
:chat-model "llama3.1:8b-instruct-q8_0"
:embedding-model "nomic-embed-text"
:default-chat-non-standard-params '(("stop" . ("\n")))))
(setopt ellama-naming-scheme 'ellama-generate-name-by-llm)
;; Translation llm provider
(setopt ellama-translation-provider (make-llm-ollama
:chat-model "llama3.1"
:embedding-model "nomic-embed-text")))
;; https://yannesposito.com/posts/0029-ai-assistants-in-doom-emacs-31-on-macos-with-clojure-mcp-server/index.html
;; LLM
(use-package! gptel
@@ -155,8 +128,13 @@
:protocol "http"
:stream t
:models '(Qwen3-Coder-Next-UD-Q4_K_XL))
(set-default gptel-model 'Qwen3-Coder-Next-UD-Q4_K_XL))
(gptel-make-openai "MTPLX on mac"
:host "mb:8001"
:protocol "http"
:stream t
:models '(mtplx-qwen38-27b-optimized-speed))
(set-default gptel-model 'mtplx-qwen38-27b-optimized-speed))
;; elixir
;; inspiration https://medium.com/@victor.nascimento/elixir-emacs-development-2023-edition-1a6ccc40629
+19
View File
@@ -0,0 +1,19 @@
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(safe-local-variable-values
'((qwan-markdown-attachment-dir . "/Users/willem/dev/elixir/firehose/app/priv/static/images/blog/2026")
(qwan-markdown-attachment-dir . "app/priv/static/images/blog/2026")
(eval setq-local org-roam-db-location
(expand-file-name "org-roam.db" org-roam-directory))
(eval setq-local org-roam-directory
(expand-file-name
(locate-dominating-file default-directory ".dir-locals.el"))))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)