ai的前置提示词role均调整为system

This commit is contained in:
fofolee committed 2025-04-24 00:20:00 +08:00
1 parent 55516159ba
commit 0d4f49fcf4
2 files changed
+13 -35

No files matched your search

+1 -1
View File
@@ -123,7 +123,7 @@ function buildRequestData(content, apiConfig) {
const roleMessage = rolePrompt
? [
{
role: "user",
role: "system",
content: rolePrompt,
},
]