fix(browser): soften aggressive retry hint and add anti-hallucination prompts (#910)

This commit is contained in:
paisley
2026-04-24 14:15:47 +08:00
committed by GitHub
parent f893f2b21b
commit 01fd010a0e
5 changed files with 94 additions and 0 deletions

View File

@@ -11,3 +11,5 @@
- Flow: `action="start"``action="snapshot"` (see page + get element refs like `e12`) → `action="act"` (click/type using refs).
- Open new tabs: `action="open"` with `targetUrl`.
- To just open a URL for the user to view, use `shell:openExternal` instead.
- If a browser action fails, transient errors (timeout, network) can often be resolved by retrying once or navigating to a different URL.
- When asked to search, look up, or interact with a web page, use the browser tool. Do not substitute with guesses or training data when real-time web access is requested.