Add filter

This commit is contained in:
2025-05-09 21:01:22 +00:00
parent 52506f86a3
commit 4596381e98
9 changed files with 205 additions and 805 deletions

View File

@@ -249,6 +249,7 @@ class Manipulation(models.Model):
ai = models.ForeignKey(AI, on_delete=models.CASCADE)
persona = models.ForeignKey(Persona, on_delete=models.CASCADE)
enabled = models.BooleanField(default=False)
filter_enabled = models.BooleanField(default=False)
mode = models.CharField(
max_length=50,
choices=[
@@ -256,6 +257,7 @@ class Manipulation(models.Model):
("instant", "Click link to send reply"),
("prospective", "Click link to open page"),
("notify", "Send notification of ideal reply only"),
("mutate", "Change messages sent on XMPP using the persona"),
("silent", "Do not generate or send replies"),
],
blank=True, null=True