Skip to content

Commit 67db86b

Browse files
committed
refactor(ellama): rename a function
1 parent 999a2f4 commit 67db86b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/me-ai.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
(if (make-process :name +ollama-process-name :buffer +ollama-server-buffer-name :command '("ollama" "serve"))
3131
(message "Successfully started Ollama server.")
3232
(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)))
3434
(user-error "Cannot find the \"ollama\" executable")))
3535

3636
(defun +ollama-kill-server ()
@@ -56,7 +56,7 @@
5656
(use-package ellama
5757
:straight t
5858
:config
59-
(defun +ellama-set-providers ()
59+
(defun +ellama-set-available-providers ()
6060
(setopt ellama-providers
6161
(cl-loop for model in (+ollama-list-installed-models)
6262
collect (cons model (make-llm-ollama :chat-model model :embedding-model model)))

0 commit comments

Comments
 (0)