@devries-cameron20 / t3code Mirror · read-only / commits / 2589176c82
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 25, 10:00 UTC

Add GPT-5.4 to Codex model options

- include `gpt-5.4` in Codex app model option coverage - only keep truly custom Cursor models in the custom model option list

Julius Marminge committed Mar 5, 2026 at 19:51 UTC 2589176c82fdddaa11429d13f38ee987a945566b
2 files changed +3 -1
apps/web/src/appSettings.test.ts
+1
@@ -33,6 +33,7 @@ describe("getAppModelOptions", () => {
33 const options = getAppModelOptions("codex", ["custom/internal-model"]);
34
35 expect(options.map((option) => option.slug)).toEqual([
36 + "gpt-5.4",
37 "gpt-5.3-codex",
38 "gpt-5.3-codex-spark",
39 "gpt-5.2-codex",
apps/web/src/components/ChatView.tsx
+2 -1
@@ -5296,7 +5296,8 @@ function getCustomModelOptionsByProvider(settings: {
5296 cursor: [
5297 ...cursorFamilyOptions,
5298 ...getAppModelOptions("cursor", settings.customCursorModels).filter(
5299 - (option) => !cursorFamilyOptions.some((family) => family.slug === option.slug),
5299 + (option) =>
5300 + option.isCustom && !cursorFamilyOptions.some((family) => family.slug === option.slug),
5301 ),
5302 ],
5303 };