diff --git a/src/components/providers/forms/CodexConfigSections.tsx b/src/components/providers/forms/CodexConfigSections.tsx index ca2b807..4d0f1c0 100644 --- a/src/components/providers/forms/CodexConfigSections.tsx +++ b/src/components/providers/forms/CodexConfigSections.tsx @@ -35,7 +35,6 @@ export const CodexAuthSection: React.FC = ({ onBlur={onBlur} placeholder={t("codexConfig.authJsonPlaceholder")} rows={6} - required className="w-full px-3 py-2 border border-border-default dark:bg-gray-800 dark:text-gray-100 rounded-lg text-sm font-mono focus:outline-none focus:ring-2 focus:ring-blue-500/20 dark:focus:ring-blue-400/20 transition-colors resize-y min-h-[8rem]" autoComplete="off" autoCorrect="off" diff --git a/src/components/providers/forms/shared/ApiKeySection.tsx b/src/components/providers/forms/shared/ApiKeySection.tsx index 4b41a69..049dce0 100644 --- a/src/components/providers/forms/shared/ApiKeySection.tsx +++ b/src/components/providers/forms/shared/ApiKeySection.tsx @@ -48,7 +48,6 @@ export function ApiKeySection({ label={label} value={value} onChange={onChange} - required={category !== "official"} placeholder={ category === "official" ? finalPlaceholder.official diff --git a/src/config/codexProviderPresets.ts b/src/config/codexProviderPresets.ts index 148cee4..d93ac72 100644 --- a/src/config/codexProviderPresets.ts +++ b/src/config/codexProviderPresets.ts @@ -62,9 +62,7 @@ export const codexProviderPresets: CodexProviderPreset[] = [ websiteUrl: "https://chatgpt.com/codex", isOfficial: true, category: "official", - auth: { - OPENAI_API_KEY: null, - }, + auth: {}, config: ``, theme: { icon: "codex",