Automatically update the list of Ollama models

This commit is contained in:
Ohad Livne 2025-12-03 18:24:25 +02:00
parent 7900661c82
commit 1b7fb23a2e
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
2 changed files with 9 additions and 5 deletions

View file

@ -53,3 +53,5 @@ fi
pod_id=$("${PODMAN[@]}" run --detach --rm "${MOUNTS[@]}" "${NETWORK[@]}" ollama:latest)
"${PODMAN[@]}" exec --interactive --tty "${pod_id}" ollama "$@"
"${PODMAN[@]}" kill "${pod_id}" > /dev/null
emacsclient --eval "(generate-ollama-declaration)"