refactor: remove required constraints and empty API key fields

- Remove 'required' attribute from Codex auth.json textarea
- Remove conditional 'required' logic from API key input field
- Clean up Codex Official preset by removing null OPENAI_API_KEY entry
- Allow more flexible form validation while maintaining backend checks
This commit is contained in:
Jason
2025-10-23 16:04:35 +08:00
parent ae6d16ccae
commit e38ff843e7
3 changed files with 1 additions and 5 deletions

View File

@@ -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",