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

This commit is contained in:
ccurme 2025-02-13 15:15:52 -08:00 committed by GitHub
parent 1a225fad03
commit 49cc6106f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)