From 63476041d1c9c7a6a673f3a375e6773cde52b427 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sun, 8 Sep 2024 22:02:49 +0300 Subject: [PATCH] Properly specify config value in the error message --- endpoints/OAI/utils/completion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/OAI/utils/completion.py b/endpoints/OAI/utils/completion.py index d2795455..2f51175d 100644 --- a/endpoints/OAI/utils/completion.py +++ b/endpoints/OAI/utils/completion.py @@ -129,7 +129,7 @@ async def load_inline_model(model_name: str, request: Request): if not unwrap(config.model.get("inline_model_loading"), False): logger.warning( f"Unable to switch model to {model_name} because " - '"inline_model_load" is not True in config.yml.' + '"inline_model_loading" is not True in config.yml.' ) return