Spaces:
Running
Running
| """ | |
| Memory Router - Thin layer | |
| """ | |
| from fastapi import APIRouter | |
| router = APIRouter() | |
| async def set_memory_consent(user_id: str, consent: bool): | |
| return {"status": "success", "consent": consent} | |
| async def get_memory_facts(uid: str): | |
| return {"user_id": uid, "facts": {}, "count": 0} |