| author | |
| committer | |
| log | 2589176c82fdddaa11429d13f38ee987a945566b |
| tree | 901f9731978de948b5b0a6cd4a45155be1541ef1 |
| parent | adfd99bdec8dc122df2a28928536630247690b53 |
- include `gpt-5.4` in Codex app model option coverage
- only keep truly custom Cursor models in the custom model option list2 files changed, 3 insertions(+), 1 deletions(-)
apps/web/src/appSettings.test.ts+1| ... | @@ -33,6 +33,7 @@ describe("getAppModelOptions", () => { | ... | @@ -33,6 +33,7 @@ describe("getAppModelOptions", () => { |
| 33 | const options = getAppModelOptions("codex", ["custom/internal-model"]); | 33 | const options = getAppModelOptions("codex", ["custom/internal-model"]); |
| 34 | 34 | ||
| 35 | expect(options.map((option) => option.slug)).toEqual([ | 35 | expect(options.map((option) => option.slug)).toEqual([ |
| 36 | "gpt-5.4", | ||
| 36 | "gpt-5.3-codex", | 37 | "gpt-5.3-codex", |
| 37 | "gpt-5.3-codex-spark", | 38 | "gpt-5.3-codex-spark", |
| 38 | "gpt-5.2-codex", | 39 | "gpt-5.2-codex", |
apps/web/src/components/ChatView.tsx+2-1| ... | @@ -5296,7 +5296,8 @@ function getCustomModelOptionsByProvider(settings: { | ... | @@ -5296,7 +5296,8 @@ function getCustomModelOptionsByProvider(settings: { |
| 5296 | cursor: [ | 5296 | cursor: [ |
| 5297 | ...cursorFamilyOptions, | 5297 | ...cursorFamilyOptions, |
| 5298 | ...getAppModelOptions("cursor", settings.customCursorModels).filter( | 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), | ||
| 5300 | ), | 5301 | ), |
| 5301 | ], | 5302 | ], |
| 5302 | }; | 5303 | }; |