fix: for gguf ref not be created, #2227

This commit is contained in:
jialin
2025-06-19 15:25:21 +08:00
parent a9b909cca1
commit be92f92991
7 changed files with 58 additions and 42 deletions
@@ -335,7 +335,6 @@ const HFModelFile: React.FC<HFModelFileProps> = forwardRef((props, ref) => {
useEffect(() => {
if (!props.selectedModel.name) {
setDataSource({ fileList: [], loading: false });
handleSelectModelFile({});
}
}, [props.selectedModel?.name]);