Merge pull request #195 from Cohee1207/fix-config-name

Properly specify config "inline_model_loading" value in the error message
This commit is contained in:
Brian Dashore
2024-09-08 22:52:42 -04:00
committed by GitHub

View File

@@ -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