configure mtplx instead of mlx-lm
use api key from config-local
This commit is contained in:
+7
-5
@@ -34,14 +34,16 @@
|
||||
gptel-model 'Qwen3.6-35B-A3B-MXFP4_MOE.gguf)
|
||||
|
||||
;; 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"
|
||||
:host "localhost:8000"
|
||||
(setq gptel-backend (gptel-make-openai "mptplx"
|
||||
:host "localhost:8001"
|
||||
:protocol "http"
|
||||
:stream t
|
||||
:models '(mlx-community/Qwen3.6-27B-4bit))
|
||||
gptel-model 'mlx-community/Qwen3.6-27B-4bit)
|
||||
:key 'my/gptel-mtplx-api-key
|
||||
: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"
|
||||
|
||||
Reference in New Issue
Block a user