Skip to content

fix(ui): remove ClawRouter suffix from model picker labels - #194464

Merged
roboclaw-bot merged 2 commits into
mainfrom
openclaw/marine-langoustine-5
Nov 7, 2026
Merged

roboclaw-bot merged 2 commits into
mainfrom
openclaw/marine-langoustine-5

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Remove redundant trailing via ClawRouter text from ClawRouter model names and aliases in the chat composer and model picker.

The composer consumes catalog-provided display names; it does not construct the suffix. Normalize presentation at the shared display-name owner before alias composition and duplicate-name disambiguation. Preserve the original catalog data, qualified model IDs, provider identity, and routing. Other providers and custom alias text remain unchanged.

Validation

  • Reproduced the visible suffix in the actual browser composer before the fix; the new browser assertion failed on that text.
  • New name/alias regression cases failed before the fix and pass afterward.
  • All 9 scenarios in chat-model-controls.e2e.test.ts pass.
  • All 97 tests across model references, model selection state, model preferences, and model catalog state pass.
  • Scoped UI/core-test typechecks, changed-file lint, formatting, and git diff --check pass.
  • Local autoreview found no actionable P0–P2 findings.

Existing repository-wide failures

check-changed --base HEAD reported existing forbidden changelog thanks attributions in CHANGELOG/records/2026.11.1.md and an unused reportSegments export in extensions/deep-research/browser/report.ts. These files are unchanged; the deep-research file's worktree and base blob hashes match. All other selected gates passed.

Visual proof

Inspected browser captures using the same synthetic catalog fixture and selected model route:

Before

Before: model label includes via ClawRouter

After

After: model label omits via ClawRouter

Worked on by

roboclaw-bot and others added 2 commits November 7, 2026 04:35
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 2166e6cc-db4a-4334-a775-693add0f46d1
@clawsweeper

clawsweeper Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Before → after. The same synthetic catalog fixture and selected route are used in both captures; only redundant ClawRouter attribution is removed from the model label.

Before: model label includes via ClawRouter

After: model label omits via ClawRouter

@roboclaw-bot
roboclaw-bot marked this pull request as ready for review November 7, 2026 04:37
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 7, 2026
@clawsweeper

clawsweeper Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR removes trailing “via ClawRouter” attribution from ClawRouter model labels while preserving model identities and routing.

Example: The composer selects clawrouter/anthropic/claude-opus-5-5.

  • Before: The label reads “Claude Opus 5.5 via ClawRouter”.
  • After: The label reads “Claude Opus 5.5” and retains the same selected route.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Focused presentation change with visible before-and-after proof, targeted regression coverage, a successful exact-head CI gate, and no actionable findings.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected before and after browser screenshots show the changed formatter's output in the actual Chat composer using the same synthetic ClawRouter catalog and selection; the added browser regression also checks picker text and selected qualified identity.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Redundant provider attribution lengthens model labels in the composer and picker.
Reason: The maintainer-authored PR establishes the presentation direction, and the focused implementation preserves model identity and existing alias composition.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR provides a focused display improvement absent from current main, with inspected visual proof and no actionable findings.

Priority: P3
Reviewed head: eaa4fa0fc0c1c548acac3c9513ab376dce429dfb

Before merge

None.

Findings

None.

Agent review details

How this fits together

The shared Control UI model formatter consumes catalog names, aliases, providers, and IDs and supplies display labels to Chat, New session, and Agent settings.

flowchart LR
  A[Gateway model catalog] --> B[Shared display formatter]
  B --> C[Alias composition and disambiguation]
  C --> D[Chat and New session pickers]
  C --> E[Agent settings picker]
  A --> F[Qualified routing values]
Loading

Technical review

Best possible solution:

Keep the narrow normalization in the existing shared display formatter before alias composition and duplicate-name disambiguation.

Do we have a high-confidence way to reproduce the issue?

Current-main source retains trailing attribution, and the supplied before screenshot shows it in the browser composer; no target code was executed during this review.

Is this the best way to solve the issue?

The patch is the smallest complete presentation change: it reuses the existing owner, limits normalization to ClawRouter, and leaves routing and catalog data intact.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against bd3d7a65e1c1.

Provenance checked

  • Catalog model-name and alias presentation changes intended behavior with a stated reason (ef5066b: Preserve canonical model names alongside aliases so users can distinguish models and versions without changing configured values or routing.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit ef5066b adds ui/src/lib/chat/model-ref.ts:205 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: ef5066b3cf03; files: ui/src/lib/chat/model-ref.ts)
  • Vyctor H. Brzezowski: Raw commit 049f494 adds ui/src/e2e/chat-model-controls.e2e.test.ts:5 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 049f4940b9f9; files: ui/src/e2e/chat-model-controls.e2e.test.ts)

PR surface

Source +5, Tests +44. Total +49 across 3 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 7 2 +5
Tests 2 44 0 +44
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 51 2 +49

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P3: This is model-label polish with no change to selection values, configuration, or provider routing.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is model-label polish with no change to selection values, configuration, or provider routing.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 6, 2026, 11:53 PM ET / November 7, 2026, 04:53 UTC.

@roboclaw-bot
roboclaw-bot merged commit 41ad585 into main Nov 7, 2026
166 of 167 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/marine-langoustine-5 branch November 7, 2026 05:40
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

steipete added a commit that referenced this pull request Nov 7, 2026
)

* fix(ci): clear inherited test budget and unused export failures

Reconcile outstanding test-line debt from #194468, #194417, and #194464 with exact per-PR allocations. Shrink the scalar by the 37 test lines removed here so the effective ceiling equals 6559825.

Remove the renderer test-only export introduced by #191935 and the digest helper orphaned by #194456. Route the ingress fixture through the production HTTP owner and retain install/persistence and worker loading proof.

* test(gateway): specify the ingress fixture base path

Supply the required empty controlUiBasePath to the production startup HTTP handler. The UI E2E typecheck passes; runtime behavior and test-line accounting are unchanged.

* test(gateway): close failed ingress responses safely
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 8, 2026
…194464)

* fix(ui): remove ClawRouter suffix from model picker labels

Co-authored-by: vyctorbrzezowski <[email protected]>

* fix(ui): remove ClawRouter suffix from model picker labels

Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 2166e6cc-db4a-4334-a775-693add0f46d1

---------

Co-authored-by: vyctorbrzezowski <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 8, 2026
…claw#194509)

* fix(ci): clear inherited test budget and unused export failures

Reconcile outstanding test-line debt from openclaw#194468, openclaw#194417, and openclaw#194464 with exact per-PR allocations. Shrink the scalar by the 37 test lines removed here so the effective ceiling equals 6559825.

Remove the renderer test-only export introduced by openclaw#191935 and the digest helper orphaned by openclaw#194456. Route the ingress fixture through the production HTTP owner and retain install/persistence and worker loading proof.

* test(gateway): specify the ingress fixture base path

Supply the required empty controlUiBasePath to the production startup HTTP handler. The UI E2E typecheck passes; runtime behavior and test-line accounting are unchanged.

* test(gateway): close failed ingress responses safely
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant