mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-02 14:22:28 +08:00
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:
@@ -412,11 +412,7 @@ export function ModelConfigDialog({
|
||||
setSelectedProviderId(
|
||||
provider.id,
|
||||
)
|
||||
setValidationStatus(
|
||||
provider.validated
|
||||
? "success"
|
||||
: "idle",
|
||||
)
|
||||
setValidationStatus("idle")
|
||||
setShowApiKey(false)
|
||||
}}
|
||||
className={cn(
|
||||
|
||||
Reference in New Issue
Block a user