mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-03 05:19:51 +00:00
perf: form format modules
This commit is contained in:
@@ -454,7 +454,7 @@ const ChatTest = ({ appId }: { appId: string }) => {
|
||||
const history = messages.slice(-historyMaxLen - 2, -2);
|
||||
|
||||
// 流请求,获取数据
|
||||
const { responseText, rawSearch } = await streamFetch({
|
||||
const { responseText } = await streamFetch({
|
||||
url: '/api/chat/chatTest',
|
||||
data: {
|
||||
history,
|
||||
@@ -468,7 +468,7 @@ const ChatTest = ({ appId }: { appId: string }) => {
|
||||
abortSignal: controller
|
||||
});
|
||||
|
||||
return { responseText, rawSearch };
|
||||
return { responseText };
|
||||
},
|
||||
[modules, appId, appDetail.name]
|
||||
);
|
||||
|
Reference in New Issue
Block a user