fix: show required fields for provider
This commit is contained in:
@@ -89,11 +89,7 @@ const ModelItem: React.FC<ModelItemProps> = ({
|
||||
: null,
|
||||
config: {
|
||||
type: form.getFieldValue(['config', 'type']) || '',
|
||||
...customConfig,
|
||||
openaiCustomUrl:
|
||||
customConfig?.openaiCustomUrl ||
|
||||
form.getFieldValue(['config', 'openaiCustomUrl']) ||
|
||||
null
|
||||
...customConfig
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user