GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: model labels show the name you'd say out loud by flamboh · Pull Request #24205 · pingdotgg/t3code

feat: model labels show the name you'd say out loud #24205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
juliusmarminge merged 28 commits into pingdotgg:main from flamboh:t3/model-short-names
Oct 27, 2026
+267 −182
Merged

feat: model labels show the name you'd say out loud #24205

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
30f89ce
feat: shorten model names by dropping redundant family prefixes
flamboh Oct 23, 2026
cbc4d87
fix: keep derived model short names out of the provider cache
flamboh Oct 23, 2026
019ecb6
fix: space hyphenated short names and keep Grok Build whole
flamboh Oct 23, 2026
808d221
fix: strip vendor prefixes and native-only variant words from model s…
flamboh Oct 23, 2026
5284c7a
fix(web): keep the full model name as the picker's accessible label
flamboh Oct 23, 2026
9dca0cf
fix: treat Cursor as a native provider for Grok models
flamboh Oct 23, 2026
af9fe8d
fix: keep vendor prefixes when the rest names no model
flamboh Oct 23, 2026
ac834b1
fix: keep hyphens in spaced model names and treat Non/Transcribe as v…
flamboh Oct 23, 2026
f0c09d5
feat: show the spoken model name on the composer model button
flamboh Oct 23, 2026
17ece6a
fix(mobile): drop the composer trait suffix before truncating the mod…
flamboh Oct 23, 2026
21d46ae
fix(mobile): re-measure the composer model control when its text changes
flamboh Oct 24, 2026
461d437
fix(mobile): keep agent and session mode in the model control's acces…
flamboh Oct 24, 2026
a082340
chore: merge main into model short names
maria-rcks Oct 26, 2026
6eac980
fix: keep compact model labels unambiguous
maria-rcks Oct 26, 2026
a35c9dd
fix(web): retain full model names in the picker
maria-rcks Oct 26, 2026
89850f3
Merge commit 'dd5b5401e1f240f4314af29edf431369d182f386' into takeover…
maria-rcks Oct 26, 2026
58f5cca
Merge remote-tracking branch 'github/main' into takeover-24205
juliusmarminge Oct 27, 2026
fa80fac
refactor: drivers declare their model families; provider-core derives…
juliusmarminge Oct 27, 2026
e5da41b
refactor: derive model short names on the client from provider client…
juliusmarminge Oct 27, 2026
411947c
fix(web): custom models and the guest composer get derived short names
juliusmarminge Oct 27, 2026
8dd00d1
fix: keep the family on off-native Code models
juliusmarminge Oct 27, 2026
63c9020
refactor: web and mobile share one provider client registry in client…
juliusmarminge Oct 27, 2026
ad785cb
fix(web): guest model label keeps the full name for screen readers
juliusmarminge Oct 27, 2026
50a5eeb
fix: sidebar, handoff and subagent labels use the derived short name
juliusmarminge Oct 27, 2026
ea29efc
fix(web): every trigger label resolves its short name from the driver
juliusmarminge Oct 27, 2026
129245a
refactor(web): drop ModelListRow's unused shortName prop
juliusmarminge Oct 27, 2026
7c223ec
Merge remote-tracking branch 'github/main' into takeover-24205
juliusmarminge Oct 27, 2026
9cf74e0
fix: Codex's live model names ("GPT 6.0 Astra") shorten too
juliusmarminge Oct 27, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Next Next commit
fix: keep hyphens in spaced model names and treat Non/Transcribe as v…
…ariant words
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@flamboh
flamboh committed Oct 26, 2026
commit ac834b160158c46921f386bc179f668d9fe617f4

There are no files selected for viewing

3 changes: 3 additions & 0 deletions 3 apps/server/src/provider/modelShortName.test.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ describe("modelShortName", () => {
["GPT-5.4 Mini", "codex", "5.4 Mini"],
["GPT-6.1 Sol", "opencode", "6.1 Sol"],
["GPT-6.1-Sol", "opencode", "6.1 Sol"],
["Grok 4.1 Fast Non-Reasoning", "opencode", undefined],
["Grok 4.1 Fast Non-Reasoning", "grok", "4.1 Fast Non-Reasoning"],
["GPT-5.3-Codex-Spark", "codex", "5.3 Codex Spark"],
["Grok Build", "grok", "Build"],
["Grok Build", "cursor", "Build"],
["Grok Build", "opencode", undefined],
Expand Down
4 changes: 3 additions & 1 deletion 4 apps/server/src/provider/modelShortName.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ const VARIANT_WORDS = new Set([
"chat",
"tts",
"stt",
"non",
"transcribe",
]);

const VERSION = /^v?\d+(?:\.\d+)*[a-z]?$/i;
Expand All @@ -59,7 +61,7 @@ function withoutFamily(name: string, driver: string): string | undefined {
const named = nonVersionWords(rest);
if (named.length === 0) return undefined;
if (!family.nativeDrivers.includes(driver) && !namesModel(rest)) return undefined;
return rest.replace(/(?<=\S)-(?=\S)/g, " ");
return /\s/.test(rest) ? rest : rest.replaceAll("-", " ");
}

function nonVersionWords(text: string): ReadonlyArray<string> {
Expand Down
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.
You are visitor 01402809 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.