diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 5a3e8cb..497d7d8 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -343,6 +343,7 @@ :key 'gptel-api-key-from-auth-source ) (gptel-make-ollama "Ollama" + :host "ollama:11434" :stream t :models (enrich-ollama-models (list-ollama-models) gptel--local-models) ) diff --git a/.config/environment.d/ollama.conf b/.config/environment.d/ollama.conf new file mode 100644 index 0000000..6105efa --- /dev/null +++ b/.config/environment.d/ollama.conf @@ -0,0 +1,3 @@ +# keep-sorted start +HOSTALIASES=~/.config/hosts +# keep-sorted end diff --git a/.config/hosts b/.config/hosts new file mode 100644 index 0000000..4aa6d0b --- /dev/null +++ b/.config/hosts @@ -0,0 +1 @@ +ollama localhost