Open-source AI browser agent for Chrome and Firefox (monorepo) ðŸ§
JavaScript ai-agentai-agentsai-toolsbrowser-aibrowser-automationbrowser-extensionchrome-aichrome-devtoolschrome-extensionchrome-extensionsfirefox-addonfirefox-addonsfirefox-extensionfirefox-extensionsgemmagemma4minimaxoffline-aioffline-llmqwen
Placeholder guard: describe the refusal as the code decides it
Claudecb727779e9af
diff --git a/src/chrome/src/agent/agent.js b/src/chrome/src/agent/agent.jsindex 64ce752d5..210908877 100644--- a/src/chrome/src/agent/agent.js+++ b/src/chrome/src/agent/agent.js@@ -52420,10 +52420,10 @@ Rules: no prose intro, no conclusion, no "this screenshot shows...", no layout dif (value) this._rememberCredentialValues(tabId, [value]);}- // A submission whose changed field still holds the page's own placeholder- // text, which no message or card answer from the user gave, is the page's- // example typed in as a value ("[email protected]" in an email box). It is- // refused before any card, whether or not the user asked to confirm+ // A submission whose edited field still holds the page's own placeholder+ // text, a value the user did not supply for the current task, is the+ // page's example typed in as a value ("[email protected]" in an email box).+ // It is refused before any card, whether or not the user asked to confirm// submissions (a scheduled run included), and the model is told to ask// the user for the value. Grouped searches keep their approval._placeholderSubmitBlock(tabId, toolName, submitInfo) {diff --git a/src/firefox/src/agent/agent.js b/src/firefox/src/agent/agent.jsindex f020802e9..9f2984380 100644--- a/src/firefox/src/agent/agent.js+++ b/src/firefox/src/agent/agent.js@@ -45690,10 +45690,10 @@ Rules: no prose intro, no conclusion, no "this screenshot shows...", no layout dif (value) this._rememberCredentialValues(tabId, [value]);}- // A submission whose changed field still holds the page's own placeholder- // text, which no message or card answer from the user gave, is the page's- // example typed in as a value ("[email protected]" in an email box). It is- // refused before any card, whether or not the user asked to confirm+ // A submission whose edited field still holds the page's own placeholder+ // text, a value the user did not supply for the current task, is the+ // page's example typed in as a value ("[email protected]" in an email box).+ // It is refused before any card, whether or not the user asked to confirm// submissions (a scheduled run included), and the model is told to ask// the user for the value. Grouped searches keep their approval._placeholderSubmitBlock(tabId, toolName, submitInfo) {