From b9bea36dd43aba88d6ac2405d6709dab54dffdc2 Mon Sep 17 00:00:00 2001 From: stydxm <1773834430@qq.com> Date: Wed, 24 Jul 2024 21:19:07 +0800 Subject: [PATCH] community: fix typo in warning message (#24597) - **Description:** This PR fixes a small typo in a warning message - **Issue:** ![](https://github.com/user-attachments/assets/5aa57724-26c5-49f6-8bc1-5a54bb67ed49) There were double `Use` and double `instead` --- .../community/langchain_community/chat_message_histories/sql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/community/langchain_community/chat_message_histories/sql.py b/libs/community/langchain_community/chat_message_histories/sql.py index 32e56c8d3c3..de948afaf9b 100644 --- a/libs/community/langchain_community/chat_message_histories/sql.py +++ b/libs/community/langchain_community/chat_message_histories/sql.py @@ -187,7 +187,7 @@ class SQLChatMessageHistory(BaseChatMessageHistory): since="0.2.2", removal="0.3.0", name="connection_string", - alternative="Use connection instead", + alternative="connection", ) _warned_once_already = True connection = connection_string