configure mtplx instead of mlx-lm

use api key from config-local
This commit is contained in:
Willem van den Ende
2026-11-14 13:56:16 +00:00
parent ffa95852c0
commit bd8622756e
+7 -5
View File
@@ -34,14 +34,16 @@
gptel-model 'Qwen3.6-35B-A3B-MXFP4_MOE.gguf) gptel-model 'Qwen3.6-35B-A3B-MXFP4_MOE.gguf)
;; Prevent ChatGPT from being used as default ;; Prevent ChatGPT from being used as default
(setq-default gptel-model 'Qwen3-Coder-30B-A3B-Instruct-Q6_K) (setq-default gptel-model 'mtplx-qwen3.6-35B-a3B-optimized-speed)
(setq gptel-backend (gptel-make-openai "mlx-lm" (setq gptel-backend (gptel-make-openai "mptplx"
:host "localhost:8000" :host "localhost:8001"
:protocol "http" :protocol "http"
:stream t :stream t
:models '(mlx-community/Qwen3.6-27B-4bit)) :key 'my/gptel-mtplx-api-key
gptel-model 'mlx-community/Qwen3.6-27B-4bit) :models '(mtplx-qwen3.6-35B-a3B-optimized-speed
))
gptel-model 'mtplx-qwen3.6-35B-a3B-optimized-speed)
(setq gptel-backend (gptel-make-openai "mlx-studio" (setq gptel-backend (gptel-make-openai "mlx-studio"