mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-24 13:53:50 +00:00
8 lines
344 B
TypeScript
8 lines
344 B
TypeScript
import { GET, POST, PUT } from './request';
|
|
import type { ChatModelItemType } from '@/constants/model';
|
|
import type { InitDateResponse } from '@/pages/api/system/getInitData';
|
|
|
|
export const getInitData = () => GET<InitDateResponse>('/system/getInitData');
|
|
|
|
export const getSystemModelList = () => GET<ChatModelItemType[]>('/system/getModels');
|