added emote reaction support, better emote support in reactions, implemented llm refusal and retry logic, improved some inline documentation

This commit is contained in:
2025-08-03 22:19:24 -07:00
parent 733a41a35c
commit 834e415f11
5 changed files with 426 additions and 39 deletions

View File

@ -28,3 +28,14 @@ model User {
userFqn String @unique
lastRespondedTo DateTime?
}
model Reaction {
id Int @id @default(autoincrement())
statusId String // The Pleroma status ID we reacted to
emojiName String // The emoji we used to react
reactedAt DateTime @default(now())
createdAt DateTime @default(now())
@@unique([statusId]) // Prevent multiple reactions to same status
@@map("reactions")
}