diff --git a/pkg/third-party/dashscope/dashscope.go b/pkg/third-party/dashscope/dashscope.go index 6343939..c9a76f5 100644 --- a/pkg/third-party/dashscope/dashscope.go +++ b/pkg/third-party/dashscope/dashscope.go @@ -40,7 +40,7 @@ func (d *Dashscope) ProcessText(fromUserName, toUserName, content string) interf Model: "qwen-turbo", Input: Input{ Messages: []Message{ - {Role: "system", Content: "你是一个AI助手,保持回复内容尽量简短"}, + {Role: "system", Content: "你是一个AI助手,尽量保证回复内容在200个字符以内"}, {Role: "user", Content: content}, }, }, diff --git a/pkg/third-party/openai/openai.go b/pkg/third-party/openai/openai.go index 561e33a..e1870ec 100644 --- a/pkg/third-party/openai/openai.go +++ b/pkg/third-party/openai/openai.go @@ -52,7 +52,7 @@ func (openai *OpenAI) ProcessText(fromUserName, toUserName, content string) inte request := openaigo.ChatCompletionRequestBody{ Model: "gpt-3.5-turbo", Messages: []openaigo.ChatMessage{ - {Role: "system", Content: "你是一个AI助手,保持回复内容尽量简短"}, + {Role: "system", Content: "你是一个AI助手,尽量保证回复内容在200个字符以内"}, {Role: "user", Content: content}, }, }