indentation fixed, deleted ellama, add mtplx
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user