Automatically open webui in browser when running "locally" #12254
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.
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: