mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-30 20:50:21 +00:00
delayed memory recall
This commit is contained in:
parent
5f4eabdbed
commit
aa648f0f49
8 changed files with 93 additions and 27 deletions
13
python/extensions/monologue_start/_10_memory_init.py
Normal file
13
python/extensions/monologue_start/_10_memory_init.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
from python.helpers.extension import Extension
|
||||
from agent import LoopData
|
||||
from python.helpers import memory
|
||||
import asyncio
|
||||
|
||||
|
||||
class MemoryInit(Extension):
|
||||
|
||||
async def execute(self, loop_data: LoopData = LoopData(), **kwargs):
|
||||
db = await memory.Memory.get(self.agent)
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue