feat: target channel context history, custom website extraction needs, and categorized main menu

This commit is contained in:
mamad
2026-08-28 22:14:49 +03:30
parent 8ccecfe699
commit 9551ccce71
8 changed files with 350 additions and 73 deletions
+2
View File
@@ -31,6 +31,7 @@ class SourceWebsite:
last_reanalyzed_at: Optional[str] = None
last_fetched_at: Optional[str] = None
api_config: Dict[str, Any] = field(default_factory=dict)
custom_instructions: str = ""
last_error: Optional[str] = None
last_error_at: Optional[str] = None
is_active: bool = True
@@ -54,6 +55,7 @@ class TargetChannel:
auto_source_ids: List[int] = field(default_factory=list)
language: str = "fa"
dispatch_order: str = "order" # "order" (FIFO) or "random"
context_message_count: int = 0
last_post_time: Optional[str] = None
is_active: bool = True
created_at: Optional[str] = None