diff --git a/.config/containers/systemd/ollama.container b/.config/containers/systemd/ollama.container deleted file mode 100644 index 6ae7f6c..0000000 --- a/.config/containers/systemd/ollama.container +++ /dev/null @@ -1,20 +0,0 @@ -[Unit] -Description=A local LLM server - -[Container] -# keep-sorted start -ContainerName=ollama -Image=docker.io/ollama/ollama:latest -Network=ollama.network -PublishPort=11434:11434 -Volume=%h/.local/share/ollama:/root/.ollama:ro,z -# keep-sorted end - -[Install] -WantedBy=multi-user.target - -[Service] -# keep-sorted start -ExecStartPre=mkdir -p %h/.local/share/ollama -Restart=always -# keep-sorted end diff --git a/.config/containers/systemd/ollama.network b/.config/containers/systemd/ollama.network deleted file mode 100644 index 5f8c30b..0000000 --- a/.config/containers/systemd/ollama.network +++ /dev/null @@ -1,5 +0,0 @@ -[Unit] -Description=Isolated network for my local LLM server - -[Network] -Internal=true diff --git a/.config/emacs/init.el b/.config/emacs/init.el index e3a988b..0be5a4f 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -307,29 +307,17 @@ ) (use-package gptel - :hook - ; keep-sorted start - (gptel-mode . gptel-highlight-mode) - (gptel-mode . visual-line-mode) - (gptel-post-response . gptel-end-of-response) - (gptel-post-stream . gptel-auto-scroll) - ; keep-sorted end :custom ; keep-sorted start - (gptel-backend (gptel-get-backend "Ollama")) + (gptel-backend (gptel-get-backend "Claude")) (gptel-default-mode 'org-mode) - (gptel-highlight-methods '(face margin)) - (gptel-model 'llama3.2:latest) + (gptel-model 'claude-3-5-haiku-20241022) ; keep-sorted end :preface (gptel-make-anthropic "Claude" :stream t :key 'gptel-api-key-from-auth-source ) - (gptel-make-ollama "Ollama" - :stream t - :models '(llama3.2:latest) - ) ) (use-package power-mode) diff --git a/.config/emacs/transient/values.el b/.config/emacs/transient/values.el index e9662fa..c77d63e 100644 --- a/.config/emacs/transient/values.el +++ b/.config/emacs/transient/values.el @@ -2,7 +2,6 @@ ; keep-sorted start (magit-commit "--gpg-sign=") (magit-diff:magit-revision-mode "--no-ext-diff" "--stat" "--show-signature") - (magit-fetch "--force" "--prune" "--tags") (magit-log:magit-log-mode "-n256" "--graph" "--decorate" "--show-signature") (magit-merge "--gpg-sign=") (magit-tag "--sign") diff --git a/.config/mimeapps.list b/.config/mimeapps.list index ddbdff7..ff1ce92 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -10,8 +10,6 @@ application/xhtml+xml=userapp-Firefox-RJEWT1.desktop application/x-extension-xhtml=userapp-Firefox-RJEWT1.desktop application/x-extension-xht=userapp-Firefox-RJEWT1.desktop x-scheme-handler/magnet=userapp-transmission-gtk-BAUQU2.desktop -audio/ogg=mpv.desktop; -audio/x-opus+ogg=mpv.desktop; [Added Associations] x-scheme-handler/http=userapp-Firefox-RJEWT1.desktop; diff --git a/.local/bin/llm-import-model b/.local/bin/llm-import-model deleted file mode 100755 index ffd2c6c..0000000 --- a/.local/bin/llm-import-model +++ /dev/null @@ -1,9 +0,0 @@ -#! /usr/bin/bash - -set -euo pipefail -IFS=$'\n\t' - -mkdir --parents ~/.local/share/ollama/ -pod_id=$(podman run --detach --rm --volume ~/.local/share/ollama/:/root/.ollama ollama:latest) -podman exec --interactive --tty "${pod_id}" ollama pull "${1}" -podman kill "${pod_id}"