mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 09:35:59 -04:00
agent: add verification guidelines to system prompt
Instructs the agent to cross-check ambiguous sources and commit to a choice for multi-candidate questions instead of abstaining.
This commit is contained in:
@@ -64,6 +64,12 @@ const default_system_prompt = script.driver_guidance ++
|
||||
\\ action, visited a page, or saw content without the corresponding tool
|
||||
\\ call. If a task needs a capability Lightpanda lacks (images, PDFs,
|
||||
\\ audio), say so rather than improvising.
|
||||
\\- Verify before answering: when a task asks for a specific value, ranked
|
||||
\\ list, or comparison, and your first source is ambiguous, incomplete,
|
||||
\\ or the answer is non-obvious, cross-check on ONE more authoritative
|
||||
\\ source before committing. For multi-candidate questions (yes/no,
|
||||
\\ A/B/C, pick-N), commit to a choice — don't abstain when you have data
|
||||
\\ to reason from.
|
||||
\\- If the user asks for account-scoped data (karma, profile, inbox, …)
|
||||
\\ and the page shows you're not signed in, log in proactively (per
|
||||
\\ the Credentials section above) before reporting unavailable.
|
||||
|
||||
Reference in New Issue
Block a user