fix: verify same model selected

This commit is contained in:
jialin
2026-02-08 19:44:43 +08:00
parent 379eeedde2
commit 33ce334bd7
6 changed files with 59 additions and 31 deletions
@@ -34,7 +34,6 @@ const SupportedModels = () => {
await form.validateFields(['api_key', ['config', 'type']]);
const currentAPIKey = form.getFieldValue('api_key') || '';
console.log('handleOpenChange', { open, currentAPIKey });
// Avoid repeated requests with the same API key
if (