mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-18 02:42:31 +00:00
fix: de-clutter llama stack run
logs (#2783)
# What does this PR do? currently each disabled provider is printed as a warning, switch to debug. This level of verbosity isn't necessary, especially if we intend to grow the list of providers over time that can be in a single run yaml ## Test Plan before: <img width="1144" height="667" alt="Screenshot 2025-07-16 at 12 37 18 PM" src="https://github.com/user-attachments/assets/d14dbf76-6e40-4996-8a27-111e6a987d71" /> after: <img width="925" height="141" alt="Screenshot 2025-07-16 at 12 37 42 PM" src="https://github.com/user-attachments/assets/81efdbe1-923c-4c5f-9731-f89729043920" /> Signed-off-by: Charlie Doern <cdoern@redhat.com>
This commit is contained in:
parent
919ee3199b
commit
6c516d391b
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ def validate_and_prepare_providers(
|
||||||
specs = {}
|
specs = {}
|
||||||
for provider in providers:
|
for provider in providers:
|
||||||
if not provider.provider_id or provider.provider_id == "__disabled__":
|
if not provider.provider_id or provider.provider_id == "__disabled__":
|
||||||
logger.warning(f"Provider `{provider.provider_type}` for API `{api}` is disabled")
|
logger.debug(f"Provider `{provider.provider_type}` for API `{api}` is disabled")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
validate_provider(provider, api, provider_registry)
|
validate_provider(provider, api, provider_registry)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue