chore: remove ollama model source

This commit is contained in:
jialin
2025-06-09 18:45:47 +08:00
parent 5ef733729b
commit c896c88c23
2 changed files with 1 additions and 9 deletions
@@ -284,7 +284,7 @@ const SearchModel: React.FC<SearchInputProps> = (props) => {
if (!SUPPORTEDSOURCE.includes(modelSource)) {
return;
}
axiosTokenRef.current?.abort?.();
axiosTokenRef.current?.abort?.('new request');
axiosTokenRef.current = new AbortController();
checkTokenRef.current?.cancel?.();
if (timer.current) {
@@ -342,7 +342,6 @@ const SearchModel: React.FC<SearchInputProps> = (props) => {
};
const handleSearchInputChange = useCallback((e: any) => {
searchInputRef.current = e.target.value;
console.log('change:', searchInputRef.current);
}, []);
const handlerSearchModels = _.debounce(() => handleOnSearchRepo(), 100);