Updated code comments to English.

This commit is contained in:
Patrice Gaudicheau 2024-02-23 15:52:55 +01:00 committed by GitHub
parent 5adff7767f
commit 6bc627bbfb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,10 +1,10 @@
#!/bin/bash #!/bin/bash
# update_llm.sh # update_llm.sh
# Récupère la liste des LLM installées dans le container Docker # Retrieves the list of LLMs installed in the Docker container
llm_list=$(docker exec ollama ollama list | tail -n +2 | awk '{print $1}') llm_list=$(docker exec ollama ollama list | tail -n +2 | awk '{print $1}')
# Boucle sur chaque LLM pour la mettre à jour # Loop over each LLM to update it
for llm in $llm_list; do for llm in $llm_list; do
docker exec ollama ollama pull $llm docker exec ollama ollama pull $llm
done done