Merge branch 'main' of nix13.pw:ScuroNeko/KurumiBotGo

This commit is contained in:
2026-02-18 14:07:33 +03:00
2 changed files with 10 additions and 16 deletions

View File

@@ -835,6 +835,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("Не удалось сжать чат")