perf: system model list

This commit is contained in:
archer
2023-05-13 14:38:43 +08:00
parent 4ec02c654b
commit 5f66f4523c
12 changed files with 66 additions and 120 deletions

View File

@@ -1,3 +1,6 @@
import { GET, POST, PUT } from './request';
import type { ChatModelItemType } from '@/constants/model';
export const getFilling = () => GET<{ beianText: string }>('/system/getFiling');
export const getSystemModelList = () => GET<ChatModelItemType[]>('/system/getModels');