mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-25 12:33:39 +00:00
openai[patch]: attempt to make test less flaky (#30463)
This commit is contained in:
parent
8486e0ae80
commit
50ec4a1a4f
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user