fix: jump to playground from model list

This commit is contained in:
jialin
2024-11-28 21:48:14 +08:00
parent bd418b23dc
commit 51ae3a16bd
16 changed files with 760 additions and 366 deletions
+5 -1
View File
@@ -79,7 +79,11 @@ const Playground: React.FC = () => {
const getModelList = async () => {
try {
const params = {
embedding_only: false
embedding_only: false,
image_only: false,
reranker: false,
text_to_speech: false,
speech_to_text: false
};
const res = await queryModelsList(params);
const list = _.map(res.data || [], (item: any) => {