feat: model file chunk
This commit is contained in:
@@ -62,6 +62,9 @@ const SearchModel: React.FC<SearchInputProps> = (props) => {
|
||||
|
||||
const handleOnSearchRepo = useCallback(
|
||||
async (sortType?: string) => {
|
||||
if (modelSource === modelSourceMap.ollama_library_value) {
|
||||
return;
|
||||
}
|
||||
axiosTokenRef.current?.abort?.();
|
||||
axiosTokenRef.current = new AbortController();
|
||||
if (dataSource.loading) return;
|
||||
|
||||
Reference in New Issue
Block a user