openai[patch]: make computer test more reliable (#30672)

This commit is contained in:
ccurme 2025-04-04 09:53:59 -04:00 committed by GitHub
parent c235328b39
commit 59d508a2ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -328,7 +328,7 @@ def test_computer_calls() -> None:
"environment": "browser",
}
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"]