From 49cc6106f7df94c5604b395a9a604862f18ba990 Mon Sep 17 00:00:00 2001 From: ccurme Date: Thu, 13 Feb 2025 15:15:52 -0800 Subject: [PATCH] tests[patch]: fix query for test_tool_calling_with_no_arguments (#29793) --- .../langchain_tests/integration_tests/chat_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/standard-tests/langchain_tests/integration_tests/chat_models.py b/libs/standard-tests/langchain_tests/integration_tests/chat_models.py index 0b0c6a54046..2e9214d8a21 100644 --- a/libs/standard-tests/langchain_tests/integration_tests/chat_models.py +++ b/libs/standard-tests/langchain_tests/integration_tests/chat_models.py @@ -1122,7 +1122,7 @@ class ChatModelIntegrationTests(ChatModelTests): model_with_tools = model.bind_tools( [magic_function_no_args], tool_choice=tool_choice ) - query = "What is the value of magic_function()? Use the tool." + query = "What is the value of magic_function_no_args()? Use the tool." result = model_with_tools.invoke(query) _validate_tool_call_message_no_args(result)