Skip to content

Commit

Permalink
Merge pull request #195 from Cohee1207/fix-config-name
Browse files Browse the repository at this point in the history
Properly specify config "inline_model_loading" value in the error message
  • Loading branch information
bdashore3 authored Sep 9, 2024
2 parents cf97113 + 6347604 commit c11461e
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 c11461e

Please sign in to comment.