fix: reset test button to idle state when switching providers (#411)

- Button now shows 'Test' by default instead of persisting 'Verified' state
- Verified status is still shown via green badge in provider header
- Updated OpenAI suggested models list with latest GPT-5.x series
This commit is contained in:
Dayuan Jiang
2025-12-25 19:39:15 +09:00
committed by GitHub
parent 9727aa5b39
commit 44c453403f
2 changed files with 17 additions and 19 deletions

View File

@@ -412,11 +412,7 @@ export function ModelConfigDialog({
setSelectedProviderId(
provider.id,
)
setValidationStatus(
provider.validated
? "success"
: "idle",
)
setValidationStatus("idle")
setShowApiKey(false)
}}
className={cn(