import type { GetSessionListVO } from './types'; import { get, post } from '@/utils/request'; // 获取当前用户的模型列表 export function getModelList() { // return get('/system/model/modelList'); return get('/ai-chat/model').json(); } // 申请ApiKey export function applyApiKey() { return post('/token').json(); } // 获取ApiKey export function getApiKey() { return get('/token').json(); }