feat: target channel context history, custom website extraction needs, and categorized main menu
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user