From 1ee3143ab1d2f26fe9afe53639c4e6e045f21db5 Mon Sep 17 00:00:00 2001 From: Dinesh Yeduguru Date: Fri, 3 Jan 2025 13:14:28 -0800 Subject: [PATCH] print the module not found exception in lib cli --- llama_stack/distribution/library_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/llama_stack/distribution/library_client.py b/llama_stack/distribution/library_client.py index 5a2711582..a899ae811 100644 --- a/llama_stack/distribution/library_client.py +++ b/llama_stack/distribution/library_client.py @@ -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",