mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-03 05:19:51 +00:00
v4.4.5-3 (#357)
This commit is contained in:
@@ -24,7 +24,7 @@ export const dispatchAnswer = (props: Record<string, any>): AnswerResponse => {
|
||||
res,
|
||||
event: detail ? sseResponseEventEnum.answer : undefined,
|
||||
data: textAdaptGptResponse({
|
||||
text: text.replace(/\\n/g, '\n')
|
||||
text: text.replace?.(/\\n/g, '\n') || ''
|
||||
})
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user