forked from lxh/go-wxhelper
🐛 修复人设没传进去的BUG
This commit is contained in:
parent
6c2bf3fc9c
commit
500e241f8d
@ -59,12 +59,7 @@ func handleAtMessage(m entity.Message) {
|
||||
context.Background(),
|
||||
openai.ChatCompletionRequest{
|
||||
Model: model,
|
||||
Messages: []openai.ChatCompletionMessage{
|
||||
{
|
||||
Role: openai.ChatMessageRoleUser,
|
||||
Content: m.Content,
|
||||
},
|
||||
},
|
||||
Messages: messages,
|
||||
},
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user