Add filter
This commit is contained in:
@@ -131,7 +131,7 @@ class PersonaForm(RestrictedFormMixin, forms.ModelForm):
|
||||
class ManipulationForm(RestrictedFormMixin, forms.ModelForm):
|
||||
class Meta:
|
||||
model = Manipulation
|
||||
fields = ("name", "group", "ai", "persona", "enabled", "mode")
|
||||
fields = ("name", "group", "ai", "persona", "enabled", "mode", "filter_enabled")
|
||||
help_texts = {
|
||||
"name": "The name of this manipulation strategy.",
|
||||
"group": "The group involved in this manipulation strategy.",
|
||||
@@ -140,6 +140,7 @@ class ManipulationForm(RestrictedFormMixin, forms.ModelForm):
|
||||
"persona": "The persona used for this manipulation.",
|
||||
"enabled": "Whether this manipulation is enabled.",
|
||||
"mode": "Mode of operation.",
|
||||
"filter_enabled": "Whether incoming messages will be filtered using the persona.",
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user