= ({
>
- No Models yet!
+ {intl.formatMessage({ id: 'models.table.list.empty' })}
);
- }, [dataSource.length, isFirstLogin, isLoading]);
+ }, [dataSource.length, isFirstLogin, isLoading, intl]);
return (
<>
diff --git a/src/pages/llmodels/components/update-modal.tsx b/src/pages/llmodels/components/update-modal.tsx
index e4cff12c..d06005bb 100644
--- a/src/pages/llmodels/components/update-modal.tsx
+++ b/src/pages/llmodels/components/update-modal.tsx
@@ -566,7 +566,8 @@ const UpdateModal: React.FC = (props) => {
label: 'vox-box',
value: backendOptionsMap.voxBox,
disabled:
- props.data?.source === modelSourceMap.ollama_library_value
+ props.data?.source ===
+ modelSourceMap.ollama_library_value || isGGUF
}
]}
disabled={
diff --git a/src/pages/llmodels/index.tsx b/src/pages/llmodels/index.tsx
index 01e3e2c3..701f4682 100644
--- a/src/pages/llmodels/index.tsx
+++ b/src/pages/llmodels/index.tsx
@@ -19,6 +19,7 @@ import {
queryModelsList
} from './apis';
import TableList from './components/table-list';
+import { backendOptionsMap } from './config';
import { ListItem } from './config/types';
const Models: React.FC = () => {
@@ -266,7 +267,17 @@ const Models: React.FC = () => {
item.name = name;
return item;
});
- setCatalogList(list || []);
+ const deepseekr1dstill = _.toLower('DeepSeek-R1-Distill-Qwen-1.5B');
+ const resultList = list?.filter((item: any) => {
+ return (
+ item.backend === backendOptionsMap.llamaBox &&
+ (_.toLower(item?.huggingface_repo_id)?.indexOf(deepseekr1dstill) >
+ -1 ||
+ _.toLower(item?.model_scope_model_id)?.indexOf(deepseekr1dstill) >
+ -1)
+ );
+ });
+ setCatalogList(resultList || []);
} catch (error) {
// ignore
}
diff --git a/src/pages/playground/components/ground-embedding.tsx b/src/pages/playground/components/ground-embedding.tsx
index 82546929..d2da277a 100644
--- a/src/pages/playground/components/ground-embedding.tsx
+++ b/src/pages/playground/components/ground-embedding.tsx
@@ -9,8 +9,8 @@ import useRequestToken from '@/hooks/use-request-token';
import {
ClearOutlined,
HolderOutlined,
- InfoCircleOutlined,
PlusOutlined,
+ QuestionCircleOutlined,
SendOutlined
} from '@ant-design/icons';
import { useIntl } from '@umijs/max';
@@ -496,7 +496,7 @@ const GroundEmbedding: React.FC = forwardRef((props, ref) => {
{intl.formatMessage({
id: 'playground.input.multiplePaste'
})}
-
+
@@ -607,7 +607,7 @@ const GroundEmbedding: React.FC = forwardRef((props, ref) => {
}
>
-
+
= forwardRef((props, ref) => {
{intl.formatMessage({
id: 'playground.input.multiplePaste'
})}
-
+