fix: set default vllm backend for gguf

This commit is contained in:
jialin
2025-11-23 21:08:28 +08:00
parent 5bd0020e49
commit f4ea23dd14
4 changed files with 15 additions and 12 deletions
+13
View File
@@ -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) &&