diff --git a/litellm/health_check.py b/litellm/health_check.py index 082de87dc..e814a8c60 100644 --- a/litellm/health_check.py +++ b/litellm/health_check.py @@ -50,7 +50,7 @@ async def _perform_health_check(model_list: list): try: await litellm.aembedding(**model_params) except Exception as e: - print_verbose("\n\n Got Exception, ", e) + print_verbose(f"\n\n Got Exception, {e}") print_verbose(f"Health check failed for model {model_params['model']}. Error: {e}") return False return True @@ -60,7 +60,7 @@ async def _perform_health_check(model_list: list): try: await litellm.acompletion(**model_params) except Exception as e: - print_verbose("\n\n Got Exception, ", e) + print_verbose(f"\n\n Got Exception, {e}") error_str = (str(e)) if "This is not a chat model" in error_str or "The chatCompletion operation does not work with the specified model" in error_str: return await _check_embedding_model(model_params)