Update ai stuff
This commit is contained in:
Binary file not shown.
@@ -3864,11 +3864,11 @@ one of the normal rainbow-delimiters-depth-N-face faces."
|
|||||||
(minuet-context-window 512)
|
(minuet-context-window 512)
|
||||||
(minuet-request-timeout 5)
|
(minuet-request-timeout 5)
|
||||||
:config
|
:config
|
||||||
(defvar my/localai-api-key (auth-source-pass-get 'secret "emacs/localai-api"))
|
|
||||||
(setq minuet-openai-fim-compatible-options
|
(setq minuet-openai-fim-compatible-options
|
||||||
'(:model "qwen3-32b-coding"
|
`(:model "qwen3-32b-coding"
|
||||||
:end-point "https://ai.zander.im/v1/completions"
|
:end-point ,(format "https://%s/v1/completions"
|
||||||
:api-key (lambda () my/localai-api-key)
|
(my/get-private 'localai-host))
|
||||||
|
:api-key "TERM"
|
||||||
:name "LocalAI"
|
:name "LocalAI"
|
||||||
:template (:prompt minuet--default-fim-prompt-function
|
:template (:prompt minuet--default-fim-prompt-function
|
||||||
:suffix minuet--default-fim-suffix-function)
|
:suffix minuet--default-fim-suffix-function)
|
||||||
@@ -3960,10 +3960,10 @@ vising, and their major mode"
|
|||||||
(defvar my/-localai-backend
|
(defvar my/-localai-backend
|
||||||
(gptel-make-openai "LocalAI"
|
(gptel-make-openai "LocalAI"
|
||||||
:protocol "https"
|
:protocol "https"
|
||||||
:host "ai.zander.im"
|
:host (my/get-private 'localai-host)
|
||||||
:endpoint "/v1/chat/completions"
|
:endpoint "/v1/chat/completions"
|
||||||
:stream t
|
:stream t
|
||||||
:key (lambda () my/localai-api-key)
|
:key "TERM"
|
||||||
:models my/-localai-models))
|
:models my/-localai-models))
|
||||||
(defvar my/-ollama-models
|
(defvar my/-ollama-models
|
||||||
'((gemma4:31b :description "Google Gemma4 (31b)"
|
'((gemma4:31b :description "Google Gemma4 (31b)"
|
||||||
@@ -3974,7 +3974,8 @@ vising, and their major mode"
|
|||||||
:cutoff-date "2026-3")))
|
:cutoff-date "2026-3")))
|
||||||
(defvar my/-ollama-backend
|
(defvar my/-ollama-backend
|
||||||
(gptel-make-ollama "Server Ollama"
|
(gptel-make-ollama "Server Ollama"
|
||||||
:models my/-ollama-models))
|
:models my/-ollama-models
|
||||||
|
:host (my/get-private 'ollama-host)))
|
||||||
(gptel-make-preset 'localai-chat
|
(gptel-make-preset 'localai-chat
|
||||||
:description "LocalAI with Gemma4 (31b) (web search enabled)"
|
:description "LocalAI with Gemma4 (31b) (web search enabled)"
|
||||||
:backend my/-localai-backend
|
:backend my/-localai-backend
|
||||||
|
|||||||
Reference in New Issue
Block a user