mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
修改了一些错误 (#254)
* Update sse.ts 解决chatglm2控制台输出一半不输出的问题 * 解决知识库相似度搜索结果超过1 * Update sse.ts --------- Co-authored-by: Archer <545436317@qq.com>
This commit is contained in:
@@ -44,7 +44,7 @@ export class SSEParseData {
|
||||
data: parseData
|
||||
};
|
||||
} catch (error) {
|
||||
if (typeof item.data === 'string') {
|
||||
if (typeof item.data === 'string' && !item.data.startsWith(": ping")) {
|
||||
this.storeReadData += item.data;
|
||||
} else {
|
||||
this.storeReadData = '';
|
||||
|
Reference in New Issue
Block a user