fix: Replace automation stubs with real execution engine
- Replace automation execute stub with run_automation() from execution_engine.py - Replace agent execute stub with run_agent() from agent_runner.py - Persist automation settings in system_settings.automation_config JSONB - Add migration 0034 for automation_config column - Settings are now saved and loaded from database instead of being ignored
This commit is contained in:
@@ -50,3 +50,6 @@ class SystemSettings(Base, TenantMixin):
|
||||
theme_accent_color: Mapped[str] = mapped_column(String(20), nullable=False, default="#d946ef")
|
||||
theme_font_family: Mapped[str] = mapped_column(String(100), nullable=False, default="Inter")
|
||||
theme_border_radius: Mapped[str] = mapped_column(String(20), nullable=False, default="0.5rem")
|
||||
# Automation plugin settings (JSONB)
|
||||
from sqlalchemy.dialects.postgresql import JSONB
|
||||
automation_config: Mapped[dict | None] = mapped_column(JSONB, nullable=True)
|
||||
|
||||
Reference in New Issue
Block a user