fix(ProviderSDK): clarify instruction for session summary to avoid punctuation marks and special characters

This commit is contained in:
kangfenmao
2024-07-22 10:49:10 +08:00
parent 8b45548b79
commit c1a8198575
+1 -1
View File
@@ -83,7 +83,7 @@ export default class ProviderSDK {
const systemMessage = {
role: 'system',
content: '你是一名擅长会话的助理,你需要将用户的会话总结为 10 个字以内的标题,不要标点符号'
content: '你是一名擅长会话的助理,你需要将用户的会话总结为 10 个字以内的标题,不要使用标点符号和其他特殊符号。'
}
if (this.isAnthropic) {