set ollama as default, with qwen3:coder
This commit is contained in:
@@ -122,18 +122,7 @@
|
|||||||
;; declare the default llm configuration
|
;; declare the default llm configuration
|
||||||
;; for me this is co-pilot with claude-sonnet-4
|
;; for me this is co-pilot with claude-sonnet-4
|
||||||
(setq gptel-default-mode 'org-mode ;; I want the llm to reply to me with org-mode format.
|
(setq gptel-default-mode 'org-mode ;; I want the llm to reply to me with org-mode format.
|
||||||
gptel-backend (gptel-make-openai "llama.cpp"
|
gptel-backend
|
||||||
:host "localhost:8000"
|
|
||||||
:protocol "http"
|
|
||||||
:stream t
|
|
||||||
:models '(Qwen3-30B-A3B-Thinking-2507-Q6_K.gguf))
|
|
||||||
gptel-model 'Qwen3-30B-A3B-Thinking-2507-Q6_K.gguf)
|
|
||||||
;; Do not use chatgpt as default. took long to find.
|
|
||||||
(setq-default gptel-model 'hf.co/unsloth/Qwen3-30B-A3B-Thinking-2507-GGUF:UD-Q4_K_XL)
|
|
||||||
(setq gptel-include-reasoning "*gptel-reasoning*")
|
|
||||||
(require 'gptel-integrations) ;; <- for mcp
|
|
||||||
;; declare another llm configuration, I also use Ollama to easily use multiple smaller models that don't require
|
|
||||||
;; max speed or the latest API.
|
|
||||||
(gptel-make-ollama "Ollama"
|
(gptel-make-ollama "Ollama"
|
||||||
:host "localhost:11434"
|
:host "localhost:11434"
|
||||||
:stream t
|
:stream t
|
||||||
@@ -144,7 +133,22 @@
|
|||||||
:description
|
:description
|
||||||
"qwen3 coder large coding model "
|
"qwen3 coder large coding model "
|
||||||
:capabilities (tools media)
|
:capabilities (tools media)
|
||||||
:mime-types ("image/jpeg" "image/png" "image/svg")))))
|
:mime-types ("image/jpeg" "image/png" "image/svg"))))
|
||||||
|
gptel-model 'qwen3-coder:30b)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
(setq gptel-include-reasoning "*gptel-reasoning*")
|
||||||
|
(require 'gptel-integrations) ;; <- for mcp
|
||||||
|
;; declare another llm configuration, I also use Ollama to easily use multiple smaller models that don't require
|
||||||
|
;; max speed or the latest API.
|
||||||
|
;; Do not use chatgpt as default. took long to find.
|
||||||
|
(gptel-make-openai "llama.cpp"
|
||||||
|
:host "localhost:8000"
|
||||||
|
:protocol "http"
|
||||||
|
:stream t
|
||||||
|
:models '(Qwen3-30B-A3B-Thinking-2507-Q6_K.gguf))
|
||||||
|
(set-default gptel-model 'qwen3-coder:30b))
|
||||||
|
|
||||||
|
|
||||||
;; elixir
|
;; elixir
|
||||||
|
|||||||
@@ -124,7 +124,7 @@
|
|||||||
data ; config/data formats
|
data ; config/data formats
|
||||||
;;(dart +flutter) ; paint ui and not much else
|
;;(dart +flutter) ; paint ui and not much else
|
||||||
;;dhall
|
;;dhall
|
||||||
elixir ; erlang done right
|
(elixir +lsp ) ; erlang done right
|
||||||
;;elm ; care for a cup of TEA?
|
;;elm ; care for a cup of TEA?
|
||||||
emacs-lisp ; drown in parentheses
|
emacs-lisp ; drown in parentheses
|
||||||
erlang ; an elegant language for a more civilized age
|
erlang ; an elegant language for a more civilized age
|
||||||
|
|||||||
Reference in New Issue
Block a user