mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-06 15:20:22 +00:00
chore: update deps
This commit is contained in:
@@ -575,7 +575,7 @@ func llmchat(prompt string, temp int64) (string, error) {
|
||||
return "", errors.New("不支持的AI类型")
|
||||
}
|
||||
|
||||
data, err := x.Request(mod.User(prompt))
|
||||
data, err := x.Request(mod.User(model.NewContentText(prompt)))
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user