[Bugfix] Typos in error message for missing model config file (#25339)

Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
This commit is contained in:
Simon Danielsson
2025-09-21 13:36:47 +02:00
committed by GitHub
parent 30d08911f7
commit 9aea7373ff

View File

@ -524,10 +524,10 @@ def get_config(
else:
raise ValueError(
"Could not detect config format for no config file found. "
"With config_format 'auto', ensure your model has either"
"config.json (HF format) or params.json (Mistral format)."
"Otherwise please specify your_custom_config_format"
"in engine args for customized config parser")
"With config_format 'auto', ensure your model has either "
"config.json (HF format) or params.json (Mistral format). "
"Otherwise please specify your_custom_config_format "
"in engine args for customized config parser.")
except Exception as e:
error_message = (