perf: template

This commit is contained in:
archer
2023-07-18 15:05:45 +08:00
parent a510f96b83
commit 8a25aeabc4
3 changed files with 50 additions and 30 deletions

View File

@@ -110,7 +110,7 @@ export async function chatCompletion({
...(limitPrompt
? [
{
obj: ChatRoleEnum.Human,
obj: ChatRoleEnum.System,
value: limitPrompt
}
]