add llama model subcommand

This commit is contained in:
Ashwin Bharambe 2024-07-22 11:07:11 -07:00
parent 4417407652
commit f0e0903270
5 changed files with 77 additions and 0 deletions

View file

@ -2,6 +2,7 @@ import argparse
from llama_toolchain.cli.download import Download
from llama_toolchain.cli.inference.inference import InferenceParser
from llama_toolchain.cli.model.model import ModelParser
class LlamaCLIParser:
@ -22,6 +23,7 @@ class LlamaCLIParser:
# Add sub-commands
Download.create(subparsers)
InferenceParser.create(subparsers)
ModelParser.create(subparsers)
# Import sub-commands from agentic_system if they exist
try: