mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
openai[patch]: attempt to make test less flaky (#30463)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user