print the module not found exception in lib cli

This commit is contained in:
Dinesh Yeduguru 2025-01-03 13:14:28 -08:00
parent 0bc876c130
commit 1ee3143ab1

View file

@ -267,6 +267,7 @@ class AsyncLlamaStackAsLibraryClient(AsyncLlamaStackClient):
self.config, self.custom_provider_registry
)
except ModuleNotFoundError as _e:
cprint(_e.msg, "red")
cprint(
"Using llama-stack as a library requires installing dependencies depending on the template (providers) you choose.\n",
"yellow",