From 399a9d0c559faede4d6e0b4720b0a5d86468e5f5 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Wed, 24 Apr 2024 16:18:19 -0400 Subject: [PATCH] fix --- .../integration_tests/chat_models/test_qianfan_endpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/community/tests/integration_tests/chat_models/test_qianfan_endpoint.py b/libs/community/tests/integration_tests/chat_models/test_qianfan_endpoint.py index f855b2fd046af..c57a77495e32e 100644 --- a/libs/community/tests/integration_tests/chat_models/test_qianfan_endpoint.py +++ b/libs/community/tests/integration_tests/chat_models/test_qianfan_endpoint.py @@ -100,7 +100,7 @@ def test_initialization() -> None: def test_default_call() -> None: """Test default model.invoke(`ERNIE-Bot`) call.""" chat = QianfanChatEndpoint() - response = chat.invoke(messages=[HumanMessage(content="Hello")]) + response = chat.invoke([HumanMessage(content="Hello")]) assert isinstance(response, BaseMessage) assert isinstance(response.content, str)