-
+
+
+
-
- Signed in to ChatGPT
-
{accountId && (
-
- Account: {accountId}
+
+ Acc: {accountId}
)}
+
Signed in to ChatGPT
-
-
- {/* Model selection */}
-
);
}
- // ─── Unauthenticated ─────────────────────────────────────────────────────
return (
-
-
-
- ChatGPT Plus / Pro
-
-
- Sign in with your OpenAI account to use ChatGPT models directly via
- OAuth — no API key required.
-
-
-
-
-
- Sign in with ChatGPT
-
-
-
-
- A browser window will open for you to authenticate with your OpenAI
- account. Your credentials are stored locally and never shared.
-
-
+
+ Sign in with ChatGPT
+
);
}
diff --git a/electron/servers/nextjs/components/OnBoarding/PresentonMode.tsx b/electron/servers/nextjs/components/OnBoarding/PresentonMode.tsx
index 21784bbc..eea501da 100644
--- a/electron/servers/nextjs/components/OnBoarding/PresentonMode.tsx
+++ b/electron/servers/nextjs/components/OnBoarding/PresentonMode.tsx
@@ -17,6 +17,7 @@ import { usePathname, useRouter } from 'next/navigation';
import { handleSaveLLMConfig } from '@/utils/storeHelpers';
import { checkIfSelectedOllamaModelIsPulled, pullOllamaModel } from '@/utils/providerUtils';
import { getApiUrl } from '@/utils/api';
+import CodexConfig from '../CodexConfig';
const PresentonMode = ({ currentStep, setStep }: { currentStep: number, setStep: (step: number) => void }) => {
const pathname = usePathname();
@@ -467,6 +468,20 @@ const PresentonMode = ({ currentStep, setStep }: { currentStep: number, setStep:
>
)}
>
+ ) : llmConfig.LLM === 'codex' ? (
+
+
+ {
+ const normalizedField = field === 'codex_model' ? 'CODEX_MODEL' : field;
+ setLlmConfig(prev => ({
+ ...prev,
+ [normalizedField]: value
+ }));
+ }}
+ />
+
) : (
<>
@@ -510,7 +525,7 @@ const PresentonMode = ({ currentStep, setStep }: { currentStep: number, setStep:
- {llmConfig.LLM !== 'ollama' && (!modelsChecked || (modelsChecked && availableModels.length === 0)) && (
+ {llmConfig.LLM !== 'ollama' && llmConfig.LLM !== 'codex' && (!modelsChecked || (modelsChecked && availableModels.length === 0)) && (