Skip to content

The agent engineering platform.

tests[patch]: fix query for test_tool_calling_with_no_arguments (#29793)

ccurme49cc6106f7df
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 0b0c6a5404..2e9214d8a2 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)