11 lines
309 B
Python
11 lines
309 B
Python
from .base import MemorySkill, SkillResult
|
|
|
|
|
|
class CommitMemorySkill(MemorySkill):
|
|
name = "commit_memory_skill"
|
|
writes_long_term_memory = True
|
|
|
|
async def run(self, payload: dict) -> SkillResult:
|
|
return SkillResult(status="ok", output={"committed": payload}, writes_long_term_memory=True)
|
|
|