[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
@@ -667,7 +667,7 @@ def emit_browser_tool_events(
)
elif function_name == "find":
action = response_function_web_search.ActionFind(
type="find",
type="find_in_page",
pattern=parsed_args["pattern"],
# TODO: translate to url
url=f"cursor:{parsed_args.get('cursor', '')}",