Repository navigation
fix(ui): make model picker status and settings clearer - #136779
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed September 3, 2026, 2:57 AM ET / 06:57 UTC. ClawSweeper reviewWhat this changesThe PR makes the web chat model picker show authentication-required models as warnings, moves selection-scope text into accessible trigger metadata, and adds a provider-heading button to open existing Model Setup. Merge readiness✅ Ready for maintainer review Keep open for ordinary maintainer handling. Current main does not contain this UI refinement, the introduced picker path preserves model selection and setup navigation, and no concrete introduced defect was found; the earlier visible-scope concern is explicitly documented as an intentional member-owned product choice. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI chat composer receives the Gateway model catalog and selection policy, renders a model picker, and sends a selected model or navigation action onward. This change affects how users understand unavailable models and reach the existing model-setup screen. flowchart LR
A[Gateway model catalog] --> B[Chat composer]
C[Model selection policy] --> B
B --> D[Model picker]
D --> E[Model change request]
D --> F[Model Setup screen]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +121, Tests +70. Total +191 across 12 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Land the shared picker refinement while retaining current main's later Do we have a high-confidence way to reproduce the issue? Not applicable: this is an intended UI refinement, and focused browser and unit coverage exercise the affected model-selection and setup-navigation paths. Is this the best way to solve the issue? Yes. The change reuses the shared picker and existing Model Setup route instead of introducing provider-specific policy or configuration. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against c5f52cc51e3a. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles)
|
|
Updated visual proof after moving the provider settings action to the far-right edge. The browser regression now verifies the right inset directly. |
|
Updated visual proof for the final picker cleanup:
The recording covers model selection, hover behavior, and the settings navigation flow. |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
ClawSweeper rank-up/merge-risk disposition: intentionally skipping the request to restore an always-visible session/agent/global scope row. This PR implements explicit maintainer product direction to remove both the “Selection target” line and the “Global default” picker chrome. The scope description remains in the model trigger’s accessible name/title, but the visible touch disclosure tradeoff is deliberate and should be resolved as a maintainer product decision rather than by restoring the removed UI in this change. |
|
Merged via squash.
|
* fix(ui): clarify model picker configuration * fix(ui): align model provider settings action * fix(ui): simplify model picker chrome * fix(ui): follow shared cursor policy





What Problem This Solves
Fixes an issue where the chat model picker showed noisy selection-target chrome, mixed ordinary model metadata with the actionable “Sign-in needed” state, and offered no provider-level route to configure the model allowlist.
Why This Change Was Made
The picker now gives authentication failures one warning-only presentation, removes the visible “Selection target” / “Global default” chrome, and reuses the existing Model Setup flow from a small far-right provider settings button. The settings button has no hover tooltip, retains an accessible label, and stays provider-generic. The model trigger retains the selection-scope description in its accessible name/title. No new config surface or provider-specific policy was added.
User Impact
Users can scan unavailable models without competing metadata and open model configuration directly from the relevant provider heading. Model Setup remains the canonical place to add or remove allowed models.
Evidence
pnpm check:changed: passed.openclaw/ci-gate: passed.The latest visual proof and settings-flow recording are in this PR comment.
Review Disposition
ClawSweeper requested an always-visible touch disclosure for session/agent/global selection scope. The maintainer explicitly chose removal of that chrome and accepted the touch-discoverability tradeoff for this change; the disposition is recorded in this PR comment.