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

@@ -110,7 +110,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
prompts.unshift({
obj: 'SYSTEM',
value: `${model.systemPrompt} 知识库内容是最新的知识库内容为: "${systemPrompt}"`
value: `${model.systemPrompt} 知识库内容是最新的,知识库内容为: "${systemPrompt}"`
});
// 控制在 tokens 数量,防止超出