fix: update model backend not show

This commit is contained in:
jialin
2024-09-26 14:04:19 +08:00
parent f813f56c1f
commit cc7d2ded6c
14 changed files with 103 additions and 159 deletions
@@ -75,6 +75,12 @@ const AddModal: React.FC<AddModalProps> = (props) => {
};
}, [open]);
useEffect(() => {
if (source === modelSourceMap.ollama_library_value) {
setIsGGUF(true);
}
}, [source]);
return (
<Drawer
title={