Skip to content

Commit

Permalink
Properly specify config value in the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Cohee1207 committed Sep 8, 2024
1 parent d6ad170 commit 6347604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion endpoints/OAI/utils/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6347604

Please sign in to comment.