small fixes
This commit is contained in:
@@ -829,6 +829,7 @@ func _compress(ctx *laniakea.MsgContext, db *laniakea.DatabaseContext) {
|
||||
res, err := api.CompressChat(messages)
|
||||
if err != nil {
|
||||
ctx.Error(err)
|
||||
return
|
||||
}
|
||||
if len(res.Choices) == 0 {
|
||||
ctx.Answer("Не удалось сжать чат")
|
||||
|
||||
Reference in New Issue
Block a user