openai[patch]: attempt to make test less flaky (#30463)

This commit is contained in:
ccurme 2025-03-24 13:36:36 -04:00 committed by GitHub
parent 8486e0ae80
commit 50ec4a1a4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -149,7 +149,7 @@ def test_function_calling() -> None:
assert full.tool_calls[0]["name"] == "multiply"
assert set(full.tool_calls[0]["args"]) == {"x", "y"}
response = bound_llm.invoke("whats some good news from today")
response = bound_llm.invoke("What was a positive news story from today?")
_check_response(response)