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

@@ -48,7 +48,6 @@ export function ApiKeySection({
label={label}
value={value}
onChange={onChange}
required={category !== "official"}
placeholder={
category === "official"
? finalPlaceholder.official