fix: custom config overwrite input value
This commit is contained in:
@@ -82,9 +82,9 @@ const SupportedModels = () => {
|
||||
: null,
|
||||
config: {
|
||||
type: form.getFieldValue(['config', 'type']) || '',
|
||||
...customConfig,
|
||||
openaiCustomUrl:
|
||||
openaiCustomUrl || customConfig?.openaiCustomUrl || null,
|
||||
...customConfig
|
||||
customConfig?.openaiCustomUrl || openaiCustomUrl || null
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user