mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-17 16:39:52 +00:00
openai[patch]: make computer test more reliable (#30672)
This commit is contained in:
parent
c235328b39
commit
59d508a2ee
@ -328,7 +328,7 @@ def test_computer_calls() -> None:
|
|||||||
"environment": "browser",
|
"environment": "browser",
|
||||||
}
|
}
|
||||||
llm_with_tools = llm.bind_tools([tool], tool_choice="any")
|
llm_with_tools = llm.bind_tools([tool], tool_choice="any")
|
||||||
response = llm_with_tools.invoke("Please wait a moment.")
|
response = llm_with_tools.invoke("Please open the browser.")
|
||||||
assert response.additional_kwargs["tool_outputs"]
|
assert response.additional_kwargs["tool_outputs"]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user