revert(dashboard): show raw model ids in the agent picker by duyet · Pull Request #3212 · chmonitor/chmonitor · GitHub
Skip to content

revert(dashboard): show raw model ids in the agent picker - #3212

Merged
duyet merged 1 commit into
mainfrom
revert/friendly-model-names
Aug 21, 2026
Merged

revert(dashboard): show raw model ids in the agent picker#3212
duyet merged 1 commit into
mainfrom
revert/friendly-model-names

Conversation

@duyet

@duyet duyet commented Aug 21, 2026

Copy link
Copy Markdown
Member

Summary

Reverts the friendly-model-name change from #3210: the agent model picker list, option rows, and triggers again show the raw model code id (provider:modelId, font-mono, provider-colored) instead of human-friendly names.

Changes:

  • agent-model-picker.tsxModelOptionRow, toolbar trigger, and panel trigger display provider:modelId; search matches the raw id.
  • agent-model-registry.ts — removed the name field from ModelEntry and all registry entries; parseExtraModels no longer sets it.
  • use-agent-model.ts — static models use the raw id as name.
  • routes/api/v1/agents/models.ts — registry models report name: entry.id (raw).
  • anyrouter-dynamic-models.ts, openrouter-dynamic-models.ts, anyrouter-presets.ts — dynamic/preset entries use the raw model id as name (no catalog friendly names).
  • Tests updated accordingly (registry required-fields, parseExtraModels expectations).

Verification

  • 152 model-related tests pass; tsc --noEmit clean; biome clean on changed files.

Undo the friendly-name change from #3210: the model list, picker rows, and
triggers again show the raw `provider:modelId` code id (font-mono, provider
colored) instead of human-friendly names. The registry `name` field is
removed and dynamic AnyRouter/OpenRouter/preset entries use the raw model id
as their display name.

Co-Authored-By: duyetbot <bot@duyet.net>
@duyet
duyet enabled auto-merge (squash) August 21, 2026 06:50
@github-actions github-actions Bot added the app: dashboard Changes to the apps/dashboard TanStack Start app label Aug 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@duyet
duyet merged commit 69e2999 into main Aug 21, 2026
23 checks passed
@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
apps/dashboard/src/lib/hooks/use-agent-model.ts 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@duyet
duyet deleted the revert/friendly-model-names branch August 21, 2026 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: dashboard Changes to the apps/dashboard TanStack Start app

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant