-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Description
session_date does not work, seems it is reassigned in memory_agent.py run method.
@router.post("/memorize", response_model=MemorizeResponse)
async def memorize_conversation(
request: MemorizeRequest,
background_tasks: BackgroundTasks,
memory_svc: MemoryService = Depends(get_memory_service),
task_svc: TaskService = Depends(get_task_service),
)
memory_agent.py
if not character_name:
return {"success": False, "error": "Character name is required."}
session_date = datetime.now().strftime("%Y-%m-%d")
PS, sometimes memory stored in MD file use wired date, for example, using qwen-max model:
event.md
[de00a6][mentioned at 2025-08-28] 2023年10月5日,xxx
[43325f][mentioned at 2025-08-28] 2023年10月1日,xxx
Metadata
Metadata
Assignees
Labels
No labels