mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-05 18:22:41 +00:00
print the module not found exception in lib cli
This commit is contained in:
parent
0bc876c130
commit
1ee3143ab1
1 changed files with 1 additions and 0 deletions
|
@ -267,6 +267,7 @@ class AsyncLlamaStackAsLibraryClient(AsyncLlamaStackClient):
|
||||||
self.config, self.custom_provider_registry
|
self.config, self.custom_provider_registry
|
||||||
)
|
)
|
||||||
except ModuleNotFoundError as _e:
|
except ModuleNotFoundError as _e:
|
||||||
|
cprint(_e.msg, "red")
|
||||||
cprint(
|
cprint(
|
||||||
"Using llama-stack as a library requires installing dependencies depending on the template (providers) you choose.\n",
|
"Using llama-stack as a library requires installing dependencies depending on the template (providers) you choose.\n",
|
||||||
"yellow",
|
"yellow",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue