diff --git a/src/openllm/repo.py b/src/openllm/repo.py index e3b7e16b9..20eb562ff 100644 --- a/src/openllm/repo.py +++ b/src/openllm/repo.py @@ -163,7 +163,7 @@ def ensure_repo_updated(): 'The repo cache is never updated, do you want to update it to fetch the latest model list?' ).ask() if choice: - update() + cmd_update() return else: output( @@ -178,7 +178,7 @@ def ensure_repo_updated(): 'The repo cache is outdated, do you want to update it to fetch the latest model list?' ).ask() if choice: - update() + cmd_update() else: output( 'The repo cache is outdated, please run `openllm repo update` to fetch the latest model list',