Allow automation as an output mode supported by custom agents

This commit is contained in:
Debanjum Singh Solanky
2024-10-17 11:56:43 -07:00
parent c5e19b37ef
commit 884fe42602
3 changed files with 27 additions and 1 deletions

View File

@@ -174,6 +174,7 @@ class Agent(BaseModel):
# These map to various ConversationCommand types
TEXT = "text"
IMAGE = "image"
AUTOMATION = "automation"
creator = models.ForeignKey(
KhojUser, on_delete=models.CASCADE, default=None, null=True, blank=True