moved things to base class

This commit is contained in:
2026-02-28 16:29:24 +08:00
parent c64df2f48a
commit 262d7dd51b
2 changed files with 6 additions and 12 deletions

View File

@@ -7,6 +7,7 @@ from abc import ABC, abstractmethod
class BaseFilesystemBackend(ABC):
backend: Any
config: Any
@abstractmethod
def _build_backend(self):
@@ -21,4 +22,7 @@ class BaseFilesystemBackend(ABC):
def get_deepagent_params(self):
"""extra params to pass into the creation of deepagents"""
return {}
if hasattr(self.config, "rt_skills_dir"):
return {"skills" : [self.config.rt_skills_dir]}
else:
return {}