Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
6bc627bb
Unverified
Commit
6bc627bb
authored
Feb 23, 2024
by
Patrice Gaudicheau
Committed by
GitHub
Feb 23, 2024
Browse files
Updated code comments to English.
parent
5adff776
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
update_llm.sh
update_llm.sh
+2
-2
No files found.
update_llm.sh
View file @
6bc627bb
#!/bin/bash
#!/bin/bash
# update_llm.sh
# update_llm.sh
# R
écupère la liste des
LLM install
ées dans le
container
Docker
# R
etrieves the list of
LLM
s
install
ed 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment