fix: 去除share

This commit is contained in:
archer
2023-04-08 11:51:51 +08:00
parent e1c7503611
commit 33154a9c19
9 changed files with 10 additions and 44 deletions

View File

@@ -5,8 +5,7 @@ import type { InitChatResponse } from './response/chat';
/**
* 获取一个聊天框的ID
*/
export const getChatSiteId = (modelId: string, isShare = false) =>
GET<string>(`/chat/generate?modelId=${modelId}&isShare=${isShare ? 'true' : 'false'}`);
export const getChatSiteId = (modelId: string) => GET<string>(`/chat/generate?modelId=${modelId}`);
/**
* 获取初始化聊天内容