GeezerVison is showing github.com — fix: Codex's live model names ("GPT 6.0 Astra") shorten too · pingdotgg/t3code@9cf74e0
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: packages/client-runtime/src/providerClients.ts +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -19,7 +19,7 @@ export const providerClients = makeProviderClientRegistry([ | 19 | 19 | { | 20 | 20 | driverKind: ProviderDriverKind.make("codex"), | 21 | 21 | label: "Codex", | 22 | | - modelFamilies: ["GPT-"], | | 22 | + modelFamilies: ["GPT-", "GPT "], | 23 | 23 | acpRegistryAgentIds: ["codex-acp"], | 24 | 24 | settingsSchema: CodexSettings, | 25 | 25 | }, | |
Collapse file Copy file name to clipboardExpand all lines: packages/provider-core/src/modelShortName.test.ts +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -6,6 +6,7 @@ describe("modelShortName", () => { | 6 | 6 | it.each([ | 7 | 7 | ["Claude Opus 5.5", ["Claude "], "Opus 5.5"], | 8 | 8 | ["GPT-6.1-Sol", ["GPT-"], "6.1 Sol"], | | 9 | + ["GPT 6.0 Astra", ["GPT-", "GPT "], "6.0 Astra"], | 9 | 10 | ["Grok 4 Pro", [], undefined], | 10 | 11 | ["Claude Opus 5.5", [], "Opus 5.5"], | 11 | 12 | ["NVIDIA: Nemotron 3 Super", [], "Nemotron 3 Super"], | |
Collapse file Copy file name to clipboardExpand all lines: packages/provider-core/src/modelShortName.ts +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | | -const FAMILY_PREFIXES = ["Claude ", "GPT-", "Gemini ", "Muse ", "Grok "] as const; | | 1 | +const FAMILY_PREFIXES = ["Claude ", "GPT-", "GPT ", "Gemini ", "Muse ", "Grok "] as const; | 2 | 2 |
| 3 | 3 | // Words that describe a variant within a family rather than name a model. Off the | 4 | 4 | // family's native provider there is no icon saying which family "4 Pro" belongs to. | |
|