From f725c3a68fada00ce29351d6ea15303cca157e99 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 4 Sep 2024 17:43:15 -0700 Subject: [PATCH] fix /health error --- litellm/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/main.py b/litellm/main.py index b98aa528d22..e35014abb21 100644 --- a/litellm/main.py +++ b/litellm/main.py @@ -5134,7 +5134,7 @@ async def ahealth_check( if passed_in_mode is None: return { - "error": f"Missing `mode`. Set the `mode` for the model - https://docs.litellm.ai/docs/proxy/health#embedding-models \n error:{str(e)}, \nstacktrace: {stack_trace}" + "error": f"error:{str(e)}. Missing `mode`. Set the `mode` for the model - https://docs.litellm.ai/docs/proxy/health#embedding-models \nstacktrace: {stack_trace}" } error_to_return = (