From 52efe45e9f2b699aced149c8289d7a5dd21254ec Mon Sep 17 00:00:00 2001 From: reidliu Date: Wed, 26 Feb 2025 18:48:54 +0800 Subject: [PATCH] chore: update model list Signed-off-by: reidliu --- llama_stack/cli/model/list.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/llama_stack/cli/model/list.py b/llama_stack/cli/model/list.py index b9499f06d..ba8064e28 100644 --- a/llama_stack/cli/model/list.py +++ b/llama_stack/cli/model/list.py @@ -43,11 +43,13 @@ def _run_model_list_downloaded_cmd() -> None: ] ) + print("\nDownloaded Models:\n") print_table( rows, headers, separate_rows=True, ) + print(f"\nTotal models: {len(rows)}\n") class ModelList(Subcommand): @@ -112,8 +114,10 @@ class ModelList(Subcommand): if len(rows) == 0: print(f"Did not find any model matching `{args.search}`.") else: + print("\nAvailable Models:\n") print_table( rows, headers, separate_rows=True, ) + print(f"\nTotal models: {len(rows)}\n")