mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00
feat: 账单模块
This commit is contained in:
@@ -152,7 +152,7 @@ const Chat = ({ chatId }: { chatId: string }) => {
|
||||
const resetChat = useCallback(async () => {
|
||||
if (!chatData) return;
|
||||
try {
|
||||
router.push(`/chat?chatId=${await getChatSiteId(chatData.modelId)}`);
|
||||
router.replace(`/chat?chatId=${await getChatSiteId(chatData.modelId)}`);
|
||||
} catch (error: any) {
|
||||
toast({
|
||||
title: error?.message || '生成新对话失败',
|
||||
|
Reference in New Issue
Block a user