[Bugfix][Responses] Fix browser.find action type (#55305)

Signed-off-by: nicole-lihui <nicole.li@daocloud.io>
Co-authored-by: Chauncey <chaunceyjiang@gmail.com>
This commit is contained in:
Nicole LiHui 🥜
2026-09-11 12:07:04 +00:00
committed by GitHub
co-authored by Chauncey
parent b4da4d17ae
commit 7ef4d9bfed
4 changed files with 46 additions and 2 deletions
+1 -1
View File
@@ -303,7 +303,7 @@ def _parse_browser_tool_call(message: Message, recipient: str) -> ResponseOutput
action = ActionFind(
pattern=browser_call.get("pattern", ""),
url=f"cursor:{browser_call.get('url', '')}",
type="find",
type="find_in_page",
)
else:
raise ValueError(f"Unknown browser action: {recipient}")