mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
fix /health error
This commit is contained in:
parent
34cb748c69
commit
f725c3a68f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue