File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 30
30
(if (make-process :name +ollama-process-name :buffer +ollama-server-buffer-name :command '(" ollama" " serve" ))
31
31
(message " Successfully started Ollama server. " )
32
32
(user-error " Cannot start the Ollama server" ))
33
- (with-eval-after-load 'ellama (+ellama-set-providers)))
33
+ (with-eval-after-load 'ellama (+ellama-set-available- providers)))
34
34
(user-error " Cannot find the \" ollama\" executable" )))
35
35
36
36
(defun +ollama-kill-server ()
56
56
(use-package ellama
57
57
:straight t
58
58
:config
59
- (defun +ellama-set-providers ()
59
+ (defun +ellama-set-available- providers ()
60
60
(setopt ellama-providers
61
61
(cl-loop for model in (+ollama-list-installed-models)
62
62
collect (cons model (make-llm-ollama :chat-model model :embedding-model model)))
You can’t perform that action at this time.
0 commit comments