fix: custom config overwrite input value

This commit is contained in:
jialin
2026-02-25 10:42:06 +08:00
parent 200d63e5fc
commit 76a3e5cfcf
2 changed files with 5 additions and 5 deletions
@@ -82,9 +82,9 @@ const SupportedModels = () => {
: null,
config: {
type: form.getFieldValue(['config', 'type']) || '',
...customConfig,
openaiCustomUrl:
openaiCustomUrl || customConfig?.openaiCustomUrl || null,
...customConfig
customConfig?.openaiCustomUrl || openaiCustomUrl || null
}
}
});