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
This commit is contained in:
1 parent
7d2e2b381d
commit
576dc73d5f
2 files changed
+3
-1
No files matched your search
@@ -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",
|
||||
|
||||
@@ -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),
|
||||
),
|
||||
],
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user