automation admin center integrated
This commit is contained in:
parent
837748dac9
commit
22974653a2
1 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
# modeAutomation.py
|
# modeAutomation.py
|
||||||
# Template mode implementation for workflows with predefined action plans
|
# Automation mode implementation for workflows with predefined action plans
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
|
|
@ -14,14 +14,14 @@ from modules.workflows.processing.modes.modeBase import BaseMode
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
class TemplateMode(BaseMode):
|
class AutomationMode(BaseMode):
|
||||||
"""Template mode implementation - executes workflows from predefined plans"""
|
"""Automation mode implementation - executes workflows from predefined plans"""
|
||||||
|
|
||||||
def __init__(self, services, workflow):
|
def __init__(self, services, workflow):
|
||||||
super().__init__(services, workflow)
|
super().__init__(services, workflow)
|
||||||
# Store action lists for each task (mapped by task ID)
|
# Store action lists for each task (mapped by task ID)
|
||||||
self.taskActionMap: Dict[str, List[Dict[str, Any]]] = {}
|
self.taskActionMap: Dict[str, List[Dict[str, Any]]] = {}
|
||||||
logger.info("TemplateMode initialized - will use predefined plan from workflow")
|
logger.info("AutomationMode initialized - will use predefined plan from workflow")
|
||||||
|
|
||||||
async def generateTaskPlan(self, userInput: str, workflow: ChatWorkflow) -> TaskPlan:
|
async def generateTaskPlan(self, userInput: str, workflow: ChatWorkflow) -> TaskPlan:
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue