fix: wrap recall/list responses in {memories: []} and update README

- API recall and list endpoints now return {"memories": [...]} matching
  the format expected by the MCP server
- Rewrote README with comprehensive setup instructions for new agents,
  accurate API reference, migration docs, and multi-user setup guide
This commit is contained in:
Viktor Barzin 2026-03-14 10:39:12 +00:00
parent 8a7239fb77
commit 4c75e9d801
No known key found for this signature in database
GPG key ID: 0EB088298288D958
3 changed files with 181 additions and 107 deletions

View file

@ -144,7 +144,7 @@ async def recall_memories(body: MemoryRecall, user: AuthUser = Depends(get_curre
}
)
return results
return {"memories": results}
@app.get("/api/memories")
@ -191,7 +191,7 @@ async def list_memories(
}
)
return results
return {"memories": results}
@app.delete("/api/memories/{memory_id}")