perf: 文案优化

This commit is contained in:
archer
2023-04-06 09:07:07 +08:00
parent 144bed5a77
commit d460305871
8 changed files with 13 additions and 9 deletions

View File

@@ -93,5 +93,5 @@ export const systemPromptFilter = (prompts: string[], maxTokens: number) => {
}
}
return splitText;
return splitText.slice(0, splitText.length - 1);
};