feat: model category

This commit is contained in:
jialin
2024-12-27 19:12:51 +08:00
parent 9f40e2c71e
commit b4e30565d2
16 changed files with 68 additions and 56 deletions
+1 -2
View File
@@ -30,8 +30,7 @@ const PlaygroundEmbedding: React.FC = () => {
const getModelListByEmbedding = async () => {
try {
const params = {
embedding_only: true,
reranker: false
categories: 'embedding'
};
const res = await queryModelsList(params);
const list = _.map(res.data || [], (item: any) => {