fix: update Makefile and rename script for open-webui integration

This commit is contained in:
Patrice-Gaudicheau committed 2024-02-24 07:51:27 +01:00
1 parent 7d0d504390
commit a016171573
2 files changed
+3 -2

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# update_llm.sh
# Retrieves the list of LLMs installed in the Docker container
llm_list=$(docker exec ollama ollama list | tail -n +2 | awk '{print $1}')
# Loop over each LLM to update it
for llm in $llm_list; do
docker exec ollama ollama pull $llm
done