You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] "Open links in: Default browser" is ignored and "Run scripts" re-prompts despite "Always allow" #17837
Operating system and version:
Ubuntu 26.04.1 LTS (Xfce4)
GPU model(s) and accelerator backend:
N/A (browser/agent settings, no model involved)
Versions:
What happened?
Two related problems with the browser settings:
1. "Open links in: Default browser" is ignored ?
Steps to reproduce:
Settings - Links and files - Open links in - select "Default browser".
Open a link from a chat.
Expected behavior: link opens in the system default browser (Brave here).
Actual behavior: it always opens in the built-in Unsloth browser. Both dropdown options ("Default browser" and "Unsloth browser") behave identically - built-in browser seems to be the master one regardless of the selected value.
2. "Run scripts: Ask every time" re-prompts even after "Always allow"
Steps to reproduce:
Start a task that runs scripts on a site (e.g. a search on a site).
Approve the script prompt, including by clicking "Always allow" several times.
Expected behavior: "Always allow" stops further prompts (at least for that site).
Actual behavior: the prompt appears again for each subsequent script. It seems only the current command is recorded, not the site. If the user is away from the machine, the task stalls indefinitely waiting for approval.
Note: per-site rules in Agent permissions (e.g. *.amazon.fr or huggingface.co set to "Always allow" for Browsing/Actions) do not cover script execution, script prompts still appear for those sites.
Suggestion: allow per-site script execution control (e.g. an "Allow scripts" option per site in Agent permissions), so each user can decide which sites may run scripts without being prompted. Typical scenario: start a task (e.g. a multi-step search on a trusted site) and step away from the machine. On return, the task is found to have been stalled for a long time, blocked on a script-approval prompt that could not be answered while away. With per-site script allow-lists, trusted sites could run unattended.
Model and operation involved:
N/A - browser/agent settings only.
This one is fixed on main by #16707, which merged on Nov 14. It adds an "Always allow" choice to the script prompt, an "Always allow" value for the Run scripts setting, and a per-site Scripts rule under Agent permissions, so a trusted site can run scripts unattended. v0.1.917-beta was released before that merge, so the fix will reach you with the next release.
1. "Open links in: Default browser" is ignored
I could not reproduce this on current main (3dd22b6). I ran Studio with a chat that contains a web link and picked each value in Settings > Browser > Open links in:
Open links in
Result when the link is clicked
Default browser
Opens outside Studio, the Unsloth browser panel stays closed
Unsloth browser
Opens in a tab in the Unsloth browser panel
That test ran in a web browser on Windows, not in the Linux desktop app. In the desktop app the "Default browser" path hands the URL to the system opener, so the difference may be on that side. Could you share a few details so this can be narrowed down?
What kind of link did you click: a link in the model's answer, a source or web search result, or something else? Does a right click on the link > "Open in external browser" behave differently from a normal click?
Are you running the AppImage or the .deb?
What does xdg-settings get default-web-browser print?
Does xdg-open https://example.com in a terminal open Brave?
After choosing "Default browser", does the link still open in the Unsloth browser if you restart the app first?
Probably a release issue: I'm using .AppImage build, and #16707 was merged on Nov 14, after my version. I'll confirm once the next release ships, or compile from source if I get around to it.
1. "Open links in: Default browser"
Your answer clarifies a small confusion :
Manual click: when I click a link in a chat myself, default browser does indeed open and that works as expected.
What I meant was the model's autonomous browsing: when I ask model "Go to this site: https://example.com", I expected it to open the page in my system default browser (since I selected "Default browser" in the settings) for example to use extensions or other browser settings, but it always uses the built-in Unsloth browser.
So, is the "Open links in" setting only applied to manual clicks, and the model's browsing always goes through the built-in browser? I may have confused this with tools like new opencode-browse or others, which, through an extension installed in default browser, allows model to control it (tab). If opening default browser from model isn't implemented yet, that would explain everything. In that case, this part could be closed as a feature request rather than a bug.
Answers to your questions:
Link type: a link in the model's answer for example, clicked manually => opens default browser correctly. (The "bug" only concerns model's autonomous browsing)
Build: Currently .AppImage (not .deb).
xdg-settings get default-web-browser => brave-browser.desktop
Fixed! The script prompt only ever offered Allow, so every script on a site asked again. #16707 added Always allow for scripts in Settings > Browser (globally, or per site under Agent permissions with the new Scripts rule), and #17959 adds an Always allow button to the script prompt itself that saves that site's Scripts rule, so later scripts on that site run without asking. On the browser part: "Open links in" only applies to links you click; the model's own browsing always uses the built-in Unsloth browser, since that is the browser it can read and control. Driving your system browser is a feature request we are keeping in mind.
To update: Unsloth Desktop will have an update banner. For Studio, use unsloth studio update. For Docker, use docker exec <container> unsloth-studio-update. Reopen if it still happens.
Activity
debojyoti-dev commentedon Nov 15, 2026
Hi @micisse, I looked into both parts of this.
2. "Run scripts" re-prompts after "Always allow"
This one is fixed on
mainby #16707, which merged on Nov 14. It adds an "Always allow" choice to the script prompt, an "Always allow" value for the Run scripts setting, and a per-site Scripts rule under Agent permissions, so a trusted site can run scripts unattended. v0.1.917-beta was released before that merge, so the fix will reach you with the next release.1. "Open links in: Default browser" is ignored
I could not reproduce this on current
main(3dd22b6). I ran Studio with a chat that contains a web link and picked each value in Settings > Browser > Open links in:That test ran in a web browser on Windows, not in the Linux desktop app. In the desktop app the "Default browser" path hands the URL to the system opener, so the difference may be on that side. Could you share a few details so this can be narrowed down?
xdg-settings get default-web-browserprint?xdg-open https://example.comin a terminal open Brave?cc @danielhanchen @Imagineer99
micisse commentedon Nov 15, 2026
Hi @debojyoti-dev, thanks for the detailed answer. cc @danielhanchen @Imagineer99
2. "Run scripts" re-prompting
Probably a release issue: I'm using
.AppImagebuild, and #16707 was merged on Nov 14, after my version. I'll confirm once the next release ships, or compile from source if I get around to it.1. "Open links in: Default browser"
Your answer clarifies a small confusion :
So, is the "Open links in" setting only applied to manual clicks, and the model's browsing always goes through the built-in browser? I may have confused this with tools like new
opencode-browseor others, which, through an extension installed in default browser, allows model to control it (tab). If opening default browser from model isn't implemented yet, that would explain everything. In that case, this part could be closed as a feature request rather than a bug.Answers to your questions:
.AppImage(not .deb).xdg-settings get default-web-browser=>brave-browser.desktopxdg-open https://example.com=> opens Brave.I don't think this is a problem related to my computer's config
danielhanchen commentedon Nov 16, 2026
Fixed! The script prompt only ever offered Allow, so every script on a site asked again. #16707 added Always allow for scripts in Settings > Browser (globally, or per site under Agent permissions with the new Scripts rule), and #17959 adds an Always allow button to the script prompt itself that saves that site's Scripts rule, so later scripts on that site run without asking. On the browser part: "Open links in" only applies to links you click; the model's own browsing always uses the built-in Unsloth browser, since that is the browser it can read and control. Driving your system browser is a feature request we are keeping in mind.
To update: Unsloth Desktop will have an update banner. For Studio, use
unsloth studio update. For Docker, usedocker exec <container> unsloth-studio-update. Reopen if it still happens.Studio: Always allow on the browser script prompt saves that site's S…