mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-13 05:17:26 +00:00
chore: update model list
Signed-off-by: reidliu <reid201711@gmail.com>
This commit is contained in:
parent
abfc4b3bce
commit
52efe45e9f
1 changed files with 4 additions and 0 deletions
|
@ -43,11 +43,13 @@ def _run_model_list_downloaded_cmd() -> None:
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
print("\nDownloaded Models:\n")
|
||||||
print_table(
|
print_table(
|
||||||
rows,
|
rows,
|
||||||
headers,
|
headers,
|
||||||
separate_rows=True,
|
separate_rows=True,
|
||||||
)
|
)
|
||||||
|
print(f"\nTotal models: {len(rows)}\n")
|
||||||
|
|
||||||
|
|
||||||
class ModelList(Subcommand):
|
class ModelList(Subcommand):
|
||||||
|
@ -112,8 +114,10 @@ class ModelList(Subcommand):
|
||||||
if len(rows) == 0:
|
if len(rows) == 0:
|
||||||
print(f"Did not find any model matching `{args.search}`.")
|
print(f"Did not find any model matching `{args.search}`.")
|
||||||
else:
|
else:
|
||||||
|
print("\nAvailable Models:\n")
|
||||||
print_table(
|
print_table(
|
||||||
rows,
|
rows,
|
||||||
headers,
|
headers,
|
||||||
separate_rows=True,
|
separate_rows=True,
|
||||||
)
|
)
|
||||||
|
print(f"\nTotal models: {len(rows)}\n")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue