From 6c49fbfabee65d3138730f5c596242dc5f323cc6 Mon Sep 17 00:00:00 2001
From: Xiaohan-Tian <157918347+Xiaohan-Tian@users.noreply.github.com>
Date: Sun, 5 Apr 2026 22:23:07 -0700
Subject: [PATCH] feat: added model options for GPT-5.4 families; updated
default model to gpt-5.4-mini
---
public/config.json | 2 +-
src/components/settings/sections/GeneralSettings.tsx | 3 +++
src/core/config/ConfigManager.ts | 2 +-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/public/config.json b/public/config.json
index fbfe08c..ef33ba3 100644
--- a/public/config.json
+++ b/public/config.json
@@ -6,7 +6,7 @@
"openai": {
"api_key": "",
"flex": false,
- "model": "gpt-5.2"
+ "model": "gpt-5.4-mini"
},
"gemini": {
"api_key": "",
diff --git a/src/components/settings/sections/GeneralSettings.tsx b/src/components/settings/sections/GeneralSettings.tsx
index 5251e2d..598a6ff 100644
--- a/src/components/settings/sections/GeneralSettings.tsx
+++ b/src/components/settings/sections/GeneralSettings.tsx
@@ -253,6 +253,9 @@ const GeneralSettings: React.FC = () => {
value={openaiModel}
onChange={(e) => handleOpenaiModelChange(e.target.value)}
>
+
+
+
diff --git a/src/core/config/ConfigManager.ts b/src/core/config/ConfigManager.ts
index cc36ce3..62d5cd6 100644
--- a/src/core/config/ConfigManager.ts
+++ b/src/core/config/ConfigManager.ts
@@ -178,7 +178,7 @@ export class ConfigManager {
openai: {
api_key: '',
flex: false,
- model: 'gpt-5.2'
+ model: 'gpt-5.4-mini'
},
gemini: {
api_key: '',