mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-02 20:58:12 +00:00
perf: 文案优化
This commit is contained in:
@@ -93,5 +93,5 @@ export const systemPromptFilter = (prompts: string[], maxTokens: number) => {
|
||||
}
|
||||
}
|
||||
|
||||
return splitText;
|
||||
return splitText.slice(0, splitText.length - 1);
|
||||
};
|
||||
|
Reference in New Issue
Block a user