Fix string parsing error (#13825)

This commit is contained in:
Chen1022
2025-02-26 00:20:29 +08:00
committed by GitHub
parent f4133ce4e5
commit 340e39e387

View File

@@ -272,7 +272,7 @@ def get_config(
" - For Hugging Face models: ensure the presence of a "
"'config.json'.\n"
" - For Mistral models: ensure the presence of a "
"'params.json'.\n")
"'params.json'.\n").format(model=model)
raise ValueError(error_message) from e