fix: image editor fit view incorrect, do not query gguf files when gguf unchecked
This commit is contained in:
@@ -128,6 +128,8 @@ const AddModal: React.FC<AddModalProps> = (props) => {
|
||||
'backend_version',
|
||||
'backend_parameters'
|
||||
]);
|
||||
|
||||
// if the backend_parameters is empty, use the defaultSpec.backend_parameters
|
||||
return {
|
||||
...currentData,
|
||||
backend_parameters:
|
||||
|
||||
Reference in New Issue
Block a user