fix: set default vllm backend for gguf
This commit is contained in:
@@ -407,6 +407,19 @@ export const useCheckCompatibility = () => {
|
||||
return;
|
||||
}
|
||||
|
||||
if (
|
||||
backendOptionsMap.custom === allValues.backend &&
|
||||
(!allValues.run_command || !allValues.image_name)
|
||||
) {
|
||||
setWarningStatus({
|
||||
show: false,
|
||||
type: 'warning',
|
||||
isHtml: true,
|
||||
message: ''
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
// check gguf: for online and local path
|
||||
if (
|
||||
checkIsGGUFFileOrNotSupport(allValues.local_path, allValues) &&
|
||||
|
||||
Reference in New Issue
Block a user