Skip to content

Commit

Permalink
Change spurious 'error' log level to 'info'
Browse files Browse the repository at this point in the history
Since it is expected that not all embeddings model providers
will be loadable, it is wrong to log
the case that one cannot be loaded
with level 'error' or even 'warning'.

Resolves jupyterlab#839.
  • Loading branch information
ctcjab authored Nov 25, 2024
1 parent e607e34 commit 53251f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jupyter-ai-magics/jupyter_ai_magics/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def get_em_providers(
try:
provider = model_provider_ep.load()
except Exception as e:
log.error(
log.info(
f"Unable to load embeddings model provider class from entry point `{model_provider_ep.name}`: %s.",
e,
)
Expand Down

0 comments on commit 53251f6

Please sign in to comment.