mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-02 12:48:30 +00:00
feat: 替换redis搜索
This commit is contained in:
@@ -137,5 +137,5 @@ export const systemPromptFilter = (prompts: string[], maxTokens: number) => {
|
||||
}
|
||||
}
|
||||
|
||||
return splitText.slice(0, splitText.length - 1);
|
||||
return splitText.slice(0, splitText.length - 1).replace(/\n+/g, '\n');
|
||||
};
|
||||
|
Reference in New Issue
Block a user