From c04d95b962c02801ae16ffd75a1d7b5a9e19eab2 Mon Sep 17 00:00:00 2001 From: ccurme Date: Fri, 2 Aug 2024 13:40:11 -0400 Subject: [PATCH] standard-tests: set integration test parameters independent of unit test (#24979) This ends up getting set in integration tests. --- .../langchain_standard_tests/integration_tests/chat_models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/standard-tests/langchain_standard_tests/integration_tests/chat_models.py b/libs/standard-tests/langchain_standard_tests/integration_tests/chat_models.py index 9aac22360dba3..5c23376a91703 100644 --- a/libs/standard-tests/langchain_standard_tests/integration_tests/chat_models.py +++ b/libs/standard-tests/langchain_standard_tests/integration_tests/chat_models.py @@ -59,6 +59,10 @@ def _validate_tool_call_message_no_args(message: BaseMessage) -> None: class ChatModelIntegrationTests(ChatModelTests): + @property + def standard_chat_model_params(self) -> dict: + return {} + def test_invoke(self, model: BaseChatModel) -> None: result = model.invoke("Hello") assert result is not None