-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically open webui in browser when running "locally" #12254
Conversation
Make disabling it a UI setting rather than commandline arg ("Automatically open browser if running locally", on by default). The condition is crowded. Maybe:
before launch()? |
ok, I will add the setting to the UI but similar to logic to like use we might constantly relaunching webui and it sometimes becomes a nuisance so it is more convenient than this behavior is controllable by a areg as opposed to switching between two configs I didn't put it in UI because I didn't want to duplicate the setting |
I forgot about |
0c43cf1
to
b645381
Compare
if a user wish to disable auto launch regardless of option they can set on the other hand if they wish to trigger Auto launch even when reloading or restarting they can set |
Update
no
--disable-auto-autolaunchDescription
Automatically open webui in system browser when user is running "locally"
if (
--listen
or--share
or--ngrok
) and--disable-auto-autolaunch
is NOT used, automatically open webui in browsernew arg
--disable-auto-autolaunch
for disabling this behaviora ease of use for new users that my mistakenly think thatwebui is not launched
example #12251
--autolaunch
behavior not changed, it will still launch in browser even ifauto autolaunch
it's not triggeredI think the auto autolaunch logic covers most users use case
but ther might be a group of people that launch web UI in normal browser mode with API enabled
but don't want to open in browser as they interact with you are back and primarily through API
that might be annoyed by this, this group of people would need to use
--disable-auto-autolaunch
I assume that this group of user is the minority and are advanced users
Checklist: