diff --git a/apps/web/src/appSettings.test.ts b/apps/web/src/appSettings.test.ts index a4a670a400ec095fa5741d19da100dcbe9d8a1d8..5d5509ce102c0e9570e16574c39e040154a491a7 100644 --- a/apps/web/src/appSettings.test.ts +++ b/apps/web/src/appSettings.test.ts @@ -33,6 +33,7 @@ describe("getAppModelOptions", () => { const options = getAppModelOptions("codex", ["custom/internal-model"]); expect(options.map((option) => option.slug)).toEqual([ + "gpt-5.4", "gpt-5.3-codex", "gpt-5.3-codex-spark", "gpt-5.2-codex", diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx index 98bdf636cfc4b7cb33a3d65ff304274b37828e78..3394164d510b22607854ab0bd8bb7c7d1dc312fc 100644 --- a/apps/web/src/components/ChatView.tsx +++ b/apps/web/src/components/ChatView.tsx @@ -5296,7 +5296,8 @@ function getCustomModelOptionsByProvider(settings: { cursor: [ ...cursorFamilyOptions, ...getAppModelOptions("cursor", settings.customCursorModels).filter( - (option) => !cursorFamilyOptions.some((family) => family.slug === option.slug), + (option) => + option.isCustom && !cursorFamilyOptions.some((family) => family.slug === option.slug), ), ], };