This commit is contained in:
bjohnso2 committed 2026-11-20 16:35:19 +00:00
commit 66729f7d08
24 files changed
+907

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
# core/base.py
from abc import ABC, abstractmethod
from typing import List, Dict, Any
class TaskModule(ABC):
MODULE_NAME = ""
DESCRIPTION = ""
TOOLS = [] # Each module defines its tools
@classmethod
def get_tools(cls) -> List[Dict[str, Any]]:
return cls.TOOLS
@classmethod
def execute_tool(cls, tool_name: str, arguments: dict) -> Dict[str, Any]:
raise NotImplementedError("Modules must implement execute_tool()")
@staticmethod
def get_system_prompt_fragment() -> str:
return ""