Repository navigation
A Bot uses its computer when the person asks, also when an app couldn't be connected - #2900
Closed
davidmckayv wants to merge 1 commit into
Closed
davidmckayv wants to merge 1 commit into
davidmckayv wants to merge 1 commit into
Conversation
…'t be connected Asked to try with its computer after Gusto couldn't be connected, a Bot answered "I can't use the computer as a workaround for Gusto's app connection." The refusal came from our own instructions: every answer about an app ends "Do not browse to its website or ask them to sign in there", with no word for the person asking. Every Bot's working rules now say that when the person asks it to do something on its computer or in its browser, it does, including when an app could not be connected, and that an app switched off here is not a rule against its website. The safety rules stay: a sign-in is handed to the person in the browser, OpenBot's approvals still ask, and what the deployment blocks in the browser stays blocked. A Bot may offer the browser once when a connection fails, without pressing it. BROWSE_WHEN_ASKED is the sentence the server says after each "do not browse to its website" line, so the rule and its exception are read together.
Contributor
Author
|
Folded into #2802, which now carries this standing rule with the sign-in change. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed and why
Found in dogfooding: Gusto couldn't be connected, so the person asked the Bot to try with its computer instead. The Bot answered "I can't use the computer as a workaround for Gusto's app connection."
That refusal was ours, not the model's own caution. Every answer a Bot gets about an app ends "Do not browse to its website or ask them to sign in there", and the apps guidance says "Do not browse to its website instead" for any app the Bot doesn't hold. Those lines are right when a Bot picks a route for itself, but they said nothing about the person asking, and right after "Gusto is switched off on this deployment" they read as a ban on the website.
Every Bot's working rules (built-in Bots and connected AG-UI Bots alike, in
how_to_work) now say:BROWSE_WHEN_ASKEDis the sentence the server adds after each "do not browse to its website" line, so the rule and its exception are always read together.Red/green
shared/bot-prompt.test.ts, "asked by the person, a Bot uses its computer, also when an app could not be connected, within the safety rules", checks both kinds of Bot.Export named 'BROWSE_WHEN_ASKED' not found; the rule isn't in the working rules).bun test sharedpasses, 718 tests.Release note
Asked to use its computer or browser, including when an app couldn't be connected, a Bot now does it, within the usual safety rules.