Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

Add GPT-5.4 to Codex model options

Julius Marminge2589176c82fd
diff --git a/apps/web/src/appSettings.test.ts b/apps/web/src/appSettings.test.ts
index a4a670a40..5d5509ce1 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 98bdf636c..3394164d5 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),
),
],
};