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 -5
View File
@@ -79,11 +79,7 @@ const Playground: React.FC = () => {
const getModelList = async () => {
try {
const params = {
embedding_only: false,
image_only: false,
reranker: false,
text_to_speech: false,
speech_to_text: false
categories: ''
};
const res = await queryModelsList(params);
const list = _.map(res.data || [], (item: any) => {