small fixes

This commit is contained in:
2026-02-17 19:44:19 +03:00
parent dd83373689
commit 8c918e4091
2 changed files with 10 additions and 16 deletions

View File

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