From 8106cdf4567255faf40aad4d5900061f5cc1ee68 Mon Sep 17 00:00:00 2001 From: Lingyi Zhang Date: Sat, 6 Jul 2024 11:01:29 -0400 Subject: [PATCH] typo --- vizro-ai/src/vizro_ai/chains/_llm_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vizro-ai/src/vizro_ai/chains/_llm_models.py b/vizro-ai/src/vizro_ai/chains/_llm_models.py index 636481e5c..ef1dfb600 100644 --- a/vizro-ai/src/vizro_ai/chains/_llm_models.py +++ b/vizro-ai/src/vizro_ai/chains/_llm_models.py @@ -56,7 +56,7 @@ def _get_llm_model(model: Optional[Union[ChatOpenAI, str]] = None) -> BaseChatMo if any(model in model_list for model_list in SUPPORTED_MODELS.values()): vendor = model_to_vendor[model] if DEFAULT_WRAPPER_MAP.get(vendor) is None: - raise ValueError(f"Addtitional library to support {vendor} models is not installed.") + raise ValueError(f"Additional library to support {vendor} models is not installed.") return DEFAULT_WRAPPER_MAP.get(vendor)(model_name=model, temperature=DEFAULT_TEMPERATURE) raise ValueError(