Skip to content

doc(chat): comment AUTO_BACKEND_MODEL as the one-line flip point - #619

Merged
michaelneale merged 1 commit into
mainfrom
micn/auto-model-flip-comment
May 21, 2026
Merged

doc(chat): comment AUTO_BACKEND_MODEL as the one-line flip point#619
michaelneale merged 1 commit into
mainfrom
micn/auto-model-flip-comment

Conversation

@michaelneale

Copy link
Copy Markdown
Collaborator

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.

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.
Copilot AI review requested due to automatic review settings May 21, 2026 07:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

  • Document that AUTO_BACKEND_MODEL is the one-line switch controlling whether “Auto” routes via MoA ('mesh') or the single-model router ('auto').
  • Add brief context linking the trade-offs back to #615 and #617 for future maintainers.

@michaelneale
michaelneale merged commit e586eb8 into main May 21, 2026
22 checks passed
@michaelneale
michaelneale deleted the micn/auto-model-flip-comment branch May 21, 2026 20:23
michaelneale added a commit that referenced this pull request May 21, 2026
…able-thinking

* origin/main:
  Rebase llama.cpp patch queue for upstream canary (#609)
  doc(chat): flag AUTO_BACKEND_MODEL as the one-line flip point (#619)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants