From 5de1dc72b9be1d7c2d1c737eeddacb73d046726a Mon Sep 17 00:00:00 2001 From: Bob Lin Date: Tue, 19 Dec 2023 00:35:53 +0800 Subject: [PATCH] community[patch]: Update Tongyi default model_name (#14844) Screenshot 2023-12-18 at 9 54 01 PM The current model is no longer available. --- libs/community/langchain_community/llms/tongyi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/community/langchain_community/llms/tongyi.py b/libs/community/langchain_community/llms/tongyi.py index 586c6afa3f56a..8098612392e8c 100644 --- a/libs/community/langchain_community/llms/tongyi.py +++ b/libs/community/langchain_community/llms/tongyi.py @@ -108,7 +108,7 @@ def is_lc_serializable(cls) -> bool: return False client: Any #: :meta private: - model_name: str = "qwen-plus-v1" + model_name: str = "qwen-plus" """Model name to use.""" model_kwargs: Dict[str, Any] = Field(default_factory=dict)