doc(chat): comment AUTO_BACKEND_MODEL as the one-line flip point - #619
Merged
Conversation
When peer health improves and the single-model 'auto' router can reliably return real answers on the public mesh, the chat UI's default can flip back to 'auto' by changing exactly one constant. The two-variable split (selectedModelValue for the dropdown, activeModelName for the wire) introduced in PR #615 is already in place specifically so the flip stays a one-line change with no other UI surgery. The comment makes that obvious to a future reader.
Contributor
There was a problem hiding this comment.
Pull request overview
Adds clarifying inline documentation in the chat UI around the AUTO_BACKEND_MODEL = 'mesh' constant as the single “flip point” for routing the dropdown’s “Auto” selection back to the single-model auto router when mesh peer-health/routing work makes that preferable. This aligns with the selectedModelValue (UI) vs activeModelName (wire) split introduced in #615 and does not change runtime behavior.
Changes:
ndizazzo
approved these changes
May 21, 2026
This was referenced May 22, 2026
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.
Tiny follow-up to #615.
Adds a comment near the chat dropdown's
AUTO_BACKEND_MODEL = 'mesh'constant explaining that this is the single switch to flip the chat default back to the single-model 'auto' router when peer-health improvements (see #617 and the general routing work) make that the better default.The two-variable split (selectedModelValue for UI / activeModelName for the wire) we introduced in #615 was designed for exactly this — so the flip really is one line.
No behavior change.