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 — fix: Codex's live model names ("GPT 6.0 Astra") shorten too · pingdotgg/t3code@9cf74e0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages
    • client-runtime/src
      • providerClients.ts
    • provider-core/src
      • modelShortName.test.ts
      • modelShortName.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/client-runtime/src/providerClients.ts‎

Copy file name to clipboardExpand all lines: packages/client-runtime/src/providerClients.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const providerClients = makeProviderClientRegistry([
1919
{
2020
driverKind: ProviderDriverKind.make("codex"),
2121
label: "Codex",
22-
modelFamilies: ["GPT-"],
22+
modelFamilies: ["GPT-", "GPT "],
2323
acpRegistryAgentIds: ["codex-acp"],
2424
settingsSchema: CodexSettings,
2525
},
Collapse file

‎packages/provider-core/src/modelShortName.test.ts‎

Copy file name to clipboardExpand all lines: packages/provider-core/src/modelShortName.test.ts
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ describe("modelShortName", () => {
66
it.each([
77
["Claude Opus 5.5", ["Claude "], "Opus 5.5"],
88
["GPT-6.1-Sol", ["GPT-"], "6.1 Sol"],
9+
["GPT 6.0 Astra", ["GPT-", "GPT "], "6.0 Astra"],
910
["Grok 4 Pro", [], undefined],
1011
["Claude Opus 5.5", [], "Opus 5.5"],
1112
["NVIDIA: Nemotron 3 Super", [], "Nemotron 3 Super"],
Collapse file

‎packages/provider-core/src/modelShortName.ts‎

Copy file name to clipboardExpand all lines: packages/provider-core/src/modelShortName.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const FAMILY_PREFIXES = ["Claude ", "GPT-", "Gemini ", "Muse ", "Grok "] as const;
1+
const FAMILY_PREFIXES = ["Claude ", "GPT-", "GPT ", "Gemini ", "Muse ", "Grok "] as const;
22

33
// Words that describe a variant within a family rather than name a model. Off the
44
// family's native provider there is no icon saying which family "4 Pro" belongs to.

0 commit comments

Comments
0 (0)
You are visitor 01402792 — 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.